Pyro higlevel API
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
os::TranslatorFactory Class Reference

Classes

struct  Internal
 

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 ()
 
TranslatorNodeGetTranslatorNode (int nIndex)
 
TranslatorInfo GetTranslatorInfo (int nIndex)
 
TranslatorCreateTranslator (int nIndex)
 

Static Public Member Functions

static TranslatorFactoryGetDefaultFactory ()
 

Member Enumeration Documentation

anonymous enum
Enumerator
ERR_NOT_ENOUGH_DATA 
ERR_UNKNOWN_FORMAT 
ERR_NO_MEM 

Constructor & Destructor Documentation

TranslatorFactory::TranslatorFactory ( )

Referenced by GetDefaultFactory().

TranslatorFactory::~TranslatorFactory ( )

Member Function Documentation

Translator * TranslatorFactory::CreateTranslator ( int  nIndex)
status_t TranslatorFactory::FindTranslator ( const String cSrcType,
const String cDstType,
const void *  pData,
size_t  nLen,
Translator **  ppcTrans 
)
TranslatorFactory * TranslatorFactory::GetDefaultFactory ( )
static
int TranslatorFactory::GetTranslatorCount ( )
TranslatorInfo TranslatorFactory::GetTranslatorInfo ( int  nIndex)
TranslatorNode * TranslatorFactory::GetTranslatorNode ( int  nIndex)
void TranslatorFactory::LoadAll ( )