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