VMime
textPartFactory Class Reference

Public Member Functions

template<class T >
void registerType (const mediaType &type)
 
shared_ptr< textPartcreate (const mediaType &type)
 

Static Public Member Functions

static textPartFactorygetInstance ()
 

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
 

Member Typedef Documentation

typedef shared_ptr<textPart>(* AllocFunc)(void)
protected
typedef std::vector<std::pair <mediaType, AllocFunc> > MapType
protected

Constructor & Destructor Documentation

~textPartFactory ( )
protected

Member Function Documentation

shared_ptr< textPart > create ( const mediaType type)
textPartFactory * getInstance ( )
static
void registerType ( const mediaType type)

Member Data Documentation

MapType m_map
protected

Referenced by textPartFactory::create().


The documentation for this class was generated from the following files: