|
| | MethodParameters (int Index, QMetaMethod Method, int AllowedRequestTypes, const QString &ReturnType) |
| |
| | ~MethodParameters ()=default |
| |
| QVariant | Invoke (QObject *Object, const QMap< QString, QString > &Queries, QString &ReturnType, bool &VoidResult) |
| | Call the stored method with the arguments passed in via Queries. More...
|
| |
| void | Disable (void) |
| | Disable this method. More...
|
| |
| void | Enable (void) |
| | Enable this method. More...
|
| |
|
| static void | SetValue (void *Pointer, const QString &Value, int Type) |
| |
| static bool | ToBool (const QString &Value) |
| |
Definition at line 41 of file torchttpservice.cpp.
| MethodParameters::MethodParameters |
( |
int |
Index, |
|
|
QMetaMethod |
Method, |
|
|
int |
AllowedRequestTypes, |
|
|
const QString & |
ReturnType |
|
) |
| |
|
inline |
| MethodParameters::~MethodParameters |
( |
| ) |
|
|
default |
| void MethodParameters::Disable |
( |
void |
| ) |
|
|
inline |
| void MethodParameters::Enable |
( |
void |
| ) |
|
|
inline |
| QVariant MethodParameters::Invoke |
( |
QObject * |
Object, |
|
|
const QMap< QString, QString > & |
Queries, |
|
|
QString & |
ReturnType, |
|
|
bool & |
VoidResult |
|
) |
| |
|
inline |
Call the stored method with the arguments passed in via Queries.
- Note
- Invoke is not thread safe and any method exposed using this class MUST ensure thread safety.
Definition at line 120 of file torchttpservice.cpp.
| static void MethodParameters::SetValue |
( |
void * |
Pointer, |
|
|
const QString & |
Value, |
|
|
int |
Type |
|
) |
| |
|
inlinestatic |
| static bool MethodParameters::ToBool |
( |
const QString & |
Value | ) |
|
|
inlinestatic |
| int MethodParameters::m_allowedRequestTypes |
| int MethodParameters::m_index |
| QMetaMethod MethodParameters::m_method |
| QVector<QByteArray> MethodParameters::m_names |
| QString MethodParameters::m_returnType |
| QVector<int> MethodParameters::m_types |
| bool MethodParameters::m_valid |
The documentation for this class was generated from the following file: