#include <PropertyObject.h>
Public Member Functions | |
| CacheingPropertyObject (Store *s, QUrl myUri) | |
| CacheingPropertyObject (Store *s, QString myUri) | |
| CacheingPropertyObject (Store *s, QString propertyPrefix, QUrl myUri) | |
| CacheingPropertyObject (Store *s, QString propertyPrefix, QString myUri) | |
| bool | hasProperty (QString name) const |
| bool | hasProperty (Transaction *tx, QString name) const |
| QVariant | getProperty (QString name) const |
| QVariant | getProperty (Transaction *tx, QString name) const |
| void | setProperty (Transaction *tx, QString name, QVariant value) |
| void | removeProperty (Transaction *tx, QString name) |
| Store * | getStore (Transaction *tx) const |
| QUrl | getPropertyUri (QString name) const |
This class is usually faster than PropertyObject as it avoids datastore access, but it can only be used in contexts where it is known that no other agent may be modifying the same set of properties.
Definition at line 212 of file PropertyObject.h.
| Dataquay::CacheingPropertyObject::CacheingPropertyObject | ( | Store * | s, | |
| QUrl | myUri | |||
| ) |
Definition at line 141 of file PropertyObject.cpp.
| Dataquay::CacheingPropertyObject::CacheingPropertyObject | ( | Store * | s, | |
| QString | myUri | |||
| ) |
Definition at line 146 of file PropertyObject.cpp.
| Dataquay::CacheingPropertyObject::CacheingPropertyObject | ( | Store * | s, | |
| QString | propertyPrefix, | |||
| QUrl | myUri | |||
| ) |
Definition at line 151 of file PropertyObject.cpp.
| Dataquay::CacheingPropertyObject::CacheingPropertyObject | ( | Store * | s, | |
| QString | propertyPrefix, | |||
| QString | myUri | |||
| ) |
Definition at line 156 of file PropertyObject.cpp.
| bool Dataquay::CacheingPropertyObject::hasProperty | ( | QString | name | ) | const |
Definition at line 162 of file PropertyObject.cpp.
References Dataquay::PropertyObject::hasProperty().
| bool Dataquay::CacheingPropertyObject::hasProperty | ( | Transaction * | tx, | |
| QString | name | |||
| ) | const |
Definition at line 168 of file PropertyObject.cpp.
References Dataquay::PropertyObject::hasProperty().
| QVariant Dataquay::CacheingPropertyObject::getProperty | ( | QString | name | ) | const |
Definition at line 174 of file PropertyObject.cpp.
References Dataquay::PropertyObject::getProperty().
| QVariant Dataquay::CacheingPropertyObject::getProperty | ( | Transaction * | tx, | |
| QString | name | |||
| ) | const |
Definition at line 186 of file PropertyObject.cpp.
References Dataquay::PropertyObject::getProperty().
| void Dataquay::CacheingPropertyObject::setProperty | ( | Transaction * | tx, | |
| QString | name, | |||
| QVariant | value | |||
| ) |
Definition at line 198 of file PropertyObject.cpp.
References Dataquay::PropertyObject::setProperty().
| void Dataquay::CacheingPropertyObject::removeProperty | ( | Transaction * | tx, | |
| QString | name | |||
| ) |
Definition at line 205 of file PropertyObject.cpp.
References Dataquay::PropertyObject::removeProperty().
| Store * Dataquay::CacheingPropertyObject::getStore | ( | Transaction * | tx | ) | const |
| QUrl Dataquay::CacheingPropertyObject::getPropertyUri | ( | QString | name | ) | const |
Definition at line 218 of file PropertyObject.cpp.
References Dataquay::PropertyObject::getPropertyUri().
1.5.7.1