]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/collationroot.h
2 *******************************************************************************
3 * Copyright (C) 2012-2014, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
8 * created on: 2012dec17
9 * created by: Markus W. Scherer
12 #ifndef __COLLATIONROOT_H__
13 #define __COLLATIONROOT_H__
15 #include "unicode/utypes.h"
17 #if !UCONFIG_NO_COLLATION
21 struct CollationCacheEntry
;
23 struct CollationSettings
;
24 struct CollationTailoring
;
27 * Collation root provider.
29 class U_I18N_API CollationRoot
{ // purely static
31 static const CollationCacheEntry
*getRootCacheEntry(UErrorCode
&errorCode
);
32 static const CollationTailoring
*getRoot(UErrorCode
&errorCode
);
33 static const CollationData
*getData(UErrorCode
&errorCode
);
34 static const CollationSettings
*getSettings(UErrorCode
&errorCode
);
37 static void load(UErrorCode
&errorCode
);
42 #endif // !UCONFIG_NO_COLLATION
43 #endif // __COLLATIONROOT_H__