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