UnicodeFunctor
Concrete subclasses of UnicodeFunctor should use the macro 95 * UOBJECT_DEFINE_RTTI_IMPLEMENTATION from uobject.h to 96 * provide definitions getStaticClassID and getDynamicClassID. 97 * 98 * @return The class ID for this object. All objects of a given 99 * class have the same class ID. Objects of other classes have 100 * different class IDs. 101 * @stable ICU 2.4 102 */ 103 virtual UClassID getDynamicClassID(void) const override = 0; 104 105 /** 106 * Set the data object associated with this functor. The data 107 * object provides context for functor-to-standin mapping. This 108 * method is required when assigning a functor to a different data 109 * object. This function MAY GO AWAY later if the architecture is 110 * changed to pass data object pointers through the API. 111 * @internal ICU 2.1 112 */ 113 virtual void setData(const TransliterationRuleData*) = 0; 114 115 protected: 116 117 /** 118 * Since this class has pure virtual functions, 119 * a constructor can't be used. 120 * @stable ICU 2.0 121 */ 122 /*UnicodeFunctor();*/ 123 124 }; 125 126 /*inline UnicodeFunctor::UnicodeFunctor() {}*/ 127 128 U_NAMESPACE_END 129 130 #endif /* U_SHOW_CPLUSPLUS_API */ 131 132 #endif