Home | History | Annotate | Download | only in i18n
      1 /*
      2 *******************************************************************************
      3 * Copyright (C) 1996-2014, International Business Machines
      4 * Corporation and others.  All Rights Reserved.
      5 *******************************************************************************
      6 * collationcompare.h
      7 *
      8 * created on: 2012feb14 with new and old collation code
      9 * created by: Markus W. Scherer
     10 */
     11 
     12 #ifndef __COLLATIONCOMPARE_H__
     13 #define __COLLATIONCOMPARE_H__
     14 
     15 #include "unicode/utypes.h"
     16 
     17 #if !UCONFIG_NO_COLLATION
     18 
     19 #include "unicode/ucol.h"
     20 
     21 U_NAMESPACE_BEGIN
     22 
     23 class CollationIterator;
     24 struct CollationSettings;
     25 
     26 class U_I18N_API CollationCompare /* not : public UObject because all methods are static */ {
     27 public:
     28     static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
     29                                                   const CollationSettings &settings,
     30                                                   UErrorCode &errorCode);
     31 };
     32 
     33 U_NAMESPACE_END
     34 
     35 #endif  // !UCONFIG_NO_COLLATION
     36 #endif  // __COLLATIONCOMPARE_H__
     37