QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
qx::QxFunction_4< void, R, P1, P2, P3, P4 > Class Template Reference

#include <QxFunction_4.h>

Inheritance diagram for qx::QxFunction_4< void, R, P1, P2, P3, P4 >:
qx::IxFunction qx::QxPropertyBag

Classes

struct  QxInvokerFct
 
struct  QxInvokerFct< T, true >
 

Public Types

typedef std::function< R(P1, P2, P3, P4)> type_fct
 
typedef qx::trait::remove_attr< P1, false >::type type_P1
 
typedef qx::trait::remove_attr< P2, false >::type type_P2
 
typedef qx::trait::remove_attr< P3, false >::type type_P3
 
typedef qx::trait::remove_attr< P4, false >::type type_P4
 
- Public Types inherited from qx::IxFunction
typedef std::vector< qx::anytype_any_params
 

Public Member Functions

 QX_FUNCTION_CLASS_FCT (QxFunction_4)
 
virtual int getParamCount () const
 
virtual qx_bool isValidParams (const QString &params) const
 
virtual qx_bool isValidParams (const type_any_params &params) 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 &params=QString(), qx::any *ret=NULL) const =0
 
virtual qx_bool invoke (const type_any_params &params, qx::any *ret=NULL) const =0
 
virtual qx_bool invoke (void *pOwner, const QString &params=QString(), qx::any *ret=NULL) const =0
 
virtual qx_bool invoke (void *pOwner, const type_any_params &params, 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 &params) const
 
template<class T , class U >
qx_bool isValid (void *pOwner, const T &params, 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_bagtype_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)
 

Detailed Description

template<typename R, typename P1, typename P2, typename P3, typename P4>
class qx::QxFunction_4< void, R, P1, P2, P3, P4 >

Definition at line 107 of file QxFunction_4.h.

Member Typedef Documentation

◆ type_fct

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
typedef std::function<R (P1, P2, P3, P4)> qx::QxFunction_4< void, R, P1, P2, P3, P4 >::type_fct

Definition at line 112 of file QxFunction_4.h.

◆ type_P1

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
typedef qx::trait::remove_attr<P1,false>::type qx::QxFunction_4< void, R, P1, P2, P3, P4 >::type_P1

Definition at line 113 of file QxFunction_4.h.

◆ type_P2

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
typedef qx::trait::remove_attr<P2,false>::type qx::QxFunction_4< void, R, P1, P2, P3, P4 >::type_P2

Definition at line 114 of file QxFunction_4.h.

◆ type_P3

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
typedef qx::trait::remove_attr<P3,false>::type qx::QxFunction_4< void, R, P1, P2, P3, P4 >::type_P3

Definition at line 115 of file QxFunction_4.h.

◆ type_P4

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
typedef qx::trait::remove_attr<P4,false>::type qx::QxFunction_4< void, R, P1, P2, P3, P4 >::type_P4

Definition at line 116 of file QxFunction_4.h.

Member Function Documentation

◆ getParamCount()

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
virtual int qx::QxFunction_4< void, R, P1, P2, P3, P4 >::getParamCount ( ) const
inlinevirtual

Implements qx::IxFunction.

Definition at line 119 of file QxFunction_4.h.

◆ isValidParams() [1/2]

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
virtual qx_bool qx::QxFunction_4< void, R, P1, P2, P3, P4 >::isValidParams ( const QString & params) const
inlinevirtual

Implements qx::IxFunction.

Definition at line 120 of file QxFunction_4.h.

◆ isValidParams() [2/2]

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
virtual qx_bool qx::QxFunction_4< void, R, P1, P2, P3, P4 >::isValidParams ( const type_any_params & params) const
inlinevirtual

Implements qx::IxFunction.

Definition at line 121 of file QxFunction_4.h.

◆ QX_FUNCTION_CLASS_FCT()

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 >
qx::QxFunction_4< void, R, P1, P2, P3, P4 >::QX_FUNCTION_CLASS_FCT ( QxFunction_4< void, R, P1, P2, P3, P4 > )

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