QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::IxFunction : common interface for all functions registered into QxOrm context (used by introspection engine) More...
#include <IxFunction.h>
Public Types | |
typedef std::vector< qx::any > | type_any_params |
Public Member Functions | |
IxFunction () | |
virtual | ~IxFunction () |
QString | getKey () const |
QString | getSeparator () const |
QString | getDescription () const |
void | setKey (const QString &s) |
void | setSeparator (const QString &s) |
void | setDescription (const QString &s) |
virtual int | getParamCount () const =0 |
virtual qx_bool | invoke (const QString ¶ms=QString(), qx::any *ret=NULL) const =0 |
virtual qx_bool | invoke (const type_any_params ¶ms, qx::any *ret=NULL) const =0 |
virtual qx_bool | invoke (void *pOwner, const QString ¶ms=QString(), qx::any *ret=NULL) const =0 |
virtual qx_bool | invoke (void *pOwner, const type_any_params ¶ms, qx::any *ret=NULL) const =0 |
virtual qx_bool | isValidFct () const =0 |
virtual qx_bool | isValidParams (const QString ¶ms) const =0 |
virtual qx_bool | isValidParams (const type_any_params ¶ms) const =0 |
template<class T > | |
qx_bool | isValidOwner (void *pOwner, T *dummy) const |
template<class T > | |
qx_bool | isValid (const T ¶ms) const |
template<class T , class U > | |
qx_bool | isValid (void *pOwner, const T ¶ms, U *dummy) const |
Protected Attributes | |
QString | m_sKey |
Function key. | |
QString | m_sSeparator |
Separator character(s) for 'QString' parameters type. | |
QString | m_sDescription |
Function description. |
qx::IxFunction : common interface for all functions registered into QxOrm context (used by introspection engine)
Definition at line 63 of file IxFunction.h.
typedef std::vector<qx::any> qx::IxFunction::type_any_params |
Definition at line 74 of file IxFunction.h.
qx::IxFunction::IxFunction | ( | ) | [inline] |
Definition at line 76 of file IxFunction.h.
virtual qx::IxFunction::~IxFunction | ( | ) | [inline, virtual] |
Definition at line 77 of file IxFunction.h.
QString qx::IxFunction::getDescription | ( | ) | const [inline] |
Definition at line 81 of file IxFunction.h.
QString qx::IxFunction::getKey | ( | ) | const [inline] |
Definition at line 79 of file IxFunction.h.
virtual int qx::IxFunction::getParamCount | ( | ) | const [pure virtual] |
Implemented in qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >, qx::QxFunction_8< void, R, P1, P2, P3, P4, P5, P6, P7, P8 >, qx::QxFunction_7< void, R, P1, P2, P3, P4, P5, P6, P7 >, qx::QxFunction_6< void, R, P1, P2, P3, P4, P5, P6 >, qx::QxFunction_5< void, R, P1, P2, P3, P4, P5 >, qx::QxFunction_4< void, R, P1, P2, P3, P4 >, qx::QxFunction_3< void, R, P1, P2, P3 >, qx::QxFunction_2< void, R, P1, P2 >, qx::QxFunction_1< void, R, P1 >, qx::QxFunction_0< void, R >, qx::QxFunction_9< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >, qx::QxFunction_8< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8 >, qx::QxFunction_7< Owner, R, P1, P2, P3, P4, P5, P6, P7 >, qx::QxFunction_6< Owner, R, P1, P2, P3, P4, P5, P6 >, qx::QxFunction_5< Owner, R, P1, P2, P3, P4, P5 >, qx::QxFunction_4< Owner, R, P1, P2, P3, P4 >, qx::QxFunction_3< Owner, R, P1, P2, P3 >, qx::QxFunction_2< Owner, R, P1, P2 >, qx::QxFunction_1< Owner, R, P1 >, and qx::QxFunction_0< Owner, R >.
QString qx::IxFunction::getSeparator | ( | ) | const [inline] |
Definition at line 80 of file IxFunction.h.
virtual qx_bool qx::IxFunction::invoke | ( | const QString & | params = QString() , |
qx::any * | ret = NULL |
||
) | const [pure virtual] |
virtual qx_bool qx::IxFunction::invoke | ( | const type_any_params & | params, |
qx::any * | ret = NULL |
||
) | const [pure virtual] |
virtual qx_bool qx::IxFunction::invoke | ( | void * | pOwner, |
const QString & | params = QString() , |
||
qx::any * | ret = NULL |
||
) | const [pure virtual] |
virtual qx_bool qx::IxFunction::invoke | ( | void * | pOwner, |
const type_any_params & | params, | ||
qx::any * | ret = NULL |
||
) | const [pure virtual] |
qx_bool qx::IxFunction::isValid | ( | const T & | params | ) | const [inline] |
Definition at line 112 of file IxFunction.h.
qx_bool qx::IxFunction::isValid | ( | void * | pOwner, |
const T & | params, | ||
U * | dummy | ||
) | const [inline] |
Definition at line 120 of file IxFunction.h.
virtual qx_bool qx::IxFunction::isValidFct | ( | ) | const [pure virtual] |
qx_bool qx::IxFunction::isValidOwner | ( | void * | pOwner, |
T * | dummy | ||
) | const [inline] |
Definition at line 99 of file IxFunction.h.
virtual qx_bool qx::IxFunction::isValidParams | ( | const QString & | params | ) | const [pure virtual] |
Implemented in qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >, qx::QxFunction_8< void, R, P1, P2, P3, P4, P5, P6, P7, P8 >, qx::QxFunction_7< void, R, P1, P2, P3, P4, P5, P6, P7 >, qx::QxFunction_6< void, R, P1, P2, P3, P4, P5, P6 >, qx::QxFunction_5< void, R, P1, P2, P3, P4, P5 >, qx::QxFunction_4< void, R, P1, P2, P3, P4 >, qx::QxFunction_3< void, R, P1, P2, P3 >, qx::QxFunction_2< void, R, P1, P2 >, qx::QxFunction_1< void, R, P1 >, qx::QxFunction_0< void, R >, qx::QxFunction_9< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >, qx::QxFunction_8< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8 >, qx::QxFunction_7< Owner, R, P1, P2, P3, P4, P5, P6, P7 >, qx::QxFunction_6< Owner, R, P1, P2, P3, P4, P5, P6 >, qx::QxFunction_5< Owner, R, P1, P2, P3, P4, P5 >, qx::QxFunction_4< Owner, R, P1, P2, P3, P4 >, qx::QxFunction_3< Owner, R, P1, P2, P3 >, qx::QxFunction_2< Owner, R, P1, P2 >, qx::QxFunction_1< Owner, R, P1 >, and qx::QxFunction_0< Owner, R >.
virtual qx_bool qx::IxFunction::isValidParams | ( | const type_any_params & | params | ) | const [pure virtual] |
Implemented in qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >, qx::QxFunction_8< void, R, P1, P2, P3, P4, P5, P6, P7, P8 >, qx::QxFunction_7< void, R, P1, P2, P3, P4, P5, P6, P7 >, qx::QxFunction_6< void, R, P1, P2, P3, P4, P5, P6 >, qx::QxFunction_5< void, R, P1, P2, P3, P4, P5 >, qx::QxFunction_4< void, R, P1, P2, P3, P4 >, qx::QxFunction_3< void, R, P1, P2, P3 >, qx::QxFunction_2< void, R, P1, P2 >, qx::QxFunction_1< void, R, P1 >, qx::QxFunction_0< void, R >, qx::QxFunction_9< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >, qx::QxFunction_8< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8 >, qx::QxFunction_7< Owner, R, P1, P2, P3, P4, P5, P6, P7 >, qx::QxFunction_6< Owner, R, P1, P2, P3, P4, P5, P6 >, qx::QxFunction_5< Owner, R, P1, P2, P3, P4, P5 >, qx::QxFunction_4< Owner, R, P1, P2, P3, P4 >, qx::QxFunction_3< Owner, R, P1, P2, P3 >, qx::QxFunction_2< Owner, R, P1, P2 >, qx::QxFunction_1< Owner, R, P1 >, and qx::QxFunction_0< Owner, R >.
void qx::IxFunction::setDescription | ( | const QString & | s | ) | [inline] |
Definition at line 85 of file IxFunction.h.
void qx::IxFunction::setKey | ( | const QString & | s | ) | [inline] |
Definition at line 83 of file IxFunction.h.
void qx::IxFunction::setSeparator | ( | const QString & | s | ) | [inline] |
Definition at line 84 of file IxFunction.h.
QString qx::IxFunction::m_sDescription [protected] |
Function description.
Definition at line 70 of file IxFunction.h.
QString qx::IxFunction::m_sKey [protected] |
Function key.
Definition at line 68 of file IxFunction.h.
QString qx::IxFunction::m_sSeparator [protected] |
Separator character(s) for 'QString' parameters type.
Definition at line 69 of file IxFunction.h.