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>

Inheritance diagram for qx::IxFunction:
qx::QxPropertyBag qx::QxFunction_0< Owner, R > qx::QxFunction_0< void, R > qx::QxFunction_1< Owner, R, P1 > qx::QxFunction_1< void, R, P1 > qx::QxFunction_2< Owner, R, P1, P2 > qx::QxFunction_2< void, R, P1, P2 > qx::QxFunction_3< Owner, R, P1, P2, P3 > qx::QxFunction_3< void, R, P1, P2, P3 > qx::QxFunction_4< Owner, R, P1, P2, P3, P4 > qx::QxFunction_4< void, R, P1, P2, P3, P4 > qx::QxFunction_5< Owner, R, P1, P2, P3, P4, P5 > qx::QxFunction_5< void, R, P1, P2, P3, P4, P5 > qx::QxFunction_6< Owner, R, P1, P2, P3, P4, P5, P6 > qx::QxFunction_6< void, R, P1, P2, P3, P4, P5, P6 > qx::QxFunction_7< Owner, R, P1, P2, P3, P4, P5, P6, P7 > qx::QxFunction_7< void, R, P1, P2, P3, P4, P5, P6, P7 > qx::QxFunction_8< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8 > qx::QxFunction_8< void, R, P1, P2, P3, P4, P5, P6, P7, P8 > qx::QxFunction_9< Owner, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 > qx::QxFunction_9< void, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >

List of all members.

Public Types

typedef std::vector< qx::anytype_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 &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
virtual qx_bool isValidParams (const QString &params) const =0
virtual qx_bool isValidParams (const type_any_params &params) 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

Protected Attributes

QString m_sKey
 Function key.
QString m_sSeparator
 Separator character(s) for 'QString' parameters type.
QString m_sDescription
 Function description.

Detailed Description

qx::IxFunction : common interface for all functions registered into QxOrm context (used by introspection engine)

Definition at line 63 of file IxFunction.h.


Member Typedef Documentation

Definition at line 74 of file IxFunction.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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]
template<class T >
qx_bool qx::IxFunction::isValid ( const T &  params) const [inline]

Definition at line 112 of file IxFunction.h.

template<class T , class U >
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]
template<class T >
qx_bool qx::IxFunction::isValidOwner ( void *  pOwner,
T *  dummy 
) const [inline]

Definition at line 99 of file IxFunction.h.

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.


Member Data Documentation

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.


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