Logo Search packages:      
Sourcecode: icu version File versions  Download package

typedef void ( U_EXPORT2 *  UConverterFromUCallback) const

Function pointer for error callback in the codepage to unicode direction. Called when an error has occured in conversion to unicode, or on open/close of the callback (see reason).

Parameters:
contextPointer to the callback's private data
argsInformation about the conversion in progress
codeUnitsPoints to 'length' bytes of the concerned codepage sequence
lengthSize (in bytes) of the concerned codepage sequence
reasonDefines the reason the callback was invoked
pErrorCodeICU error code in/out parameter. For converter callback functions, set to a conversion error before the call, and the callback may reset it to U_ZERO_ERROR.
See also:
ucnv_setToUCallBack
UConverterToUnicodeArgs ICU 2.0

Function pointer for error callback in the unicode to codepage direction. Called when an error has occured in conversion from unicode, or on open/close of the callback (see reason).

Parameters:
contextPointer to the callback's private data
argsInformation about the conversion in progress
codeUnitsPoints to 'length' UChars of the concerned Unicode sequence
lengthSize (in bytes) of the concerned codepage sequence
codePointSingle UChar32 (UTF-32) containing the concerend Unicode codepoint.
reasonDefines the reason the callback was invoked
pErrorCodeICU error code in/out parameter. For converter callback functions, set to a conversion error before the call, and the callback may reset it to U_ZERO_ERROR.
See also:
ucnv_setFromUCallBack ICU 2.0

Referenced by RegexMatcher::appendReplacement(), CompactTrieDictionary::compactMutableTrieDictionary(), ThaiBreakEngine::divideUpDictionaryRange(), KhmerBreakEngine::divideUpDictionaryRange(), RegexMatcher::find(), RuleBasedBreakIterator::following(), RuleBasedBreakIterator::handlePrevious(), DateIntervalInfo::initializeData(), RuleBasedBreakIterator::preceding(), and RuleBasedBreakIterator::previous().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index