QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag) More...
#include <QxPropertyBag.h>
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 () |
qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag)
Definition at line 56 of file QxPropertyBag.h.
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.
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.
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.
List of all properties in the bag (meta-data)
Definition at line 64 of file QxPropertyBag.h.