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

#include <soapSerializer.h>

Inheritance diagram for SoapSerializer:
Inheritance graph
[legend]
Collaboration diagram for SoapSerializer:
Collaboration graph
[legend]

Public Member Functions

 SoapSerializer (QIODevice *pDevice, const QString &sNamespace, const QString &sRequestName)
 
 ~SoapSerializer () override=default
 
void AddHeaders (QStringMap &headers) override
 
- Public Member Functions inherited from XmlSerializer
 XmlSerializer (QIODevice *pDevice, const QString &sRequestName)
 
virtual ~XmlSerializer ()
 
QString GetContentType () override
 
 XmlSerializer (const XmlSerializer &)=delete
 
XmlSerializeroperator= (const XmlSerializer &)=delete
 
- Public Member Functions inherited from Serializer
virtual void Serialize (const QObject *pObject, const QString &_sName=QString())
 
virtual void Serialize (const QVariant &vValue, const QString &sName)
 
 Serializer ()
 

Protected Member Functions

void BeginSerialize (QString &sName) override
 
- Protected Member Functions inherited from XmlSerializer
void BeginSerialize (QString &sName) override
 
void EndSerialize () override
 
void BeginObject (const QString &sName, const QObject *pObject) override
 
void EndObject (const QString &sName, const QObject *pObject) override
 
void AddProperty (const QString &sName, const QVariant &vValue, const QMetaObject *pMetaParent, const QMetaProperty *pMetaProp) override
 
void RenderValue (const QString &sName, const QVariant &vValue)
 
void RenderEnum (const QString &sName, const QVariant &vValue, const QMetaProperty *pMetaProp)
 
void RenderStringList (const QString &sName, const QStringList &list)
 
void RenderList (const QString &sName, const QVariantList &list)
 
void RenderMap (const QString &sName, const QVariantMap &map)
 
- Protected Member Functions inherited from Serializer
void SerializeObject (const QObject *pObject, const QString &sName)
 
void SerializeObjectProperties (const QObject *pObject)
 

Protected Attributes

QString m_sNamespace
 
- Protected Attributes inherited from XmlSerializer
QXmlStreamWriter * m_pXmlWriter {nullptr}
 
QString m_sRequestName
 
bool m_bIsRoot {true}
 
- Protected Attributes inherited from Serializer
QCryptographicHash m_hash
 

Additional Inherited Members

- Public Attributes inherited from XmlSerializer
bool PropertiesAsAttributes {true}
 
- Static Protected Member Functions inherited from XmlSerializer
static QString GetItemName (const QString &sName)
 
static QString GetContentName (const QString &sName, const QMetaObject *pMetaObject, const QMetaProperty *pMetaProp)
 
static QString FindOptionValue (const QStringList &sOptions, const QString &sName)
 
- Static Protected Member Functions inherited from Serializer
static QString ReadPropertyMetadata (const QObject *pObject, const QString &sPropName, const QString &sKey)
 

Detailed Description

Definition at line 27 of file soapSerializer.h.

Constructor & Destructor Documentation

◆ SoapSerializer()

SoapSerializer::SoapSerializer ( QIODevice *  pDevice,
const QString &  sNamespace,
const QString &  sRequestName 
)
inline

Definition at line 31 of file soapSerializer.h.

◆ ~SoapSerializer()

SoapSerializer::~SoapSerializer ( )
overridedefault

Member Function Documentation

◆ AddHeaders()

void SoapSerializer::AddHeaders ( QStringMap headers)
inlineoverridevirtual

Reimplemented from Serializer.

Definition at line 44 of file soapSerializer.h.

◆ BeginSerialize()

void SoapSerializer::BeginSerialize ( QString &  sName)
inlineoverrideprotectedvirtual

Reimplemented from Serializer.

Definition at line 61 of file soapSerializer.h.

Member Data Documentation

◆ m_sNamespace

QString SoapSerializer::m_sNamespace
protected

Definition at line 55 of file soapSerializer.h.


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