2 * Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _ICU_NUMERIC_DATA_H
6 #define _ICU_NUMERIC_DATA_H
9 #include "ICULocaleconvData.h"
10 #include "LocaleBackend.h"
17 class ICUNumericData
: public ICULocaleconvData
{
18 typedef ICULocaleconvData inherited
;
21 ICUNumericData(pthread_key_t tlsKey
,
22 struct lconv
& localeConv
);
24 void Initialize(LocaleNumericDataBridge
* dataBridge
);
26 virtual status_t
SetTo(const Locale
& locale
,
27 const char* posixLocaleName
);
28 virtual status_t
SetToPosix();
30 virtual const char* GetLanginfo(int index
);
33 char fDecimalPoint
[skLCBufSize
];
34 char fThousandsSep
[skLCBufSize
];
35 char fGrouping
[skLCBufSize
];
37 struct lconv
& fLocaleConv
;
38 LocaleNumericDataBridge
* fDataBridge
;
42 } // namespace Libroot
43 } // namespace BPrivate
46 #endif // _ICU_NUMERIC_DATA_H