|
Yate
|
MIME for application/sdp. More...
#include <yatemime.h>
Protected Member Functions | |
| MimeSdpBody (const MimeSdpBody &original) | |
| virtual void | buildBody () const |
Protected Member Functions inherited from MimeBody | |
| MimeBody (const String &type) | |
| MimeBody (const MimeHeaderLine &type) | |
Additional Inherited Members | |
Static Public Member Functions inherited from MimeBody | |
| static MimeBody * | build (const char *buf, int len, const MimeHeaderLine &type) |
| static String * | getUnfoldedLine (const char *&buf, int &len) |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Protected Attributes inherited from MimeBody | |
| DataBlock | m_body |
| ObjList | m_headers |
MIME for application/sdp.
An object holding the lines of an application/sdp MIME type
| MimeSdpBody | ( | bool | hashing = false | ) |
Default constructor, builds an empty application/sdp
| hashing | Enable hashing the content lines |
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 |
| MimeSdpBody | ( | 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 |
Destructor
|
protected |
Copy constructor
| NamedString * addLine | ( | const char * | name, |
| const char * | value = 0 |
||
| ) |
Append a new name=value line of SDP data
| name | Name of the line, should be one character |
| value | Text of the line |
Override that is called internally to build the binary encoded body
Implements MimeBody.
| const NamedString * getLine | ( | const char * | name | ) | const |
Retrieve the first line matching a name
| name | Name of the line to search |
| const NamedString * getNextLine | ( | const NamedString * | line | ) | const |
Retrieve the next line of the same type as the current
| line | Current line |
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.
Retrieve the hash of body lines
Override that checks if this body is an Session Description Protocol
Reimplemented from MimeBody.