textPartFactory Class Reference

List of all members.

Public Member Functions

template<class T >
void registerType (const mediaType &type)
ref< textPartcreate (const mediaType &type)
ref< textPartcreate (const mediaType &type, ref< contentHandler > contents)

Static Public Member Functions

static textPartFactorygetInstance ()

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

textPartFactory (  )  [protected]
~textPartFactory (  )  [protected]

Member Function Documentation

ref< textPart > create ( const mediaType type,
ref< contentHandler contents 
)
ref< textPart > create ( const mediaType type  ) 
textPartFactory * getInstance (  )  [static]
void registerType ( const mediaType type  ) 

Member Data Documentation

MapType m_map [protected]

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

Generated by  doxygen 1.6.2