QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
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 >

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_bagtype_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

◆ type_hash_prop_bag

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

Definition at line 61 of file QxPropertyBag.h.

◆ type_hash_prop_bag_ptr

Definition at line 62 of file QxPropertyBag.h.

Constructor & Destructor Documentation

◆ QxPropertyBag()

qx::QxPropertyBag::QxPropertyBag ( )
inline

Definition at line 68 of file QxPropertyBag.h.

◆ ~QxPropertyBag()

virtual qx::QxPropertyBag::~QxPropertyBag ( )
inlinevirtual

Definition at line 69 of file QxPropertyBag.h.

Member Function Documentation

◆ clearPropertyBag()

void qx::QxPropertyBag::clearPropertyBag ( )
inline

Definition at line 74 of file QxPropertyBag.h.

◆ countPropertyBag()

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

Definition at line 75 of file QxPropertyBag.h.

◆ getAllPropertyBagKeys()

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

Definition at line 76 of file QxPropertyBag.h.

◆ getPropertyBag()

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

Definition at line 72 of file QxPropertyBag.h.

◆ initPropertyBag()

void qx::QxPropertyBag::initPropertyBag ( )
inlineprivate

Definition at line 80 of file QxPropertyBag.h.

◆ removePropertyBag()

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

Definition at line 73 of file QxPropertyBag.h.

◆ setPropertyBag()

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

Definition at line 71 of file QxPropertyBag.h.

Member Data Documentation

◆ m_lstPropertyBag

type_hash_prop_bag_ptr qx::QxPropertyBag::m_lstPropertyBag
protected

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: