QxOrm  1.5.0
C++ Object Relational Mapping library
qx::QxPropertyBag Class Reference

qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag) More...

#include <QxPropertyBag.h>

Inheritance diagram for qx::QxPropertyBag:
qx::IxClass qx::IxDataMember qx::IxFunction qx::IxSqlRelation qx::IxValidator qx::QxInvalidValue qx::QxClass< T > qx::QxDataMember< DataType, Owner > qx::QxDataMember_PImpl< DataType, Owner > qx::QxDataMember_PImpl< std::shared_ptr< DataType >, Owner > qx::QxDataMember_PImpl< std::unique_ptr< DataType >, Owner > qx::QxDataMember_QObject 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 > qx::QxSqlRelation< DataType, Owner > qx::QxValidator< Owner > qx::QxValidator_Recursive< DataType, Owner > qx::QxValidator_WithDataType< DataType, Owner >

List of all members.

Public Member Functions

 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

Protected Types

typedef QHash< QString, QVariant > type_hash_prop_bag
typedef std::shared_ptr
< type_hash_prop_bag
type_hash_prop_bag_ptr

Protected Attributes

type_hash_prop_bag_ptr m_lstPropertyBag
 List of all properties in the bag (meta-data)

Private Member Functions

void initPropertyBag ()

Detailed Description

qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag)

Definition at line 56 of file QxPropertyBag.h.


Member Typedef Documentation

typedef QHash<QString, QVariant> qx::QxPropertyBag::type_hash_prop_bag [protected]

Definition at line 61 of file QxPropertyBag.h.

typedef std::shared_ptr<type_hash_prop_bag> qx::QxPropertyBag::type_hash_prop_bag_ptr [protected]

Definition at line 62 of file QxPropertyBag.h.


Constructor & Destructor Documentation

qx::QxPropertyBag::QxPropertyBag ( ) [inline]

Definition at line 68 of file QxPropertyBag.h.

virtual qx::QxPropertyBag::~QxPropertyBag ( ) [inline, virtual]

Definition at line 69 of file QxPropertyBag.h.


Member Function Documentation

void qx::QxPropertyBag::clearPropertyBag ( ) [inline]

Definition at line 74 of file QxPropertyBag.h.

long qx::QxPropertyBag::countPropertyBag ( ) const [inline]

Definition at line 75 of file QxPropertyBag.h.

QList<QString> qx::QxPropertyBag::getAllPropertyBagKeys ( ) const [inline]

Definition at line 76 of file QxPropertyBag.h.

QVariant qx::QxPropertyBag::getPropertyBag ( const QString &  key) const [inline]

Definition at line 72 of file QxPropertyBag.h.

void qx::QxPropertyBag::initPropertyBag ( ) [inline, private]

Definition at line 80 of file QxPropertyBag.h.

void qx::QxPropertyBag::removePropertyBag ( const QString &  key) [inline]

Definition at line 73 of file QxPropertyBag.h.

void qx::QxPropertyBag::setPropertyBag ( const QString &  key,
const QVariant &  value 
) [inline]

Definition at line 71 of file QxPropertyBag.h.


Member Data Documentation

List of all properties in the bag (meta-data)

Definition at line 64 of file QxPropertyBag.h.


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