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

◆ AllocFunc

typedef shared_ptr<textPart>(* AllocFunc(void)
protected

◆ MapType

typedef std::vector<std::pair <mediaType, AllocFunc> > MapType
protected

Constructor & Destructor Documentation

◆ textPartFactory()

◆ ~textPartFactory()

~textPartFactory ( )
protected

Member Function Documentation

◆ create()

shared_ptr< textPart > create ( const mediaType type)

◆ getInstance()

textPartFactory * getInstance ( )
static

◆ registerType()

void registerType ( const mediaType type)

Member Data Documentation

◆ m_map

MapType m_map
protected

Referenced by textPartFactory::create().


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