]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/unifilt.h
ICU-59173.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / unifilt.h
index 694a7bd0138e4a3cdc9c7a5a30d0707e12e9618b..4e3f71fc9beac5e6942d12f03f80be2becb893d5 100644 (file)
@@ -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
 #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)
 
 /**
+ *
  * <code>UnicodeFilter</code> 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