MythTV  master
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Property Class Reference

#include <libmythupnp/upnpcdsobjects.h>

Collaboration diagram for Property:
[legend]

Public Member Functions

 Property (QString sName, QString sNameSpace="", bool bRequired=false, const QString &sValue="", bool bMultiValue=false)
 
void SetValue (const QString &value)
 
QString GetValue (void) const
 
QString GetEncodedValue (void) const
 
void AddAttribute (const QString &sName, const QString &sValue)
 

Public Attributes

QString m_sName
 
QString m_sNameSpace
 
bool m_bRequired {false}
 
bool m_bMultiValue {false}
 
NameValues m_lstAttributes
 

Protected Attributes

QString m_sValue
 

Detailed Description

Definition at line 47 of file upnpcdsobjects.h.

Constructor & Destructor Documentation

◆ Property()

Property::Property ( QString  sName,
QString  sNameSpace = "",
bool  bRequired = false,
const QString &  sValue = "",
bool  bMultiValue = false 
)
inlineexplicit

Definition at line 59 of file upnpcdsobjects.h.

Member Function Documentation

◆ SetValue()

void Property::SetValue ( const QString &  value)
inline

◆ GetValue()

QString Property::GetValue ( void  ) const
inline

Definition at line 78 of file upnpcdsobjects.h.

◆ GetEncodedValue()

QString Property::GetEncodedValue ( void  ) const
inline

Definition at line 83 of file upnpcdsobjects.h.

◆ AddAttribute()

void Property::AddAttribute ( const QString &  sName,
const QString &  sValue 
)
inline

Member Data Documentation

◆ m_sName

QString Property::m_sName

Definition at line 51 of file upnpcdsobjects.h.

Referenced by CDSObject::AddProperty().

◆ m_sNameSpace

QString Property::m_sNameSpace

Definition at line 52 of file upnpcdsobjects.h.

◆ m_bRequired

bool Property::m_bRequired {false}

Definition at line 53 of file upnpcdsobjects.h.

◆ m_bMultiValue

bool Property::m_bMultiValue {false}

Definition at line 54 of file upnpcdsobjects.h.

Referenced by CDSObject::AddProperty().

◆ m_lstAttributes

NameValues Property::m_lstAttributes

Definition at line 55 of file upnpcdsobjects.h.

Referenced by AddAttribute().

◆ m_sValue

QString Property::m_sValue
protected

Definition at line 95 of file upnpcdsobjects.h.

Referenced by GetEncodedValue(), GetValue(), Property(), and SetValue().


The documentation for this class was generated from the following file: