]> git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/collationcompare.h
ICU-62141.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / collationcompare.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 *******************************************************************************
5 * Copyright (C) 1996-2014, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * collationcompare.h
9 *
10 * created on: 2012feb14 with new and old collation code
11 * created by: Markus W. Scherer
12 */
13
14 #ifndef __COLLATIONCOMPARE_H__
15 #define __COLLATIONCOMPARE_H__
16
17 #include "unicode/utypes.h"
18
19 #if !UCONFIG_NO_COLLATION
20
21 #include "unicode/ucol.h"
22
23 U_NAMESPACE_BEGIN
24
25 class CollationIterator;
26 struct CollationSettings;
27
28 class U_I18N_API CollationCompare /* not : public UObject because all methods are static */ {
29 public:
30 static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
31 const CollationSettings &settings,
32 UErrorCode &errorCode);
33 };
34
35 U_NAMESPACE_END
36
37 #endif // !UCONFIG_NO_COLLATION
38 #endif // __COLLATIONCOMPARE_H__