#include <StorageList.h>
|
| | StorageList () |
| |
| | StorageList (const StorageList &otherStorageList) |
| | Copy persistent Storage items from @otherStorageList to new storage list.
|
| |
| | StorageList (const StorageList *otherStorageList) |
| |
| virtual | ~StorageList () |
| |
| StorageList & | operator= (const StorageList &otherInstance) |
| | Copy all storage items(persistent and transient) to new storage list.
|
| |
| StorageList & | operator= (const StorageList *otherInstance) |
| |
| void | AddStorageItem (const int32_t &storageDataType, const int32_t &key, const QVariant &value) |
| | Add data(key, value) to storageItem with specific storage type storageDataType.
|
| |
| void | AddStorageItem (const int32_t &storageDataType, const int32_t &key, void *value) |
| |
| void | CopyStorageItem (const StorageItem *item) |
| |
| StorageItem * | GetItem (const int32_t &storageDataType) const |
| |
| template<typename T > |
| T | GetItem (const int32_t &storageDataType) const |
| |
| template<typename T > |
| bool | GetData (const int32_t &storageDataType, const int32_t &key, T &data) const |
| |
| template<typename T > |
| bool | GetPointer (const int32_t &storageDataType, const int32_t &key, T &data) const |
| |
| bool | RemoveData (const int32_t &storageDataType, const int32_t &key) |
| |
| void | PrintToLog () const |
| |
| | StorageList () |
| |
| | StorageList (const StorageList &otherStorageList) |
| | Copy persistent Storage items from @otherStorageList to new storage list.
|
| |
| | StorageList (const StorageList *otherStorageList) |
| |
| virtual | ~StorageList () |
| |
| StorageList & | operator= (const StorageList &otherInstance) |
| | Copy all storage items(persistent and transient) to new storage list.
|
| |
| StorageList & | operator= (const StorageList *otherInstance) |
| |
| void | AddStorageItem (const int32_t &storageDataType, const int32_t &key, const QVariant &value) |
| | Add data(key, value) to storageItem with specific storage type storageDataType.
|
| |
| void | AddStorageItem (const int32_t &storageDataType, const int32_t &key, void *value) |
| |
| void | CopyStorageItem (const StorageItem *item) |
| |
| StorageItem * | GetItem (const int32_t &storageDataType) const |
| |
| template<typename T > |
| T | GetItem (const int32_t &storageDataType) const |
| |
| template<typename T > |
| bool | GetData (const int32_t &storageDataType, const int32_t &key, T &data) const |
| |
| template<typename T > |
| bool | GetPointer (const int32_t &storageDataType, const int32_t &key, T &data) const |
| |
| bool | RemoveData (const int32_t &storageDataType, const int32_t &key) |
| |
| void | PrintToLog () const |
| |
◆ StorageList() [1/6]
◆ StorageList() [2/6]
Copy persistent Storage items from @otherStorageList to new storage list.
◆ StorageList() [3/6]
◆ ~StorageList() [1/2]
| StorageList::~StorageList |
( |
| ) |
|
|
virtual |
◆ StorageList() [4/6]
| StorageList::StorageList |
( |
| ) |
|
◆ StorageList() [5/6]
Copy persistent Storage items from @otherStorageList to new storage list.
◆ StorageList() [6/6]
◆ ~StorageList() [2/2]
| virtual StorageList::~StorageList |
( |
| ) |
|
|
virtual |
◆ AddStorageItem() [1/4]
Add data(key, value) to storageItem with specific storage type storageDataType.
- Note
- In case that storage item with this type not exist, creates new universal dictionary UniversalDictionary with defined type storageDataType.
- Parameters
-
| storageDataType | - storage item type |
| key | - data identifier of value |
◆ AddStorageItem() [2/4]
Add data(key, value) to storageItem with specific storage type storageDataType.
- Note
- In case that storage item with this type not exist, creates new universal dictionary UniversalDictionary with defined type storageDataType.
- Parameters
-
| storageDataType | - storage item type |
| key | - data identifier of value |
◆ AddStorageItem() [3/4]
◆ AddStorageItem() [4/4]
◆ CopyStorageItem() [1/2]
Copy item to new storage item and add to storage list
- Parameters
-
| item | this item is added into storage. |
◆ CopyStorageItem() [2/2]
Copy item to new storage item and add to storage list
- Parameters
-
| item | this item is added into storage. |
◆ GetData() [1/2]
template<typename T >
| bool StorageList::GetData |
( |
const int32_t & |
storageDataType, |
|
|
const int32_t & |
key, |
|
|
T & |
data |
|
) |
| const |
|
inline |
◆ GetData() [2/2]
template<typename T >
| bool StorageList::GetData |
( |
const int32_t & |
storageDataType, |
|
|
const int32_t & |
key, |
|
|
T & |
data |
|
) |
| const |
|
inline |
◆ GetItem() [1/4]
Get item with given type
- Parameters
-
| type | first object with this name is returned. |
- Returns
- EStorageItem* : first object in storage with name name, or NULL when item is not found.
◆ GetItem() [2/4]
◆ GetItem() [3/4]
Get item with given type
- Parameters
-
| type | first object with this name is returned. |
- Returns
- EStorageItem* : first object in storage with name name, or NULL when item is not found.
◆ GetItem() [4/4]
◆ GetPointer() [1/2]
◆ GetPointer() [2/2]
◆ operator=() [1/4]
Copy all storage items(persistent and transient) to new storage list.
◆ operator=() [2/4]
Copy all storage items(persistent and transient) to new storage list.
◆ operator=() [3/4]
◆ operator=() [4/4]
◆ PrintToLog() [1/2]
| void StorageList::PrintToLog |
( |
| ) |
const |
◆ PrintToLog() [2/2]
| void StorageList::PrintToLog |
( |
| ) |
const |
◆ RemoveData() [1/2]
◆ RemoveData() [2/2]
The documentation for this class was generated from the following files: