MythTV
master
|
#include <libmythbase/http/mythhttpmetamethod.h>
Static Public Member Functions | |
static HTTPMethodPtr | Create (int Index, QMetaMethod &Method, int RequestTypes, const QString &ReturnName={}, bool Slot=true) |
static void * | CreateParameter (void *Parameter, int Type, const QString &Value) |
Populate the QMetaType object referenced by Parameter with Value. More... | |
static QVariant | CreateReturnValue (int Type, void *Value) |
Public Attributes | |
bool | m_valid { false } |
bool | m_protected { false } |
int | m_index { 0 } |
int | m_requestTypes { HTTPUnknown } |
QMetaMethod | m_method |
std::vector< QString > | m_names |
std::vector< int > | m_types |
QString | m_returnTypeName |
Protected Member Functions | |
MythHTTPMetaMethod (int Index, QMetaMethod &Method, int RequestTypes, const QString &ReturnName, bool Slot) | |
Static Private Member Functions | |
static bool | ValidReturnType (int Type) |
static bool | ToBool (const QString &Value) |
Definition at line 18 of file mythhttpmetamethod.h.
|
protected |
Definition at line 19 of file mythhttpmetamethod.cpp.
Referenced by Create().
|
static |
Definition at line 117 of file mythhttpmetamethod.cpp.
Referenced by MythHTTPMetaService::MythHTTPMetaService().
|
static |
Populate the QMetaType object referenced by Parameter with Value.
Definition at line 132 of file mythhttpmetamethod.cpp.
Referenced by MythHTTPService::HTTPRequest().
|
static |
Definition at line 219 of file mythhttpmetamethod.cpp.
Referenced by MythHTTPService::HTTPRequest().
|
inlinestaticprivate |
Definition at line 42 of file mythhttpmetamethod.h.
Referenced by CreateReturnValue(), and MythHTTPMetaMethod().
|
inlinestaticprivate |
Definition at line 47 of file mythhttpmetamethod.h.
Referenced by CreateParameter().
Definition at line 26 of file mythhttpmetamethod.h.
Referenced by MythHTTPMetaMethod().
Definition at line 27 of file mythhttpmetamethod.h.
int MythHTTPMetaMethod::m_index { 0 } |
Definition at line 28 of file mythhttpmetamethod.h.
int MythHTTPMetaMethod::m_requestTypes { HTTPUnknown } |
Definition at line 29 of file mythhttpmetamethod.h.
QMetaMethod MythHTTPMetaMethod::m_method |
Definition at line 30 of file mythhttpmetamethod.h.
std::vector<QString> MythHTTPMetaMethod::m_names |
Definition at line 31 of file mythhttpmetamethod.h.
Referenced by MythHTTPMetaMethod().
std::vector<int> MythHTTPMetaMethod::m_types |
Definition at line 32 of file mythhttpmetamethod.h.
Referenced by MythHTTPMetaMethod().
QString MythHTTPMetaMethod::m_returnTypeName |
Definition at line 33 of file mythhttpmetamethod.h.
Referenced by MythHTTPMetaMethod().