reSIProcate/stack  9694
Public Member Functions
resip::GenericContents Class Reference

SIP body type for holding generic contents. More...

#include <GenericContents.hxx>

Inheritance diagram for resip::GenericContents:
Inheritance graph
[legend]
Collaboration diagram for resip::GenericContents:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GenericContents ()
 GenericContents (const Data &text)
 GenericContents (const HeaderFieldValue &hfv, const Mime &contentType)
 GenericContents (const Data &data, const Mime &contentType)
 GenericContents (const GenericContents &rhs)
virtual ~GenericContents ()
GenericContentsoperator= (const GenericContents &rhs)
virtual Contentsclone () const
 duplicate an GenericContents object

Detailed Description

SIP body type for holding generic contents.

Note:
not added to ContentsFactory

Definition at line 15 of file GenericContents.hxx.


Constructor & Destructor Documentation

GenericContents::GenericContents ( )

Definition at line 10 of file GenericContents.cxx.

Referenced by clone().

   : PlainContents()
{}
GenericContents::GenericContents ( const Data text)

Definition at line 14 of file GenericContents.cxx.

   : PlainContents(text)
{}
GenericContents::GenericContents ( const HeaderFieldValue hfv,
const Mime contentType 
)

Definition at line 18 of file GenericContents.cxx.

   : PlainContents(hfv, contentType)
{}
GenericContents::GenericContents ( const Data data,
const Mime contentType 
)

Definition at line 22 of file GenericContents.cxx.

   : PlainContents(data, contentType)
{}
GenericContents::GenericContents ( const GenericContents rhs)

Definition at line 26 of file GenericContents.cxx.

   : PlainContents(rhs)
{}
GenericContents::~GenericContents ( ) [virtual]

Definition at line 30 of file GenericContents.cxx.

{}

Member Function Documentation

Contents * GenericContents::clone ( ) const [virtual]

duplicate an GenericContents object

Returns:
pointer to a new GenericContents object

Reimplemented from resip::PlainContents.

Definition at line 44 of file GenericContents.cxx.

References GenericContents().

{
   return new GenericContents(*this);
}

Here is the call graph for this function:

GenericContents & GenericContents::operator= ( const GenericContents rhs)

Definition at line 34 of file GenericContents.cxx.

{
   if (this != &rhs)
   {
      this->PlainContents::operator=(rhs);
   }
   return *this;
}

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