MimeBinaryBody Class Reference

MIME for obscure binary data. More...

#include <yatemime.h>

Inheritance diagram for MimeBinaryBody:

MimeBody GenObject

List of all members.

Public Member Functions

 MimeBinaryBody (const String &type, const char *buf, int len)
 MimeBinaryBody (const MimeHeaderLine &type, const char *buf, int len)
virtual ~MimeBinaryBody ()
virtual void * getObject (const String &name) const
virtual MimeBodyclone () const

Protected Member Functions

 MimeBinaryBody (const MimeBinaryBody &original)
virtual void buildBody () const


Detailed Description

MIME for obscure binary data.

An object holding a binary block of MIME data


Constructor & Destructor Documentation

MimeBinaryBody ( const String type,
const char *  buf,
int  len 
)

Constructor from block of data

Parameters:
type The value of the Content-Type header line
buf Pointer to buffer of data
len Length of data in buffer

MimeBinaryBody ( const MimeHeaderLine type,
const char *  buf,
int  len 
)

Constructor from block of data

Parameters:
type The content type header line
buf Pointer to buffer of data
len Length of data in buffer

virtual ~MimeBinaryBody (  )  [virtual]

Destructor

MimeBinaryBody ( const MimeBinaryBody original  )  [protected]

Copy constructor


Member Function Documentation

virtual void* getObject ( const String name  )  const [virtual]

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

Parameters:
name Name 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.

virtual MimeBody* clone (  )  const [virtual]

Duplicate this MIME body

Returns:
Copy of this MIME body - a new MimeBinaryBody

Implements MimeBody.

virtual void buildBody (  )  const [protected, virtual]

Override that is called internally to build the binary encoded body

Implements MimeBody.


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

Generated on Mon Aug 11 16:18:52 2008 for Yate by  doxygen 1.5.6