32#ifndef _QX_FUNCTION_9_H_
33#define _QX_FUNCTION_9_H_
55template <
class Owner,
typename R,
typename P1,
typename P2,
typename P3,
typename P4,
typename P5,
typename P6,
typename P7,
typename P8,
typename P9>
61 typedef std::function<R (Owner *, P1, P2, P3, P4, P5, P6, P7, P8, P9)>
type_fct;
79 template <
class T,
bool bReturnValue >
94 try { pThis->m_fct(
static_cast<Owner *
>(pOwner), p1, p2, p3, p4, p5, p6, p7, p8, p9); }
114 try { R retTmp = pThis->m_fct(
static_cast<Owner *
>(pOwner), p1, p2, p3, p4, p5, p6, p7, p8, p9);
if (ret) { (* ret) =
qx::any(retTmp); } }
121template <
typename R,
typename P1,
typename P2,
typename P3,
typename P4,
typename P5,
typename P6,
typename P7,
typename P8,
typename P9>
122class QxFunction_9<void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9> :
public IxFunction
127 typedef std::function<R (P1, P2, P3, P4, P5, P6, P7, P8, P9)>
type_fct;
145 template <
class T,
bool bReturnValue >
160 try { pThis->m_fct(p1, p2, p3, p4, p5, p6, p7, p8, p9); }
180 try { R retTmp = pThis->m_fct(p1, p2, p3, p4, p5, p6, p7, p8, p9);
if (ret) { (* ret) =
qx::any(retTmp); } }
189template <
class Owner,
typename R,
typename P1,
typename P2,
typename P3,
typename P4,
typename P5,
typename P6,
typename P7,
typename P8,
typename P9>
190IxFunction_ptr bind_fct_9(
const typename QxFunction_9<Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9>::type_fct & fct)
192 typedef std::is_same<Owner, void> qx_verify_owner_tmp;
193 static_assert(qx_verify_owner_tmp::value,
"qx_verify_owner_tmp::value");
194 IxFunction_ptr ptr = std::make_shared<QxFunction_9<void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9> >(fct);
198template <
class Owner,
typename R,
typename P1,
typename P2,
typename P3,
typename P4,
typename P5,
typename P6,
typename P7,
typename P8,
typename P9>
199IxFunction_ptr bind_member_fct_9(
const typename QxFunction_9<Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9>::type_fct & fct)
201 typedef std::is_same<Owner, void> qx_verify_owner_tmp;
202 static_assert(! qx_verify_owner_tmp::value,
"! qx_verify_owner_tmp::value");
203 IxFunction_ptr ptr = std::make_shared<QxFunction_9<Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9> >(fct);
Common interface for all functions registered into QxOrm context (used by introspection engine)
#define QX_FUNCTION_FETCH_PARAM(TYPE, VALUE, FCT)
#define QX_FUNCTION_INVOKE_START_WITHOUT_OWNER()
#define QX_FUNCTION_INVOKE_START_WITH_OWNER()
#define QX_FUNCTION_CATCH_AND_RETURN_INVOKE()
qx::function::detail::get_param_X() : provide some helper functions to retrieve parameters for all qx...
qx::IxFunction : common interface for all functions registered into QxOrm context (used by introspect...
std::vector< qx::any > type_any_params
qx_bool : boolean type with code and description message when an error occured
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::QX_FUNCTION_CLASS_FCT QX_FUNCTION_CLASS_FCT(QxFunction_9)
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P1 qx::trait::remove_attr< P1, false >::type type_P1
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P6 qx::trait::remove_attr< P6, false >::type type_P6
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P4 qx::trait::remove_attr< P4, false >::type type_P4
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P5 qx::trait::remove_attr< P5, false >::type type_P5
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P2 qx::trait::remove_attr< P2, false >::type type_P2
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P8 qx::trait::remove_attr< P8, false >::type type_P8
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P7 qx::trait::remove_attr< P7, false >::type type_P7
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P3 qx::trait::remove_attr< P3, false >::type type_P3
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::isValidParams virtual qx_bool isValidParams(const QString ¶ms) const
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::isValidParams virtual qx_bool isValidParams(const type_any_params ¶ms) const
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_fct std::function< R(P1, P2, P3, P4, P5, P6, P7, P8, P9)> type_fct
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_P9 qx::trait::remove_attr< P9, false >::type type_P9
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::getParamCount virtual int getParamCount() const
qx::QxFunction_9<Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9> : concrete function registered into Qx...
qx::trait::remove_attr< P5, false >::type type_P5
qx::trait::remove_attr< P4, false >::type type_P4
qx::trait::remove_attr< P2, false >::type type_P2
qx::trait::remove_attr< P7, false >::type type_P7
qx::trait::remove_attr< P9, false >::type type_P9
virtual int getParamCount() const
qx::trait::remove_attr< P1, false >::type type_P1
std::function< R(Owner *, P1, P2, P3, P4, P5, P6, P7, P8, P9)> type_fct
virtual qx_bool isValidParams(const type_any_params ¶ms) const
virtual qx_bool isValidParams(const QString ¶ms) const
QX_FUNCTION_CLASS_MEMBER_FCT(QxFunction_9)
qx::trait::remove_attr< P8, false >::type type_P8
qx::trait::remove_attr< P3, false >::type type_P3
qx::trait::remove_attr< P6, false >::type type_P6
IxFunction_ptr bind_fct_9(const typename QxFunction_9< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_fct &fct)
IxFunction_ptr bind_member_fct_9(const typename QxFunction_9< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::type_fct &fct)
Root namespace for all QxOrm library features.
std::shared_ptr< IxFunction > IxFunction_ptr
static qx_bool invoke(void *pOwner, const T ¶ms, qx::any *ret, const QxFunction_9 *pThis)
static qx_bool invoke(void *pOwner, const T ¶ms, qx::any *ret, const QxFunction_9 *pThis)
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::QxInvokerFct< T, true >::invoke static qx_bool invoke(const T ¶ms, qx::any *ret, const QxFunction_9 *pThis)
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::QxInvokerFct
qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::QxInvokerFct::invoke static qx_bool invoke(const T ¶ms, qx::any *ret, const QxFunction_9 *pThis)