Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE void U_EXPORT2 u_vparseMessageWithError ( const char *  locale,
const UChar *  pattern,
int32_t  patternLength,
const UChar *  source,
int32_t  sourceLength,
va_list  ap,
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.
ap A variable-length argument list containing the arguments
parseError A pointer to UParseError to receive information about errors occurred during parsing.
status A pointer to an UErrorCode to receive any errors specified in pattern.
See also:
u_formatMessage ICU 2.0

Definition at line 180 of file umsg.cpp.

    //argument checking defered to subsequent method calls
    UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,error,status);
    int32_t count = 0;

Generated by  Doxygen 1.6.0   Back to index