Wexus2 0.20
wexus::ActiveClass::ActiveFieldType< RECT, DATT > Class Template Reference
Inheritance diagram for wexus::ActiveClass::ActiveFieldType< RECT, DATT >:

List of all members.

Public Types

typedef DATT RECT::* MemberPtr

Public Member Functions

 ActiveFieldType (int style, const QString &fieldName, const QString &fieldType, const ValidationExpr &valexpr, const QVariant &initVal, MemberPtr memberptr)
virtual QVariant toVariant (const ActiveRecord *inst) const
virtual void setVariant (ActiveRecord *inst, const QVariant &v)

template<class RECT, class DATT>
class wexus::ActiveClass::ActiveFieldType< RECT, DATT >


Member Function Documentation

template<class RECT, class DATT>
virtual void wexus::ActiveClass::ActiveFieldType< RECT, DATT >::setVariant ( ActiveRecord inst,
const QVariant &  v 
) [inline, virtual]

Sets the value of thie field in the given wexus::ActiveRecord instance to v.

Author:
Aleksander Demko

Implements wexus::ActiveClass::ActiveField.

template<class RECT, class DATT>
virtual QVariant wexus::ActiveClass::ActiveFieldType< RECT, DATT >::toVariant ( const ActiveRecord inst) const [inline, virtual]

Converts the current value of this field in the given wexus::ActiveRecord instance to a QVariant and returns it.

Author:
Aleksander Demko

Implements wexus::ActiveClass::ActiveField.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator