reSIProcate/stack  9694
Public Member Functions
resip::ContentsFactory< T > Class Template Reference

#include <ContentsFactory.hxx>

Inheritance diagram for resip::ContentsFactory< T >:
Inheritance graph
[legend]
Collaboration diagram for resip::ContentsFactory< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ContentsFactory ()
 ContentsFactory (const Mime &nonStandardType)
virtual Contentscreate (const HeaderFieldValue &hfv, const Mime &contentType) const
virtual Contentsconvert (Contents *c) const

Detailed Description

template<class T>
class resip::ContentsFactory< T >

Definition at line 15 of file ContentsFactory.hxx.


Constructor & Destructor Documentation

template<class T>
resip::ContentsFactory< T >::ContentsFactory ( ) [inline]

Definition at line 18 of file ContentsFactory.hxx.

         : ContentsFactoryBase(T::getStaticType())
      {}
template<class T>
resip::ContentsFactory< T >::ContentsFactory ( const Mime nonStandardType) [inline, explicit]

Definition at line 22 of file ContentsFactory.hxx.

         : ContentsFactoryBase(nonStandardType)
      {}

Member Function Documentation

template<class T>
virtual Contents* resip::ContentsFactory< T >::convert ( Contents c) const [inline, virtual]

Implements resip::ContentsFactoryBase.

Definition at line 32 of file ContentsFactory.hxx.

      {
         return dynamic_cast<T*>(c);
      }
template<class T>
virtual Contents* resip::ContentsFactory< T >::create ( const HeaderFieldValue hfv,
const Mime contentType 
) const [inline, virtual]

Implements resip::ContentsFactoryBase.

Definition at line 27 of file ContentsFactory.hxx.

      {
         return new T(hfv, contentType);
      }

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