ICU-2565 add @stable, etc tags

X-SVN-Rev: 10641
This commit is contained in:
Ram Viswanadha 2002-12-12 02:21:38 +00:00
parent 9df1f1824c
commit e562766f2e
4 changed files with 39 additions and 18 deletions

View File

@ -167,14 +167,15 @@ public:
virtual UBool hasNext() = 0;
protected:
/** Default constructor to be overridden in the implementing class. */
/** Default constructor to be overridden in the implementing class. @stable ICU 2.0*/
ForwardCharacterIterator() : UObject() {}
/** Copy constructor to be overridden in the implementing class. */
/** Copy constructor to be overridden in the implementing class. @stable ICU 2.0*/
ForwardCharacterIterator(const ForwardCharacterIterator &other) : UObject(other) {}
/**
* Assignment operator to be overridden in the implementing class.
* @stable ICU 2.0
*/
ForwardCharacterIterator &operator=(const ForwardCharacterIterator&) { return *this; }
};

View File

@ -151,14 +151,14 @@ typedef enum {
* @stable ICU 2.0
*/
typedef struct {
uint16_t size; /**< The size of this struct */
UBool flush; /**< The internal state of converter will be reset and data flushed if set to TRUE */
UConverter *converter; /**< Pointer to the converter that is opened and to which this struct is passed as an argument */
const UChar *source; /**< Pointer to the source source buffer */
const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer */
char *target; /**< Pointer to the target buffer */
const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer */
int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++; */
uint16_t size; /**< The size of this struct. @stable ICU 2.0 */
UBool flush; /**< The internal state of converter will be reset and data flushed if set to TRUE. @stable ICU 2.0 */
UConverter *converter; /**< Pointer to the converter that is opened and to which this struct is passed as an argument. @stable ICU 2.0 */
const UChar *source; /**< Pointer to the source source buffer. @stable ICU 2.0 */
const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
char *target; /**< Pointer to the target buffer. @stable ICU 2.0 */
const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */
int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++;. @stable ICU 2.0 */
} UConverterFromUnicodeArgs;
@ -168,13 +168,13 @@ typedef struct {
*/
typedef struct {
uint16_t size; /**< The size of this struct */
UBool flush; /**< The internal state of converter will be reset and data flushed if set to TRUE */
UConverter *converter; /**< Pointer to the converter that is opened and to which this struct is passed as an argument */
const char *source; /**< Pointer to the source source buffer */
const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer */
UChar *target; /**< Pointer to the target buffer */
const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer */
int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++; */
UBool flush; /**< The internal state of converter will be reset and data flushed if set to TRUE. @stable ICU 2.0 */
UConverter *converter; /**< Pointer to the converter that is opened and to which this struct is passed as an argument. @stable ICU 2.0 */
const char *source; /**< Pointer to the source source buffer. @stable ICU 2.0 */
const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
UChar *target; /**< Pointer to the target buffer. @stable ICU 2.0 */
const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */
int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++;. @stable ICU 2.0 */
} UConverterToUnicodeArgs;

View File

@ -205,35 +205,41 @@ struct UCharIterator {
/**
* (protected) Pointer to string or wrapped object or similar.
* Not used by caller.
* @draft ICU 2.1
*/
const void *context;
/**
* (protected) Length of string or similar.
* Not used by caller.
* @draft ICU 2.1
*/
int32_t length;
/**
* (protected) Start index or similar.
* Not used by caller.
* @draft ICU 2.1
*/
int32_t start;
/**
* (protected) Current index or similar.
* Not used by caller.
* @draft ICU 2.1
*/
int32_t index;
/**
* (protected) Limit index or similar.
* Not used by caller.
* @draft ICU 2.1
*/
int32_t limit;
/**
* (protected) Not currently used by any instance.
* @draft ICU 2.1
*/
int32_t reservedField;
@ -242,6 +248,7 @@ struct UCharIterator {
* start or limit index of the iteration range.
*
* @see UCharIteratorGetIndex
* @draft ICU 2.1
*/
UCharIteratorGetIndex *getIndex;
@ -252,6 +259,7 @@ struct UCharIterator {
* or backward by specifying a positive or negative delta.
*
* @see UCharIteratorMove
* @draft ICU 2.1
*/
UCharIteratorMove *move;
@ -260,6 +268,7 @@ struct UCharIterator {
* return another code unit.
*
* @see UCharIteratorHasNext
* @draft ICU 2.1
*/
UCharIteratorHasNext *hasNext;
@ -267,6 +276,7 @@ struct UCharIterator {
* (public) Check if previous() can still return another code unit.
*
* @see UCharIteratorHasPrevious
* @draft ICU 2.1
*/
UCharIteratorHasPrevious *hasPrevious;
@ -275,6 +285,7 @@ struct UCharIterator {
* or U_SENTINEL if there is none (index is at the limit).
*
* @see UCharIteratorCurrent
* @draft ICU 2.1
*/
UCharIteratorCurrent *current;
@ -284,6 +295,7 @@ struct UCharIterator {
* or return U_SENTINEL if there is none (index is at the limit).
*
* @see UCharIteratorNext
* @draft ICU 2.1
*/
UCharIteratorNext *next;
@ -293,6 +305,7 @@ struct UCharIterator {
* or return U_SENTINEL if there is none (index is at the start).
*
* @see UCharIteratorPrevious
* @draft ICU 2.1
*/
UCharIteratorPrevious *previous;
@ -300,6 +313,7 @@ struct UCharIterator {
* (public) Reserved for future use. Currently NULL.
*
* @see UCharIteratorReserved
* @draft ICU 2.1
*/
UCharIteratorReserved *reservedFn;
};

View File

@ -170,8 +170,14 @@
* #define U_ICU_ENTRY_POINT icudt19_dat
* @stable ICU 2.4
*/
#define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM)
#define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM)
/**
* @stable ICU 2.4
*/
#define U_DEF2_ICUDATA_ENTRY_POINT(major, minor) U_DEF_ICUDATA_ENTRY_POINT(major, minor)
/**
* @stable ICU 2.4
*/
#define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##major##minor##_dat
/**