+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
-* Copyright (c) 2001, International Business Machines
+* Copyright (c) 2001-2007, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* A transliterator that removes text.
* @author Alan Liu
*/
-class U_I18N_API RemoveTransliterator : public Transliterator {
+class RemoveTransliterator : public Transliterator {
public:
* Transliterator API.
* @return A copy of the object.
*/
- Transliterator* clone(void) const;
+ virtual Transliterator* clone(void) const;
/**
* Implements {@link Transliterator#handleTransliterate}.
/**
* 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; }
+ U_I18N_API static UClassID U_EXPORT2 getStaticClassID();
- private:
-
- /**
- * Factory method
- */
- static Transliterator* _create(const UnicodeString& ID, Token context);
-
- /**
- * 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