Yate
|
MIME for multiple text lines. More...
#include <yatemime.h>
Public Member Functions | |
MimeLinesBody (const String &type, const char *buf, int len) | |
MimeLinesBody (const MimeHeaderLine &type, const char *buf, int len) | |
virtual | ~MimeLinesBody () |
virtual void * | getObject (const String &name) const |
virtual MimeBody * | clone () const |
const ObjList & | lines () const |
void | addLine (const char *line) |
Protected Member Functions | |
MimeLinesBody (const MimeLinesBody &original) | |
virtual void | buildBody () const |
MIME for multiple text lines.
An object holding MIME data as separate text lines
MimeLinesBody | ( | 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 |
MimeLinesBody | ( | 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 ~MimeLinesBody | ( | ) | [virtual] |
Destructor
MimeLinesBody | ( | const MimeLinesBody & | original | ) | [protected] |
Copy constructor
void addLine | ( | const char * | line | ) | [inline] |
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.
const ObjList& lines | ( | ) | const [inline] |
Retrieve the stored lines of text