MimeSdpBody Class Reference
MIME for application/sdp.
More...
#include <yatemime.h>
List of all members.
Detailed Description
MIME for application/sdp.
An object holding the lines of an application/sdp MIME type
Constructor & Destructor Documentation
Default constructor, builds an empty application/sdp
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 |
Constructor from block of data
- Parameters:
-
| type | The content type header line |
| buf | Pointer to buffer of data |
| len | Length of data in buffer |
Member Function Documentation
void addLine |
( |
const char * |
name, |
|
|
const char * |
value = 0 | |
|
) |
| | [inline] |
Append a new name=value line of SDP data
- Parameters:
-
| name | Name of the line, should be one character |
| value | Text of the line |
virtual void buildBody |
( |
|
) |
const [protected, virtual] |
Override that is called internally to build the binary encoded body
Implements MimeBody.
virtual MimeBody* clone |
( |
|
) |
const [virtual] |
Duplicate this MIME body
- Returns:
- Copy of this MIME body - a new MimeSdpBody
Implements MimeBody.
Retrieve the first line matching a name
- Parameters:
-
| name | Name of the line to search |
- Returns:
- First instance of the searched name or NULL if none present
Retrieve the next line of the same type as the current
- Parameters:
-
- Returns:
- Next instance of same name or NULL if no more
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 bool isSDP |
( |
|
) |
const [inline, virtual] |
Override that checks if this body is an Session Description Protocol
- Returns:
- True, since this body holds a SDP
Reimplemented from MimeBody.
const ObjList& lines |
( |
|
) |
const [inline] |
Retrieve the lines hold in data
- Returns:
- List of NamedStrings
The documentation for this class was generated from the following file: