X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..efa1e6592fb03ce23b15276b2b91d885a3ee7da5:/icuSources/i18n/quant.h?ds=sidebyside diff --git a/icuSources/i18n/quant.h b/icuSources/i18n/quant.h index c627e08e..f84c4313 100644 --- a/icuSources/i18n/quant.h +++ b/icuSources/i18n/quant.h @@ -1,10 +1,12 @@ /* -* Copyright (C) 2001, International Business Machines Corporation and others. All Rights Reserved. -********************************************************************** -* Date Name Description -* 07/26/01 aliu Creation. -********************************************************************** -*/ + ********************************************************************** + * Copyright (C) 2001-2011, International Business Machines Corporation + * and others. All Rights Reserved. + ********************************************************************** + * Date Name Description + * 07/26/01 aliu Creation. + ********************************************************************** + */ #ifndef QUANT_H #define QUANT_H @@ -98,33 +100,21 @@ class Quantifier : public UnicodeFunctor, public UnicodeMatcher { /** * ICU "poor man's RTTI", returns a UClassID for the actual class. - * - * @draft ICU 2.2 */ - virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); } + virtual UClassID getDynamicClassID() const; /** * ICU "poor man's RTTI", returns a UClassID for this class. - * - * @draft ICU 2.2 */ - static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; } + static UClassID U_EXPORT2 getStaticClassID(); private: - static void appendNumber(UnicodeString& result, int32_t n); - UnicodeFunctor* matcher; // owned uint32_t minCount; uint32_t maxCount; - - /** - * The address of this static class variable serves as this class's ID - * for ICU "poor man's RTTI". - */ - static const char fgClassID; }; U_NAMESPACE_END