X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..9f1b115531acc2f3640893f76e8bcf6680033062:/icuSources/common/unicode/unifilt.h diff --git a/icuSources/common/unicode/unifilt.h b/icuSources/common/unicode/unifilt.h index 694a7bd0..4e3f71fc 100644 --- a/icuSources/common/unicode/unifilt.h +++ b/icuSources/common/unicode/unifilt.h @@ -1,5 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* -* Copyright (C) 1999-2004, International Business Machines Corporation and others. +********************************************************************** +* Copyright (C) 1999-2010, International Business Machines Corporation and others. * All Rights Reserved. ********************************************************************** * Date Name Description @@ -12,6 +15,12 @@ #include "unicode/unifunct.h" #include "unicode/unimatch.h" +/** + * \file + * \brief C++ API: Unicode Filter + */ + +#if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN /** @@ -20,11 +29,12 @@ U_NAMESPACE_BEGIN * characters outside the range contextStart..contextLimit-1. This * allows explicit matching by rules and UnicodeSets of text outside a * defined range. - * @draft ICU 3.0 + * @stable ICU 3.0 */ -#define U_ETHER ((UChar)0xFFFF) +#define U_ETHER ((char16_t)0xFFFF) /** + * * UnicodeFilter defines a protocol for selecting a * subset of the full range (U+0000 to U+10FFFF) of Unicode characters. * Currently, filters are used in conjunction with classes like {@link @@ -89,13 +99,6 @@ public: */ virtual void setData(const TransliterationRuleData*); - /** - * ICU "poor man's RTTI", returns a UClassID for the actual class. - * - * @stable ICU 2.2 - */ - virtual UClassID getDynamicClassID() const = 0; - /** * ICU "poor man's RTTI", returns a UClassID for this class. * @@ -116,5 +119,6 @@ protected: /*inline UnicodeFilter::UnicodeFilter() {}*/ U_NAMESPACE_END +#endif // U_SHOW_CPLUSPLUS_API #endif