VMime
|
Public Member Functions | |
template<class T > | |
void | registerType (const mediaType &type) |
shared_ptr< textPart > | create (const mediaType &type) |
Static Public Member Functions | |
static textPartFactory * | getInstance () |
Protected Types | |
typedef shared_ptr< textPart >(* | AllocFunc )(void) |
typedef std::vector< std::pair < mediaType, AllocFunc > > | MapType |
Protected Member Functions | |
textPartFactory () | |
~textPartFactory () | |
Protected Attributes | |
MapType | m_map |
|
protected |
|
protected |
References vmime::mediaTypes::TEXT, vmime::mediaTypes::TEXT_HTML, and vmime::mediaTypes::TEXT_PLAIN.
|
protected |
References component::generate(), and textPartFactory::m_map.
Referenced by messageBuilder::constructTextPart().
|
static |
Referenced by messageBuilder::constructTextPart().
void registerType | ( | const mediaType & | type | ) |
|
protected |
Referenced by textPartFactory::create().