+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
-* Copyright (c) 2002, International Business Machines Corporation
+* Copyright (c) 2002-2011, International Business Machines Corporation
* and others. All Rights Reserved.
**********************************************************************
* Date Name Description
**********************************************************************
*/
+#ifndef FUNCREPL_H
+#define FUNCREPL_H
+
#include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION
* UnicodeReplacer object. That is, this replacer wraps another
* replacer with a transliterator.
*
- * Added U_I18N_API to make the definition of a global operator delete work.
- * See Jitterbug 2581. markus 2002dec17
- *
* @author Alan Liu
*/
-class U_I18N_API FunctionReplacer : public UnicodeFunctor, public UnicodeReplacer {
+class FunctionReplacer : public UnicodeFunctor, public UnicodeReplacer {
private:
*/
UnicodeFunctor* replacer;
- /**
- * The address of this static class variable serves as this class's ID
- * for ICU "poor man's RTTI".
- */
- static const char fgClassID;
-
public:
/**
/**
* 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();
};
U_NAMESPACE_END
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
+#endif
//eof