Logo Search packages:      
Sourcecode: icu version File versions

virtual uint32_t Collator::setVariableTop ( const UnicodeString  varTop,
UErrorCode status 
) [pure virtual]

Sets the variable top to a collation element value of a string supplied.

varTop an UnicodeString size 1 or more (if contraction) of UChars to which the variable top should be set
status error code. If error code is set, the return value is undefined. Errors set by this function are:
U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such a contraction
U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes
a 32 bit value containing the value of the variable top in upper 16 bits. Lower 16 bits are undefined ICU 2.0

Implemented in RuleBasedCollator.

Generated by  Doxygen 1.6.0   Back to index