QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::QxValidator_WithDataType<DataType, Owner> : concrete class for a custom validator with data type More...
#include <QxValidator.h>
Public Types | |
typedef std::function< void(const DataType &, QxInvalidValueX &)> | type_fct_custom_validator_data_type |
typedef std::function< void(const DataType &, const IxValidator *, QxInvalidValueX &) | type_fct_custom_validator_data_type_validator ) |
Public Member Functions | |
QxValidator_WithDataType () | |
virtual | ~QxValidator_WithDataType () |
void | setFunction (type_fct_custom_validator_data_type fct) |
void | setFunction (type_fct_custom_validator_data_type_validator fct) |
virtual void | validate (void *pOwner, QxInvalidValueX &lstInvalidValues) const |
Protected Attributes | |
type_fct_custom_validator_data_type | m_fctCustomValidator_DataType |
Custom validator function : global function with value. | |
type_fct_custom_validator_data_type_validator | m_fctCustomValidator_DataTypeValidator |
Custom validator function : global function with value and a IxValidator pointer containing all parameters. |
qx::QxValidator_WithDataType<DataType, Owner> : concrete class for a custom validator with data type
For more informations about QxValidator module, goto the FAQ of QxOrm website : https://www.qxorm.com/qxorm_en/faq.html#faq_250
Definition at line 108 of file QxValidator.h.
typedef std::function<void (const DataType &, QxInvalidValueX &)> qx::QxValidator_WithDataType< DataType, Owner >::type_fct_custom_validator_data_type |
Definition at line 113 of file QxValidator.h.
typedef std::function<void (const DataType &, const IxValidator *, QxInvalidValueX &) qx::QxValidator_WithDataType< DataType, Owner >::type_fct_custom_validator_data_type_validator) |
Definition at line 114 of file QxValidator.h.
qx::QxValidator_WithDataType< DataType, Owner >::QxValidator_WithDataType | ( | ) | [inline] |
Definition at line 123 of file QxValidator.h.
virtual qx::QxValidator_WithDataType< DataType, Owner >::~QxValidator_WithDataType | ( | ) | [inline, virtual] |
Definition at line 124 of file QxValidator.h.
void qx::QxValidator_WithDataType< DataType, Owner >::setFunction | ( | type_fct_custom_validator_data_type | fct | ) | [inline] |
Definition at line 126 of file QxValidator.h.
void qx::QxValidator_WithDataType< DataType, Owner >::setFunction | ( | type_fct_custom_validator_data_type_validator | fct | ) | [inline] |
Definition at line 127 of file QxValidator.h.
virtual void qx::QxValidator_WithDataType< DataType, Owner >::validate | ( | void * | pOwner, |
QxInvalidValueX & | lstInvalidValues | ||
) | const [inline, virtual] |
Reimplemented from qx::IxValidator.
Definition at line 129 of file QxValidator.h.
type_fct_custom_validator_data_type qx::QxValidator_WithDataType< DataType, Owner >::m_fctCustomValidator_DataType [protected] |
Custom validator function : global function with value.
Definition at line 118 of file QxValidator.h.
type_fct_custom_validator_data_type_validator qx::QxValidator_WithDataType< DataType, Owner >::m_fctCustomValidator_DataTypeValidator [protected] |
Custom validator function : global function with value and a IxValidator pointer containing all parameters.
Definition at line 119 of file QxValidator.h.