Pyro higlevel API
|
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 () |
TranslatorNode * | GetTranslatorNode (int nIndex) |
TranslatorInfo | GetTranslatorInfo (int nIndex) |
Translator * | CreateTranslator (int nIndex) |
Static Public Member Functions | |
static TranslatorFactory * | GetDefaultFactory () |
TranslatorFactory::TranslatorFactory | ( | ) |
Referenced by GetDefaultFactory().
TranslatorFactory::~TranslatorFactory | ( | ) |
Translator * TranslatorFactory::CreateTranslator | ( | int | nIndex | ) |
References os::TranslatorFactory::Internal::m_cNodes.
status_t TranslatorFactory::FindTranslator | ( | const String & | cSrcType, |
const String & | cDstType, | ||
const void * | pData, | ||
size_t | nLen, | ||
Translator ** | ppcTrans | ||
) |
References os::TranslatorNode::CreateTranslator(), os::TranslatorInfo::dest_type, ERR_NO_MEM, ERR_NOT_ENOUGH_DATA, ERR_UNKNOWN_FORMAT, os::TranslatorNode::GetTranslatorInfo(), os::TranslatorNode::Identify(), os::TranslatorFactory::Internal::m_cNodes, and os::TranslatorInfo::quality.
Referenced by os::BitmapImage::Load(), and os::BitmapImage::Save().
|
static |
References LoadAll(), and TranslatorFactory().
Referenced by os::BitmapImage::Load(), and os::BitmapImage::Save().
int TranslatorFactory::GetTranslatorCount | ( | ) |
References os::TranslatorFactory::Internal::m_cNodes.
TranslatorInfo TranslatorFactory::GetTranslatorInfo | ( | int | nIndex | ) |
References os::TranslatorFactory::Internal::m_cNodes.
TranslatorNode * TranslatorFactory::GetTranslatorNode | ( | int | nIndex | ) |
References os::TranslatorFactory::Internal::m_cNodes.
void TranslatorFactory::LoadAll | ( | ) |