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

#include <mythwsdl.h>

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

Public Member Functions

 MythWSDL (MythHTTPMetaService *pMetaService)
 
HTTPResponse GetWSDL (const HTTPRequest2 &Request)
 

Protected Member Functions

QDomElement CreateBindingOperation (const QString &path, const HTTPMethodPtr &handler, const QString &sClassName)
 
QDomElement CreateMessage (const QString &sMsgName, const QString &sTypeName)
 
QDomElement CreateMethodType (const HTTPMethodPtr &handler, QString sTypeName, bool bReturnType=false)
 
QString AddTypeInfo (QString sType)
 

Static Protected Member Functions

static bool IsCustomType (const QString &sTypeName)
 
static QString ReadClassInfo (const QMetaObject *pMeta, const QString &sKey)
 

Protected Attributes

MythHTTPMetaServicem_pMetaService {nullptr}
 
QMap< QString, TypeInfom_typesToInclude
 
QDomElement m_oRoot
 
QDomElement m_oTypes
 
QDomElement m_oLastMsg
 
QDomElement m_oPortType
 
QDomElement m_oBindings
 
QDomElement m_oService
 

Detailed Description

Definition at line 34 of file mythwsdl.h.

Constructor & Destructor Documentation

◆ MythWSDL()

MythWSDL::MythWSDL ( MythHTTPMetaService pMetaService)
inlineexplicit

Definition at line 63 of file mythwsdl.h.

Member Function Documentation

◆ CreateBindingOperation()

QDomElement MythWSDL::CreateBindingOperation ( const QString &  path,
const HTTPMethodPtr handler,
const QString &  sClassName 
)
protected

Definition at line 296 of file mythwsdl.cpp.

Referenced by GetWSDL().

◆ CreateMessage()

QDomElement MythWSDL::CreateMessage ( const QString &  sMsgName,
const QString &  sTypeName 
)
protected

Definition at line 354 of file mythwsdl.cpp.

Referenced by GetWSDL().

◆ CreateMethodType()

QDomElement MythWSDL::CreateMethodType ( const HTTPMethodPtr handler,
QString  sTypeName,
bool  bReturnType = false 
)
protected

Definition at line 375 of file mythwsdl.cpp.

Referenced by GetWSDL().

◆ IsCustomType()

bool MythWSDL::IsCustomType ( const QString &  sTypeName)
staticprotected

Definition at line 492 of file mythwsdl.cpp.

Referenced by CreateMethodType().

◆ ReadClassInfo()

QString MythWSDL::ReadClassInfo ( const QMetaObject *  pMeta,
const QString &  sKey 
)
staticprotected

Definition at line 547 of file mythwsdl.cpp.

Referenced by GetWSDL().

◆ AddTypeInfo()

QString MythWSDL::AddTypeInfo ( QString  sType)
protected

Definition at line 523 of file mythwsdl.cpp.

Referenced by CreateMethodType().

◆ GetWSDL()

HTTPResponse MythWSDL::GetWSDL ( const HTTPRequest2 Request)

Definition at line 28 of file mythwsdl.cpp.

Referenced by MythHTTPService::HTTPRequest().

Member Data Documentation

◆ m_pMetaService

MythHTTPMetaService* MythWSDL::m_pMetaService {nullptr}
protected

Definition at line 38 of file mythwsdl.h.

Referenced by GetWSDL().

◆ m_typesToInclude

QMap<QString, TypeInfo> MythWSDL::m_typesToInclude
protected

Definition at line 39 of file mythwsdl.h.

Referenced by AddTypeInfo(), and GetWSDL().

◆ m_oRoot

QDomElement MythWSDL::m_oRoot
protected

Definition at line 41 of file mythwsdl.h.

Referenced by GetWSDL().

◆ m_oTypes

QDomElement MythWSDL::m_oTypes
protected

Definition at line 42 of file mythwsdl.h.

Referenced by GetWSDL().

◆ m_oLastMsg

QDomElement MythWSDL::m_oLastMsg
protected

Definition at line 43 of file mythwsdl.h.

Referenced by GetWSDL().

◆ m_oPortType

QDomElement MythWSDL::m_oPortType
protected

Definition at line 44 of file mythwsdl.h.

Referenced by GetWSDL().

◆ m_oBindings

QDomElement MythWSDL::m_oBindings
protected

Definition at line 45 of file mythwsdl.h.

Referenced by GetWSDL().

◆ m_oService

QDomElement MythWSDL::m_oService
protected

Definition at line 46 of file mythwsdl.h.

Referenced by GetWSDL().


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