#include <yatemime.h>
Inheritance diagram for MimeLinesBody:
Public Member Functions | |
MimeLinesBody (const String &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 |
An object holding MIME data as separate text lines
MimeLinesBody | ( | const String & | type, | |
const char * | buf, | |||
int | len | |||
) |
Constructor from block of data
buf | Pointer to buffer of data | |
len | Length of data in buffer | |
type | Name of the specific MIME type/subtype |
virtual ~MimeLinesBody | ( | ) | [virtual] |
Destructor
MimeLinesBody | ( | const MimeLinesBody & | original | ) | [protected] |
Copy constructor
virtual void* getObject | ( | const String & | name | ) | const [virtual] |
RTTI method, get a pointer to a derived class given that class name
name | Name of the class we are asking for |
Reimplemented from MimeBody.
virtual MimeBody* clone | ( | ) | const [virtual] |
const ObjList& lines | ( | ) | const [inline] |
Retrive the stored lines of text
void addLine | ( | const char * | line | ) | [inline] |
Append a line of text to the data
line | Text to append |
virtual void buildBody | ( | ) | const [protected, virtual] |
Override that is called internally to build the binary encoded body
Implements MimeBody.