![]() |
QxOrm 1.4.9
C++ Object Relational Mapping library
|
qx::QxFunction_0<Owner, R> : concrete function registered into QxOrm context defined into class Owner, returning an object of type R and without parameter More...
#include <QxFunction_0.h>
Classes | |
| struct | QxInvokerFct |
| struct | QxInvokerFct< T, true > |
Public Types | |
| typedef std::function< R(Owner *)> | type_fct |
Public Types inherited from qx::IxFunction | |
| typedef std::vector< qx::any > | type_any_params |
Public Member Functions | |
| QX_FUNCTION_CLASS_MEMBER_FCT (QxFunction_0) | |
| virtual int | getParamCount () const |
| virtual qx_bool | isValidParams (const QString ¶ms) const |
| virtual qx_bool | isValidParams (const type_any_params ¶ms) const |
Public Member Functions inherited from qx::IxFunction | |
| 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 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 |
| 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 |
Public Member Functions inherited from qx::QxPropertyBag | |
| QxPropertyBag () | |
| virtual | ~QxPropertyBag () |
| void | setPropertyBag (const QString &key, const QVariant &value) |
| QVariant | getPropertyBag (const QString &key) const |
| void | removePropertyBag (const QString &key) |
| void | clearPropertyBag () |
| long | countPropertyBag () const |
| QList< QString > | getAllPropertyBagKeys () const |
Additional Inherited Members | |
Protected Types inherited from qx::QxPropertyBag | |
| typedef QHash< QString, QVariant > | type_hash_prop_bag |
| typedef std::shared_ptr< type_hash_prop_bag > | type_hash_prop_bag_ptr |
Protected Attributes inherited from qx::IxFunction | |
| QString | m_sKey |
| Function key. | |
| QString | m_sSeparator |
| Separator character(s) for 'QString' parameters type. | |
| QString | m_sDescription |
| Function description. | |
Protected Attributes inherited from qx::QxPropertyBag | |
| type_hash_prop_bag_ptr | m_lstPropertyBag |
| List of all properties in the bag (meta-data) | |
qx::QxFunction_0<Owner, R> : concrete function registered into QxOrm context defined into class Owner, returning an object of type R and without parameter
Definition at line 56 of file QxFunction_0.h.
| typedef std::function<R (Owner *)> qx::QxFunction_0< Owner, R >::type_fct |
Definition at line 61 of file QxFunction_0.h.
|
inlinevirtual |
Implements qx::IxFunction.
Definition at line 64 of file QxFunction_0.h.
|
inlinevirtual |
Implements qx::IxFunction.
Definition at line 65 of file QxFunction_0.h.
|
inlinevirtual |
Implements qx::IxFunction.
Definition at line 66 of file QxFunction_0.h.
| qx::QxFunction_0< Owner, R >::QX_FUNCTION_CLASS_MEMBER_FCT | ( | QxFunction_0< Owner, R > | ) |