MIME for obscure binary data. More...
#include <yatemime.h>
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 MimeBody * | clone () const |
Protected Member Functions | |
MimeBinaryBody (const MimeBinaryBody &original) | |
virtual void | buildBody () const |
MIME for obscure binary data.
An object holding a binary block of MIME data
MimeBinaryBody | ( | const String & | type, | |
const char * | buf, | |||
int | len | |||
) |
Constructor from block of data
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
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
virtual void buildBody | ( | ) | const [protected, virtual] |
Override that is called internally to build the binary encoded body
Implements MimeBody.
virtual MimeBody* clone | ( | ) | const [virtual] |
virtual void* getObject | ( | const String & | name | ) | const [virtual] |
RTTI method, get a pointer to a derived class given the class name
name | Name of the class we are asking for |
Reimplemented from MimeBody.