ICU-4598 Fix some doxygen warnings.

X-SVN-Rev: 17979
This commit is contained in:
George Rhoten 2005-06-22 19:25:03 +00:00
parent 4be8ad8b24
commit 94f326da7e
3 changed files with 33 additions and 27 deletions

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (C) 1997-2004, International Business Machines
* Copyright (C) 1997-2005, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*
@ -876,9 +876,12 @@ typedef enum {
/**
* @param httpAcceptLanguage - "Accept-Language:" header as per HTTP.
* Based on a HTTP header from a web browser and a list of available locales,
* determine an acceptable locale for the user.
* @param result - buffer to accept the result locale
* @param resultAvailable the size of the result buffer.
* @param outResult - An out parameter that contains the fallback status
* @param httpAcceptLanguage - "Accept-Language:" header as per HTTP.
* @param availableLocales - list of available locales to match
* @param status Error status, may be BUFFER_OVERFLOW_ERROR
* @return length needed for the locale.
@ -892,10 +895,13 @@ uloc_acceptLanguageFromHTTP(char *result, int32_t resultAvailable,
UErrorCode *status);
/**
* @param acceptList -list of acceptable languages
* @param acceptListCount - count of acceptList items
* Based on a list of available locales,
* determine an acceptable locale for the user.
* @param result - buffer to accept the result locale
* @param resultAvailable the size of the result buffer.
* @param outResult - An out parameter that contains the fallback status
* @param acceptList - list of acceptable languages
* @param acceptListCount - count of acceptList items
* @param availableLocales - list of available locales to match
* @param status Error status, may be BUFFER_OVERFLOW_ERROR
* @return length needed for the locale.
@ -908,10 +914,7 @@ uloc_acceptLanguage(char *result, int32_t resultAvailable,
UEnumeration* availableLocales,
UErrorCode *status);
/*eof*/
#endif /*_ULOC*/

View File

@ -331,7 +331,7 @@ utext_isLengthExpensive(const UText *ut);
* (There is a difference if the index is out of bounds by being less than zero)
*
* @param ut the text to be accessed
* @param the native index of the character to be accessed. If the index points
* @param nativeIndex the native index of the character to be accessed. If the index points
* to other than the first unit of a multi-unit character, it will be adjusted
* to the start of the character.
* @return the code point at the specified index.
@ -401,7 +401,7 @@ utext_previous32(UText *ut);
* begin a forward iteration.
*
* @param ut the text to be accessed.
* @param index Iteration index, in the native units of the text provider.
* @param nativeIndex Iteration index, in the native units of the text provider.
* @return Code point which starts at or before index,
* or U_SENTINEL (-1) if it is out of bounds.
* @draft ICU 3.4
@ -420,7 +420,7 @@ utext_next32From(UText *ut, int32_t nativeIndex);
* begin a backwards iteration.
*
* @param ut the text to be accessed.
* @param index Iteration index in the native units of the thext provider.
* @param nativeIndex Iteration index in the native units of the thext provider.
* @return Code point preceding the one at the initial index,
* or U_SENTINEL (-1) if it is out of bounds.
*
@ -464,7 +464,7 @@ utext_getIndex(UText *ut);
* easily knowable.
*
* @param ut the text to be accessed.
* @param index the native unit index of the new iteration position.
* @param nativeIndex the native unit index of the new iteration position.
* @draft ICU 3.4
*/
U_DRAFT void U_EXPORT2
@ -509,8 +509,8 @@ utext_moveIndex(UText *ut, int32_t delta);
* terminating NUL is not included in the returned length.
*
* @param ut the UText from which to extract data.
* @param start the native index of the first character to extract.
* @param limit the native string index of the position following the last
* @param nativeStart the native index of the first character to extract.
* @param nativeLimit the native string index of the position following the last
* character to extract. If the specified limit is greater than the length
* of the text, the limit will be trimmed back to the text length.
* @param dest the UChar (utf-16) buffer into which the extracted text is placed
@ -631,7 +631,7 @@ utext_hasMetaData(const UText *ut);
* @param nativeStart the native index of the start of the region to be replaced
* @param nativeLimit the native index of the character following the region to be replaced.
* @param replacementText pointer to the replacement text
* @param replacmentLength length of the replacement text, or -1 if the text is NUL terminated.
* @param replacementLength length of the replacement text, or -1 if the text is NUL terminated.
* @param status receives any error status. Possible errors include
* U_NO_WRITE_PERMISSION
*
@ -1169,19 +1169,20 @@ struct UText {
/**
* Common function for use by Text Provider implementations to allocate and/or initialize
* a new UText struct. To be called in the implementation of utext_open() functions.
* If the suppliec utxt parameter is null, a new UText struct will be allocated on the heap.
* If the supplied UText is already open, the provider's clsoe function will be called
* so that the struct can be reused by the open that is in progress.
*
* @param utxt pointer to a UText struct to be re-used, or null if a new UText
* should be allocated.
* @param extraSpace The amount of additional space to be allocated as part
* of this UText, for use by types of providers that require
* additional storage.
* @return pointer to the UText, allocated if necessary, with extra space set up if requested.
*/
* Common function for use by Text Provider implementations to allocate and/or initialize
* a new UText struct. To be called in the implementation of utext_open() functions.
* If the suppliec utxt parameter is null, a new UText struct will be allocated on the heap.
* If the supplied UText is already open, the provider's clsoe function will be called
* so that the struct can be reused by the open that is in progress.
*
* @param utxt pointer to a UText struct to be re-used, or null if a new UText
* should be allocated.
* @param extraSpace The amount of additional space to be allocated as part
* of this UText, for use by types of providers that require
* additional storage.
* @param status Errors are returned here.
* @return pointer to the UText, allocated if necessary, with extra space set up if requested.
*/
U_DRAFT UText * U_EXPORT2
UTextSetup(UText *utxt, int32_t extraSpace, UErrorCode *status);

View File

@ -602,6 +602,8 @@ public:
* between patterns having different quoting semantics.
*
* @param pattern the 'apostrophe-friendly' patttern to convert
* @param status Input/output error code. If the pattern
* cannot be parsed, the failure code is set.
* @return the standard equivalent of the original pattern
* @since ICU 3.4
*/