Public Types | |
enum | { ERR_NOT_ENOUGH_DATA = -1, ERR_UNKNOWN_FORMAT = -2, ERR_NO_MEM = -3 } |
Public Member Functions | |
TranslatorFactory () | |
~TranslatorFactory () | |
void | LoadAll () |
status_t | FindTranslator (const String &cSrcType, const String &cDstType, const void *pData, size_t nLen, Translator **ppcTrans) |
int | GetTranslatorCount () |
TranslatorNode * | GetTranslatorNode (int nIndex) |
TranslatorInfo | GetTranslatorInfo (int nIndex) |
Translator * | CreateTranslator (int nIndex) |
Static Public Member Functions | |
static TranslatorFactory * | GetDefaultFactory () |
Classes | |
struct | Internal |
TranslatorFactory::TranslatorFactory | ( | ) |
TranslatorFactory::~TranslatorFactory | ( | ) |
TranslatorFactory * TranslatorFactory::GetDefaultFactory | ( | ) | [static] |
void TranslatorFactory::LoadAll | ( | ) |
status_t TranslatorFactory::FindTranslator | ( | const String & | cSrcType, | |
const String & | cDstType, | |||
const void * | pData, | |||
size_t | nLen, | |||
Translator ** | ppcTrans | |||
) |
int TranslatorFactory::GetTranslatorCount | ( | ) |
TranslatorNode * TranslatorFactory::GetTranslatorNode | ( | int | nIndex | ) |
TranslatorInfo TranslatorFactory::GetTranslatorInfo | ( | int | nIndex | ) |
Translator * TranslatorFactory::CreateTranslator | ( | int | nIndex | ) |