xbmc
|
The PLT_ActionDesc class provides information about a UPnP Service given action. More...
#include <PltAction.h>
Public Member Functions | |
PLT_ActionDesc (const char *name, PLT_Service *service) | |
Constructor. More... | |
NPT_Array< PLT_ArgumentDesc * > & | GetArgumentDescs () |
Return an array of arguments. More... | |
const NPT_String & | GetName () const |
Return the action name. More... | |
PLT_ArgumentDesc * | GetArgumentDesc (const char *name) |
Look for an argument given a name. More... | |
NPT_Result | GetSCPDXML (NPT_XmlElementNode *node) |
Serialize action information to xml into an existing xml tree. More... | |
PLT_Service * | GetService () |
Return the service the action is associated with. | |
Protected Attributes | |
NPT_String | m_Name |
PLT_Service * | m_Service |
NPT_Array< PLT_ArgumentDesc * > | m_ArgumentDescs |
The PLT_ActionDesc class provides information about a UPnP Service given action.
This description has a name, a set of arguments and is associated to a service.
PLT_ActionDesc::PLT_ActionDesc | ( | const char * | name, |
PLT_Service * | service | ||
) |
Constructor.
name | the action name |
service | the UPnP service the action is associated with |
PLT_ArgumentDesc * PLT_ActionDesc::GetArgumentDesc | ( | const char * | name | ) |
|
inline |
Return an array of arguments.
|
inline |
Return the action name.
NPT_Result PLT_ActionDesc::GetSCPDXML | ( | NPT_XmlElementNode * | node | ) |
Serialize action information to xml into an existing xml tree.
node | the xml Element to serialize action information |