|
VMime
|
#include <textPartFactory.hpp>
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 |
|
protected |
| shared_ptr< textPart > create | ( | const mediaType & | type | ) |
References vmime::dynamicCast(), component::generate(), and textPartFactory::m_map.
Referenced by messageBuilder::constructTextPart().
|
static |
References vmime::dynamicCast().
Referenced by messageBuilder::constructTextPart().
|
protected |
Referenced by textPartFactory::create().