#include <yatejingle.h>
Public Member Functions | |
JGAudio (const char *_id, const char *_name, const char *_clockrate, const char *_bitrate, const char *_synonym) | |
JGAudio (XMLElement *xml) | |
JGAudio (const JGAudio &src) | |
void | set (const char *_id, const char *_name, const char *_clockrate, const char *_bitrate, const char *_synonym) |
virtual const String & | toString () const |
XMLElement * | toXML () |
void | fromXML (XMLElement *xml) |
Public Attributes | |
String | id |
String | name |
String | clockrate |
String | bitrate |
String | synonym |
This class holds a Jingle data payload description
JGAudio | ( | const char * | _id, | |
const char * | _name, | |||
const char * | _clockrate, | |||
const char * | _bitrate, | |||
const char * | _synonym | |||
) | [inline] |
Constructor. Fill this object from the given attributes
_id | The 'id' attribute | |
_name | The 'name' attribute | |
_clockrate | The 'clockrate' attribute | |
_bitrate | The 'bitrate' attribute | |
_synonym | The 'synonym' attribute |
JGAudio | ( | XMLElement * | xml | ) | [inline] |
Constructor. Fill this object from an XML element
xml | The element to fill from |
Copy constructor
References JGAudio::bitrate, JGAudio::clockrate, JGAudio::id, JGAudio::name, and JGAudio::synonym.
void fromXML | ( | XMLElement * | xml | ) |
Fill this object from a given element
xml | The element |
void set | ( | const char * | _id, | |
const char * | _name, | |||
const char * | _clockrate, | |||
const char * | _bitrate, | |||
const char * | _synonym | |||
) | [inline] |
Set the data
_id | The 'id' attribute | |
_name | The 'name' attribute | |
_clockrate | The 'clockrate' attribute | |
_bitrate | The 'bitrate' attribute | |
_synonym | The 'synonym' attribute |
virtual const String& toString | ( | ) | const [inline, virtual] |
Get the string repreasentation (id) of this payload
Reimplemented from GenObject.
XMLElement* toXML | ( | ) |
Create a 'payload-type' element from this object
The bitrate of this payload
Referenced by JGAudio::JGAudio().
The clockrate of this payload
Referenced by JGAudio::JGAudio().
The numeric id of this payload
Referenced by JGAudio::JGAudio().
The Jingle name of this payload
Referenced by JGAudio::JGAudio().
A synonym of this payload's name
Referenced by JGAudio::JGAudio().