mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5575 Use ICU C++ namespace for ICU classes, and other updates.
X-SVN-Rev: 22324
This commit is contained in:
parent
50b14d2beb
commit
d1a120a97c
2 changed files with 6 additions and 5 deletions
|
@ -80,11 +80,8 @@
|
|||
#define _UTF32LEData _UTF32LEData_3_8
|
||||
#define _UTF7Data _UTF7Data_3_8
|
||||
#define _UTF8Data _UTF8Data_3_8
|
||||
#define _fini _fini_3_8
|
||||
#define _init _init_3_8
|
||||
#define cmemory_cleanup cmemory_cleanup_3_8
|
||||
#define cmemory_inUse cmemory_inUse_3_8
|
||||
#define compareDates compareDates_3_8
|
||||
#define le_close le_close_3_8
|
||||
#define le_create le_create_3_8
|
||||
#define le_getCharIndices le_getCharIndices_3_8
|
||||
|
@ -1693,6 +1690,7 @@
|
|||
#define TrieWordDictionary TrieWordDictionary_3_8
|
||||
#define TrimmedArrayProcessor TrimmedArrayProcessor_3_8
|
||||
#define UCharCharacterIterator UCharCharacterIterator_3_8
|
||||
#define ULocRuns ULocRuns_3_8
|
||||
#define UMemory UMemory_3_8
|
||||
#define UObject UObject_3_8
|
||||
#define URegularExpression URegularExpression_3_8
|
||||
|
|
|
@ -207,6 +207,7 @@ pl_addValueRun(pl_valueRuns *valueRuns,
|
|||
return vr->add(value, limit);
|
||||
}
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
class ULocRuns : public LocaleRuns
|
||||
{
|
||||
public:
|
||||
|
@ -291,14 +292,14 @@ public:
|
|||
*
|
||||
* @draft ICU 3.8
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
static inline UClassID getStaticClassID();
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 3.8
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
virtual inline UClassID getDynamicClassID() const;
|
||||
|
||||
protected:
|
||||
virtual void init(le_int32 capacity);
|
||||
|
@ -410,6 +411,8 @@ const char *ULocRuns::getLocaleName(le_int32 run) const
|
|||
|
||||
return fLocaleNames[run];
|
||||
}
|
||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ULocRuns)
|
||||
U_NAMESPACE_END
|
||||
|
||||
U_CAPI pl_localeRuns * U_EXPORT2
|
||||
pl_openLocaleRuns(const char **locales,
|
||||
|
|
Loading…
Add table
Reference in a new issue