#include <yatephone.h>
Inheritance diagram for TranslatorFactory:
Public Member Functions | |
virtual | ~TranslatorFactory () |
virtual void | removed (const TranslatorFactory *factory) |
virtual DataTranslator * | create (const DataFormat &sFormat, const DataFormat &dFormat)=0 |
virtual const TranslatorCaps * | getCapabilities () const =0 |
virtual bool | converts (const DataFormat &sFormat, const DataFormat &dFormat) const |
virtual unsigned int | length () const |
virtual bool | intermediate (const FormatInfo *info) const |
virtual const FormatInfo * | intermediate () const |
Protected Member Functions | |
TranslatorFactory () |
A factory for constructing data translators by format name conversion of data from one type to another
|
Constructor - registers the factory in the global list |
|
Destructor - unregisters from the global list |
|
Check if this factory can build a translator for given data formats
|
|
Creates a translator given the source and destination format names
|
|
Get the capabilities table of this translator
|
|
Get the intermediate format used by a translator chain
|
|
Check if a data format is used as intermediate in a translator chain
|
|
Get the length of the translator chain built by this factory
|
|
Notification that another factory was removed from the list
|