class MimeStringBody

MIME for one text string. More...

Full nameTelEngine::MimeStringBody
Definition#include <yatemime.h>
InheritsTelEngine::MimeBody [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

An object holding MIME data as just one text string

 MimeStringBody (const String& type, const char* buf, int len = -1)

MimeStringBody

Constructor from block of data

Parameters:
typeThe value of the Content-Type header line
bufPointer to buffer of data
lenLength of data in buffer

 MimeStringBody (const MimeHeaderLine& type, const char* buf, int len = -1)

MimeStringBody

Constructor from block of data

Parameters:
typeThe content type header line
bufPointer to buffer of data
lenLength of data in buffer

 ~MimeStringBody ()

~MimeStringBody

[virtual]

Destructor

void*  getObject (const String& name)

getObject

[const virtual]

RTTI method, get a pointer to a derived class given the class name

Parameters:
nameName of the class we are asking for

Returns: Pointer to the requested class or NULL if this object doesn't implement it

Reimplemented from MimeBody.

MimeBody*  clone ()

clone

[const virtual]

Duplicate this MIME body

Returns: Copy of this MIME body - a new MimeStringBody

Reimplemented from MimeBody.

inline const String&  text ()

text

[const]

Retrieve the stored data

Returns: String holding the data text

 MimeStringBody (const MimeStringBody& original)

MimeStringBody

[protected]

Copy constructor

void  buildBody ()

buildBody

[protected const virtual]

Override that is called internally to build the binary encoded body

Reimplemented from MimeBody.


Generated by: paulc on bussard on Fri Dec 21 16:28:34 2012, using kdoc 2.0a54.