ICU-3348 change @draft ICU 2.2 and earlier to @stable

X-SVN-Rev: 13742
This commit is contained in:
Markus Scherer 2003-11-18 02:37:24 +00:00
parent 92a85abb11
commit eb3d7a8d9c
29 changed files with 130 additions and 125 deletions

View File

@ -123,14 +123,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;

View File

@ -646,14 +646,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;

View File

@ -300,7 +300,7 @@ public:
* "mode" normalization form.
*
* @see quickCheck
* @draft ICU 2.2
* @stable ICU 2.2
*/
static inline UBool
isNormalized(const UnicodeString &src, UNormalizationMode mode, UErrorCode &errorCode);
@ -420,7 +420,7 @@ public:
* @see u_strCompare
* @see u_strCaseCompare
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static inline int32_t
compare(const UnicodeString &s1, const UnicodeString &s2,
@ -694,14 +694,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
* @returns a UClassID for this class.
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
* @return a UClassID for the actual class.
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;

View File

@ -147,14 +147,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;

View File

@ -118,7 +118,7 @@ public:
/** Default constructor. Creates an empty shell of an iterator, with no
* rules or text to iterate over. Object can subsequently be assigned to.
* @draft ICU 2.2
* @stable ICU 2.2
*/
RuleBasedBreakIterator();
@ -136,7 +136,7 @@ public:
* @param parseError In the event of a syntax error in the rules, provides the location
* within the rules of the problem.
* @param status Information on any errors encountered.
* @draft ICU 2.2
* @stable ICU 2.2
*/
RuleBasedBreakIterator( const UnicodeString &rules,
UParseError &parseError,
@ -343,7 +343,7 @@ public:
* returned break position.
*
* @see UWordBreak
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual int32_t getRuleStatus() const;

View File

@ -443,14 +443,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -197,8 +197,9 @@ typedef enum UBreakIteratorType {
* Title Case breaks
* The iterator created using this type locates title boundaries as described for
* Unicode 3.2 only. For Unicode 4.0 and above title boundary iteration,
* please use Word Boundary iterator. @draft ICU 2.2
* please use Word Boundary iterator.
*
* @deprecated ICU 2.8 Use the word break iterator for titlecasing for Unicode 4 and later.
*/
UBRK_TITLE
} UBreakIteratorType;
@ -215,7 +216,7 @@ typedef enum UBreakIteratorType {
* word, to allow for further subdivisions of a category in future releases.
* Applications should check for tag values falling within the range, rather
* than for single individual values.
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UWordBreak {
/** Tag value for "words" that do not fit into any of other categories.
@ -325,7 +326,7 @@ ubrk_open(UBreakIteratorType type,
* @param status A UErrorCode to receive any errors.
* @return A UBreakIterator for the specified rules.
* @see ubrk_open
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI UBreakIterator* U_EXPORT2
ubrk_openRules(const UChar *rules,
@ -515,7 +516,7 @@ ubrk_isBoundary(UBreakIterator *bi, int32_t offset);
* status, a default value of 0 is returned.
* <p>
* For word break iterators, the possible values are defined in enum UWordBreak.
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
ubrk_getRuleStatus(UBreakIterator *bi);

View File

@ -290,45 +290,45 @@ typedef enum UProperty {
UCHAR_BINARY_LIMIT,
/** Enumerated property Bidi_Class.
Same as u_charDirection, returns UCharDirection values. @draft ICU 2.2 */
Same as u_charDirection, returns UCharDirection values. @stable ICU 2.2 */
UCHAR_BIDI_CLASS=0x1000,
/** First constant for enumerated/integer Unicode properties. @draft ICU 2.2 */
/** First constant for enumerated/integer Unicode properties. @stable ICU 2.2 */
UCHAR_INT_START=UCHAR_BIDI_CLASS,
/** Enumerated property Block.
Same as ublock_getCode, returns UBlockCode values. @draft ICU 2.2 */
Same as ublock_getCode, returns UBlockCode values. @stable ICU 2.2 */
UCHAR_BLOCK,
/** Enumerated property Canonical_Combining_Class.
Same as u_getCombiningClass, returns 8-bit numeric values. @draft ICU 2.2 */
Same as u_getCombiningClass, returns 8-bit numeric values. @stable ICU 2.2 */
UCHAR_CANONICAL_COMBINING_CLASS,
/** Enumerated property Decomposition_Type.
Returns UDecompositionType values. @draft ICU 2.2 */
Returns UDecompositionType values. @stable ICU 2.2 */
UCHAR_DECOMPOSITION_TYPE,
/** Enumerated property East_Asian_Width.
See http://www.unicode.org/reports/tr11/
Returns UEastAsianWidth values. @draft ICU 2.2 */
Returns UEastAsianWidth values. @stable ICU 2.2 */
UCHAR_EAST_ASIAN_WIDTH,
/** Enumerated property General_Category.
Same as u_charType, returns UCharCategory values. @draft ICU 2.2 */
Same as u_charType, returns UCharCategory values. @stable ICU 2.2 */
UCHAR_GENERAL_CATEGORY,
/** Enumerated property Joining_Group.
Returns UJoiningGroup values. @draft ICU 2.2 */
Returns UJoiningGroup values. @stable ICU 2.2 */
UCHAR_JOINING_GROUP,
/** Enumerated property Joining_Type.
Returns UJoiningType values. @draft ICU 2.2 */
Returns UJoiningType values. @stable ICU 2.2 */
UCHAR_JOINING_TYPE,
/** Enumerated property Line_Break.
Returns ULineBreak values. @draft ICU 2.2 */
Returns ULineBreak values. @stable ICU 2.2 */
UCHAR_LINE_BREAK,
/** Enumerated property Numeric_Type.
Returns UNumericType values. @draft ICU 2.2 */
Returns UNumericType values. @stable ICU 2.2 */
UCHAR_NUMERIC_TYPE,
/** Enumerated property Script.
Same as uscript_getScript, returns UScriptCode values. @draft ICU 2.2 */
Same as uscript_getScript, returns UScriptCode values. @stable ICU 2.2 */
UCHAR_SCRIPT,
/** Enumerated property Hangul_Syllable_Type, new in Unicode 4.
Returns UHangulSyllableType values. @draft ICU 2.6 */
UCHAR_HANGUL_SYLLABLE_TYPE,
/** One more than the last constant for enumerated/integer Unicode properties. @draft ICU 2.2 */
/** One more than the last constant for enumerated/integer Unicode properties. @stable ICU 2.2 */
UCHAR_INT_LIMIT,
/** Bitmask property General_Category_Mask.
@ -953,33 +953,33 @@ enum UBlockCode {
/* New blocks in Unicode 3.2 */
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_CYRILLIC_SUPPLEMENTARY = 97, /*[0500]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_TAGALOG = 98, /*[1700]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_HANUNOO = 99, /*[1720]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_BUHID = 100, /*[1740]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_TAGBANWA = 101, /*[1760]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A = 102, /*[27C0]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_SUPPLEMENTAL_ARROWS_A = 103, /*[27F0]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_SUPPLEMENTAL_ARROWS_B = 104, /*[2900]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B = 105, /*[2980]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_SUPPLEMENTAL_MATHEMATICAL_OPERATORS = 106, /*[2A00]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_KATAKANA_PHONETIC_EXTENSIONS = 107, /*[31F0]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_VARIATION_SELECTORS = 108, /*[FE00]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_A = 109, /*[F0000]*/
/** @draft ICU 2.2 */
/** @stable ICU 2.2 */
UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_B = 110, /*[100000]*/
/* New blocks in Unicode 4 */
@ -1030,7 +1030,7 @@ typedef enum UBlockCode UBlockCode;
*
* @see UCHAR_EAST_ASIAN_WIDTH
* @see u_getIntPropertyValue
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UEastAsianWidth {
U_EA_NEUTRAL, /*[N]*/ /*See note !!*/
@ -1087,7 +1087,7 @@ typedef enum UPropertyNameChoice {
* Decomposition Type constants.
*
* @see UCHAR_DECOMPOSITION_TYPE
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UDecompositionType {
U_DT_NONE, /*[none]*/ /*See note !!*/
@ -1115,7 +1115,7 @@ typedef enum UDecompositionType {
* Joining Type constants.
*
* @see UCHAR_JOINING_TYPE
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UJoiningType {
U_JT_NON_JOINING, /*[U]*/ /*See note !!*/
@ -1131,7 +1131,7 @@ typedef enum UJoiningType {
* Joining Group constants.
*
* @see UCHAR_JOINING_GROUP
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UJoiningGroup {
U_JG_NO_JOINING_GROUP,
@ -1195,7 +1195,7 @@ typedef enum UJoiningGroup {
* Line Break constants.
*
* @see UCHAR_LINE_BREAK
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum ULineBreak {
U_LB_UNKNOWN, /*[XX]*/ /*See note !!*/
@ -1236,7 +1236,7 @@ typedef enum ULineBreak {
* Numeric Type constants.
*
* @see UCHAR_NUMERIC_TYPE
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UNumericType {
U_NT_NONE, /*[None]*/ /*See note !!*/
@ -1392,7 +1392,7 @@ u_isUWhiteSpace(UChar32 c);
* @see u_getIntPropertyMinValue
* @see u_getIntPropertyMaxValue
* @see u_getUnicodeVersion
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_getIntPropertyValue(UChar32 c, UProperty which);
@ -1413,7 +1413,7 @@ u_getIntPropertyValue(UChar32 c, UProperty which);
* @see u_getUnicodeVersion
* @see u_getIntPropertyMaxValue
* @see u_getIntPropertyValue
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_getIntPropertyMinValue(UProperty which);
@ -1442,7 +1442,7 @@ u_getIntPropertyMinValue(UProperty which);
* @see u_getUnicodeVersion
* @see u_getIntPropertyMaxValue
* @see u_getIntPropertyValue
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_getIntPropertyMaxValue(UProperty which);
@ -1465,7 +1465,7 @@ u_getIntPropertyMaxValue(UProperty which);
* @return Numeric value of c, or U_NO_NUMERIC_VALUE if none is defined.
*
* @see U_NO_NUMERIC_VALUE
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI double U_EXPORT2
u_getNumericValue(UChar32 c);
@ -1475,7 +1475,7 @@ u_getNumericValue(UChar32 c);
* no numeric value is defined for a code point.
*
* @see u_getNumericValue
* @draft ICU 2.2
* @stable ICU 2.2
*/
#define U_NO_NUMERIC_VALUE ((double)-123456789.)
@ -2118,7 +2118,7 @@ u_charName(UChar32 code, UCharNameChoice nameChoice,
* length of the name.
* The length does not include the zero-termination.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_getISOComment(UChar32 c,
@ -2681,7 +2681,7 @@ u_getUnicodeVersion(UVersionInfo versionArray);
* length of the name.
* The length does not include the zero-termination.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode);

View File

@ -414,6 +414,9 @@ ucnv_openCCSID(int32_t codepage,
* stored in the converter cache or the alias table. The only way to open further converters
* is call this function multiple times, or use the ucnv_safeClone() function to clone a
* 'master' converter.</p>
*
* <p>A future version of ICU may add alias table lookups and/or caching
* to this function.</p>
*
* <p>Example Use:
* <code>cnv = ucnv_openPackage("myapp", "myconverter", &err);</code>
@ -427,7 +430,7 @@ ucnv_openCCSID(int32_t codepage,
* @see ucnv_open
* @see ucnv_safeClone
* @see ucnv_close
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI UConverter* U_EXPORT2
ucnv_openPackage(const char *packageName, const char *converterName, UErrorCode *err);
@ -1595,7 +1598,7 @@ ucnv_getAliases(const char *alias, const char **aliases, UErrorCode *pErrorCode)
* @see ucnv_getStandardName
* @see uenum_close
* @see uenum_next
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI UEnumeration * U_EXPORT2
ucnv_openStandardNames(const char *convName,

View File

@ -172,7 +172,7 @@ typedef enum {
by the new converter, the callback must clone
the data and call ucnv_setFromUCallback
(or setToUCallback) with the correct pointer.
@draft ICU 2.2
@stable ICU 2.2
*/
} UConverterCallbackReason;

View File

@ -1,7 +1,7 @@
/*
*******************************************************************************
*
* Copyright (C) 2002, International Business Machines
* Copyright (C) 2002-2003, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@ -22,10 +22,10 @@
/**
* An enumeration object.
* For usage in C programs.
* @draft ICU 2.2
* @stable ICU 2.2
*/
struct UEnumeration;
/** structure representing an enumeration object instance @draft ICU 2.2 */
/** structure representing an enumeration object instance @stable ICU 2.2 */
typedef struct UEnumeration UEnumeration;
/**
@ -33,7 +33,7 @@ typedef struct UEnumeration UEnumeration;
* does nothing. After this call, any char* or UChar* pointer
* returned by uenum_unext() or uenum_next() is invalid.
* @param en UEnumeration structure pointer
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI void U_EXPORT2
uenum_close(UEnumeration* en);
@ -50,7 +50,7 @@ uenum_close(UEnumeration* en);
* @param status error code, can be U_ENUM_OUT_OF_SYNC_ERROR if the
* iterator is out of sync.
* @return number of elements in the iterator
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
uenum_count(UEnumeration* en, UErrorCode* status);
@ -74,7 +74,7 @@ uenum_count(UEnumeration* en, UErrorCode* status);
* until the next call to any uenum_... method, including
* uenum_next() or uenum_unext(). When all strings have been
* traversed, returns NULL.
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI const UChar* U_EXPORT2
uenum_unext(UEnumeration* en,
@ -107,7 +107,7 @@ uenum_unext(UEnumeration* en,
* until the next call to any uenum_... method, including
* uenum_next() or uenum_unext(). When all strings have been
* traversed, returns NULL.
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI const char* U_EXPORT2
uenum_next(UEnumeration* en,
@ -121,7 +121,7 @@ uenum_next(UEnumeration* en,
* @param en the iterator object
* @param status the error code, set to U_ENUM_OUT_OF_SYNC_ERROR if
* the iterator is out of sync with its service.
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI void U_EXPORT2
uenum_reset(UEnumeration* en, UErrorCode* status);

View File

@ -1,5 +1,6 @@
/*
* Copyright (C) 1999, International Business Machines Corporation and others. All Rights Reserved.
* Copyright (C) 1999-2003, International Business Machines Corporation and others.
* All Rights Reserved.
**********************************************************************
* Date Name Description
* 11/17/99 aliu Creation.
@ -90,14 +91,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const = 0;
/*
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
/* static UClassID getStaticClassID() { return (UClassID)&fgClassID; }*/

View File

@ -31,7 +31,7 @@ class StringThreadTest;
/**
* Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
* Compare strings in code point order instead of code unit order.
* @draft ICU 2.2
* @stable ICU 2.2
*/
#define U_COMPARE_CODE_POINT_ORDER 0x8000
#endif
@ -1622,7 +1622,7 @@ public:
* @param srcStart the offset into <TT>srcText</TT> where new characters
* will be obtained
* @return a reference to this
* @draft ICU2.2
* @stable ICU 2.2
*/
inline UnicodeString& setTo(const UnicodeString& srcText,
int32_t srcStart);
@ -2550,7 +2550,7 @@ public:
*
* @see getBuffer(int32_t minCapacity)
* @see getBuffer()
* @draft ICU 2.2
* @stable ICU 2.2
*/
inline const UChar *getTerminatedBuffer();
@ -2719,7 +2719,7 @@ public:
* 'Substring' constructor from tail of source string.
* @param src The UnicodeString object to copy.
* @param srcStart The offset into <tt>src</tt> at which to start copying.
* @draft ICU2.2
* @stable ICU 2.2
*/
UnicodeString(const UnicodeString& src, int32_t srcStart);
@ -2728,7 +2728,7 @@ public:
* @param src The UnicodeString object to copy.
* @param srcStart The offset into <tt>src</tt> at which to start copying.
* @param srcLength The number of characters from <tt>src</tt> to copy.
* @draft ICU2.2
* @stable ICU 2.2
*/
UnicodeString(const UnicodeString& src, int32_t srcStart, int32_t srcLength);
@ -2818,14 +2818,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;

View File

@ -271,7 +271,7 @@ unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
* "mode" normalization form.
*
* @see unorm_quickCheck
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI UBool U_EXPORT2
unorm_isNormalized(const UChar *src, int32_t srcLength,
@ -460,14 +460,14 @@ unorm_concatenate(const UChar *left, int32_t leftLength,
/**
* Option bit for unorm_compare:
* Both input strings are assumed to fulfill FCD conditions.
* @draft ICU 2.2
* @stable ICU 2.2
*/
#define UNORM_INPUT_IS_FCD 0x20000
/**
* Option bit for unorm_compare:
* Perform case-insensitive comparison.
* @draft ICU 2.2
* @stable ICU 2.2
*/
#define U_COMPARE_IGNORE_CASE 0x10000
@ -476,7 +476,7 @@ unorm_concatenate(const UChar *left, int32_t leftLength,
/**
* Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
* Compare strings in code point order instead of code unit order.
* @draft ICU 2.2
* @stable ICU 2.2
*/
#define U_COMPARE_CODE_POINT_ORDER 0x8000
#endif
@ -562,7 +562,7 @@ unorm_concatenate(const UChar *left, int32_t leftLength,
* @see u_strCompare
* @see u_strCaseCompare
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
unorm_compare(const UChar *s1, int32_t length1,

View File

@ -34,7 +34,7 @@ U_NAMESPACE_BEGIN
* applications that statically link the C Runtime library, meaning that
* the app and ICU will be using different heaps.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
#ifndef U_OVERRIDE_CXX_ALLOCATION
#define U_OVERRIDE_CXX_ALLOCATION 1
@ -151,21 +151,21 @@ public:
* This is because some compilers do not support covariant (same-as-this)
* return types; cast to the appropriate subclass if necessary.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
class U_COMMON_API UObject : public UMemory {
public:
/**
* Destructor.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual ~UObject();
/**
* ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const = 0;

View File

@ -19,7 +19,7 @@
/**
* Constants for Unicode script values from ScriptNames.txt .
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
typedef enum UScriptCode {
USCRIPT_INVALID_CODE = -1,
@ -65,7 +65,7 @@ typedef enum UScriptCode {
USCRIPT_TIBETAN = 39, /* Tibt */
/** Canadian_Aboriginal script. @draft ICU 2.6 */
USCRIPT_CANADIAN_ABORIGINAL = 40, /* Cans */
/** Canadian_Aboriginal script (alias). @draft ICU 2.2 */
/** Canadian_Aboriginal script (alias). @stable ICU 2.2 */
USCRIPT_UCAS = USCRIPT_CANADIAN_ABORIGINAL,
USCRIPT_YI = 41, /* Yiii */
USCRIPT_TAGALOG = 42, /* Tglg */

View File

@ -41,14 +41,14 @@ typedef struct USet USet;
#endif
/**
* Bitmask values to be passed to the UnicodeSet constructor or
* applyPattern() taking an option parameter.
* @draft
* Bitmask values to be passed to uset_openPatternOptions() or
* uset_applyPattern() taking an option parameter.
* @draft ICU 2.4
*/
enum {
/**
* Ignore white space within patterns unless quoted or escaped.
* @draft
* @draft ICU 2.4
*/
USET_IGNORE_SPACE = 1,
@ -56,7 +56,7 @@ enum {
* Enable case insensitive matching. E.g., "[ab]" with this flag
* will match 'a', 'A', 'b', and 'B'. "[^ab]" with this flag will
* match all except 'a', 'A', 'b', and 'B'.
* @draft
* @draft ICU 2.4
*/
USET_CASE_INSENSITIVE = 2,
@ -232,7 +232,7 @@ uset_addAll(USet* set, const USet *additionalSet);
* @param set the object to which to add the character
* @param start the first character of the range to add, inclusive
* @param end the last character of the range to add, inclusive
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI void U_EXPORT2
uset_addRange(USet* set, UChar32 start, UChar32 end);
@ -264,7 +264,7 @@ uset_remove(USet* set, UChar32 c);
* @param set the object to which to add the character
* @param start the first character of the range to remove, inclusive
* @param end the last character of the range to remove, inclusive
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI void U_EXPORT2
uset_removeRange(USet* set, UChar32 start, UChar32 end);
@ -326,7 +326,7 @@ uset_contains(const USet* set, UChar32 c);
* @param start the first character of the range to test, inclusive
* @param end the last character of the range to test, inclusive
* @return TRUE if set contains the range
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI UBool U_EXPORT2
uset_containsRange(const USet* set, UChar32 start, UChar32 end);

View File

@ -48,7 +48,7 @@ class UnicodeString;
* }
* </pre>
* @author M. Davis
* @draft ICU 2.2
* @draft ICU 2.4
*/
class U_COMMON_API UnicodeSetIterator : public UObject {
@ -207,14 +207,14 @@ class U_COMMON_API UnicodeSetIterator : public UObject {
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @draft ICU 2.4
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @draft ICU 2.4
*/
virtual UClassID getDynamicClassID() const;

View File

@ -453,7 +453,7 @@ u_strcmpCodePointOrder(const UChar *s1, const UChar *s2);
*
* @return <0 or 0 or >0 as usual for string comparisons
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_strCompare(const UChar *s1, int32_t length1,
@ -488,7 +488,7 @@ u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrde
/**
* Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
* Compare strings in code point order instead of code unit order.
* @draft ICU 2.2
* @stable ICU 2.2
*/
#define U_COMPARE_CODE_POINT_ORDER 0x8000
#endif
@ -531,7 +531,7 @@ u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrde
*
* @return <0 or 0 or >0 as usual for string comparisons
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
U_CAPI int32_t U_EXPORT2
u_strCaseCompare(const UChar *s1, int32_t length1,

View File

@ -56,14 +56,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }

View File

@ -275,14 +275,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -205,14 +205,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -1096,7 +1096,7 @@ public:
* currency format through the application of a new pattern.
* @param theCurrency a 3-letter ISO code indicating new currency
* to use. It need not be null-terminated.
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual void setCurrency(const UChar* theCurrency);

View File

@ -313,14 +313,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -223,14 +223,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -405,14 +405,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -839,14 +839,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;

View File

@ -416,14 +416,14 @@ public:
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
* @stable ICU 2.2
*/
static UClassID getStaticClassID();

View File

@ -4,7 +4,7 @@
* Corporation and others. All Rights Reserved.
**********************************************************************
* $Source: /xsrl/Nsvn/icu/icu/source/i18n/unicode/ucurr.h,v $
* $Revision: 1.10 $
* $Revision: 1.11 $
**********************************************************************
*/
#ifndef _UCURR_H_
@ -135,7 +135,7 @@ ucurr_getName(const UChar* currency,
* @param currency null-terminated 3-letter ISO 4217 code
* @return a non-negative number of fraction digits to be
* displayed
* @draft ICU 2.2
* @draft ICU 2.2 Not stable yet, see Jitterbug 3399.
*/
U_CAPI int32_t U_EXPORT2
ucurr_getDefaultFractionDigits(const UChar* currency);
@ -145,7 +145,7 @@ ucurr_getDefaultFractionDigits(const UChar* currency);
* rounding is done by the currency.
* @param currency null-terminated 3-letter ISO 4217 code
* @return the non-negative rounding increment, or 0.0 if none
* @draft ICU 2.2
* @draft ICU 2.2 Not stable yet, see Jitterbug 3399.
*/
U_CAPI double U_EXPORT2
ucurr_getRoundingIncrement(const UChar* currency);