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

typedef Transliterator*(U_EXPORT2 * Transliterator::Factory)(const UnicodeString &ID, Token context) [inherited]

A function that creates and returns a Transliterator. When invoked, it will be passed the ID string that is being instantiated, together with the context pointer that was passed in when the factory function was first registered. Many factory functions will ignore both parameters, however, functions that are registered to more than one ID may use the ID or the context parameter to parameterize the transliterator they create.

ID the string identifier for this transliterator
context a context pointer that will be stored and later passed to the factory function when an ID matching the registration ID is being instantiated with this factory. ICU 2.4

Generated by  Doxygen 1.6.0   Back to index