#include "GraphicsPickerCollectionCfg.h"
◆ GraphicsPickerCollectionCfg() [1/3]
ot::GraphicsPickerCollectionCfg::GraphicsPickerCollectionCfg |
( |
| ) |
|
◆ GraphicsPickerCollectionCfg() [2/3]
ot::GraphicsPickerCollectionCfg::GraphicsPickerCollectionCfg |
( |
const std::string & | _collectionName, |
|
|
const std::string & | _collectionTitle ) |
◆ GraphicsPickerCollectionCfg() [3/3]
◆ ~GraphicsPickerCollectionCfg()
ot::GraphicsPickerCollectionCfg::~GraphicsPickerCollectionCfg |
( |
| ) |
|
|
virtual |
◆ addChildCollection()
◆ addItem() [1/2]
◆ addItem() [2/2]
void ot::GraphicsPickerCollectionCfg::addItem |
( |
const std::string & | _itemName, |
|
|
const std::string & | _itemTitle, |
|
|
const std::string & | _previewIconPath ) |
◆ addToJsonObject()
void ot::GraphicsPickerCollectionCfg::addToJsonObject |
( |
JsonValue & | _object, |
|
|
JsonAllocator & | _allocator ) const |
|
overridevirtual |
Add the object contents to the provided JSON object.
- Parameters
-
_document | The JSON document (used to get the allocator) |
_object | The JSON object to add the contents to |
◆ getChildCollections()
◆ getItems()
◆ getName()
const std::string & ot::GraphicsPickerCollectionCfg::getName |
( |
void | | ) |
const |
|
inline |
◆ getTitle()
const std::string & ot::GraphicsPickerCollectionCfg::getTitle |
( |
void | | ) |
const |
|
inline |
◆ mergeWith()
Will merge this collection with the collection provided. New data will be added to this collection.
◆ operator=()
◆ setFromJsonObject()
void ot::GraphicsPickerCollectionCfg::setFromJsonObject |
( |
const ConstJsonObject & | _object | ) |
|
|
overridevirtual |
Will set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information |
- Exceptions
-
Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Implements ot::Serializable.
◆ setName()
void ot::GraphicsPickerCollectionCfg::setName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ setTitle()
void ot::GraphicsPickerCollectionCfg::setTitle |
( |
const std::string & | _title | ) |
|
|
inline |
The documentation for this class was generated from the following files: