+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
-*****************************************************************
-* Copyright (c) 2002-2004, International Business Machines Corporation
+***********************************************************************
+* Copyright (c) 2002-2007, International Business Machines Corporation
* and others. All Rights Reserved.
-*****************************************************************
+***********************************************************************
* Date Name Description
* 06/06/2002 aliu Creation.
-*****************************************************************
+***********************************************************************
*/
#ifndef _ANYTRANS_H_
#define _ANYTRANS_H_
*
* @author Alan Liu
*/
-class U_I18N_API AnyTransliterator : public Transliterator {
+class AnyTransliterator : public Transliterator {
/**
* Cache mapping UScriptCode values to Transliterator*.
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
- *
- * @draft ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
- *
- * @draft ICU 2.2
*/
- static UClassID U_EXPORT2 getStaticClassID();
+ U_I18N_API static UClassID U_EXPORT2 getStaticClassID();
private:
static void registerIDs();
friend class Transliterator; // for registerIDs()
-
- /**
- * Return the script code for a given name, or
- * USCRIPT_INVALID_CODE if not found.
- */
- static UScriptCode scriptNameToCode(const UnicodeString& name);
};
U_NAMESPACE_END