![]() |
QxOrm 1.4.9
C++ Object Relational Mapping library
|
qx::QxValidator_Recursive<DataType, Owner> : concrete class for a recursive validator More...
#include <QxValidator.h>
Public Member Functions | |
QxValidator_Recursive () | |
virtual | ~QxValidator_Recursive () |
virtual void | validate (void *pOwner, QxInvalidValueX &lstInvalidValues) const |
![]() | |
IxValidator (validator_type type) | |
virtual | ~IxValidator () |
validator_type | getType () const |
QString | getMessage () const |
QString | getGroup () const |
QVariant | getConstraint () const |
QVariantList | getConstraints () const |
IxDataMember * | getDataMember () const |
void | setMessage (const QString &s) |
void | setGroup (const QString &s) |
void | setConstraint (const QVariant &v) |
void | setConstraints (const QVariantList &lst) |
void | setDataMember (IxDataMember *p) |
![]() | |
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 | |
![]() | |
enum | validator_type { not_null , not_empty , min_value , max_value , min_length , max_length , date_past , date_future , min_decimal , max_decimal , regular_expression , e_mail , recursive_validator , custom_validator } |
![]() | |
typedef QHash< QString, QVariant > | type_hash_prop_bag |
typedef std::shared_ptr< type_hash_prop_bag > | type_hash_prop_bag_ptr |
![]() | |
void | initDefaultMessage () |
void | validateNotNull (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateNotEmpty (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateMinValue (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateMaxValue (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateMinDecimal (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateMaxDecimal (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateMinLength (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateMaxLength (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateDatePast (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateDateFuture (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateRegularExpression (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
void | validateEMail (const QVariant &v, QxInvalidValueX &lstInvalidValues) const |
![]() | |
validator_type | m_type |
Validator type. | |
QString | m_message |
Validator message when invalid value is detected. | |
QString | m_group |
Validator group. | |
QVariantList | m_Constraints |
List of constraints to verify. | |
IxDataMember * | m_pDataMember |
Registered property associated to validator. | |
![]() | |
type_hash_prop_bag_ptr | m_lstPropertyBag |
List of all properties in the bag (meta-data) | |
qx::QxValidator_Recursive<DataType, Owner> : concrete class for a recursive validator
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 150 of file QxValidator.h.
|
inline |
Definition at line 155 of file QxValidator.h.
|
inlinevirtual |
Definition at line 156 of file QxValidator.h.
|
inlinevirtual |
Reimplemented from qx::IxValidator.
Definition at line 158 of file QxValidator.h.