Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE void U_EXPORT2 u_parseMessageWithError ( const char *  locale,
const UChar *  pattern,
int32_t  patternLength,
const UChar *  source,
int32_t  sourceLength,
UParseError parseError,
UErrorCode status,

Parse a message. For numeric arguments, this function will always use doubles. Integer types should not be passed. This function is not able to parse all output from u_formatMessage.

locale The locale for which the message is formatted
pattern The pattern specifying the message's format
patternLength The length of pattern
source The text to parse.
sourceLength The length of source, or -1 if null-terminated.
parseError A pointer to UParseError to receive information about errors occurred during parsing.
status A pointer to an UErrorCode to receive any errors
... A variable-length argument list containing the arguments specified in pattern.
See also:
u_formatMessage ICU 2.0

Definition at line 159 of file umsg.cpp.

    va_list    ap;

    //argument checking defered to subsequent method calls

    // start vararg processing
    va_start(ap, status);

    // end vararg processing

Generated by  Doxygen 1.6.0   Back to index