]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/collationroot.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
5 * Copyright (C) 2012-2014, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * created on: 2012dec17
11 * created by: Markus W. Scherer
14 #ifndef __COLLATIONROOT_H__
15 #define __COLLATIONROOT_H__
17 #include "unicode/utypes.h"
19 #if !UCONFIG_NO_COLLATION
23 struct CollationCacheEntry
;
25 struct CollationSettings
;
26 struct CollationTailoring
;
29 * Collation root provider.
31 class U_I18N_API CollationRoot
{ // purely static
33 static const CollationCacheEntry
*getRootCacheEntry(UErrorCode
&errorCode
);
34 static const CollationTailoring
*getRoot(UErrorCode
&errorCode
);
35 static const CollationData
*getData(UErrorCode
&errorCode
);
36 static const CollationSettings
*getSettings(UErrorCode
&errorCode
);
39 static void U_CALLCONV
load(UErrorCode
&errorCode
);
44 #endif // !UCONFIG_NO_COLLATION
45 #endif // __COLLATIONROOT_H__