#include "GraphicsPickerItemInformation.h"
◆ GraphicsPickerItemInformation() [1/3]
ot::GraphicsPickerItemInformation::GraphicsPickerItemInformation |
( |
| ) |
|
◆ GraphicsPickerItemInformation() [2/3]
ot::GraphicsPickerItemInformation::GraphicsPickerItemInformation |
( |
const std::string & | _name, |
|
|
const std::string & | _title, |
|
|
const std::string & | _previewIcon ) |
◆ GraphicsPickerItemInformation() [3/3]
◆ ~GraphicsPickerItemInformation()
ot::GraphicsPickerItemInformation::~GraphicsPickerItemInformation |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
void ot::GraphicsPickerItemInformation::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 |
◆ getName()
const std::string & ot::GraphicsPickerItemInformation::getName |
( |
void | | ) |
const |
|
inline |
◆ getPreviewIcon()
const std::string & ot::GraphicsPickerItemInformation::getPreviewIcon |
( |
void | | ) |
const |
|
inline |
◆ getTitle()
const std::string & ot::GraphicsPickerItemInformation::getTitle |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ setFromJsonObject()
void ot::GraphicsPickerItemInformation::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::GraphicsPickerItemInformation::setName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ setPreviewIcon()
void ot::GraphicsPickerItemInformation::setPreviewIcon |
( |
const std::string & | _iconPath | ) |
|
|
inline |
◆ setTitle()
void ot::GraphicsPickerItemInformation::setTitle |
( |
const std::string & | _title | ) |
|
|
inline |
The documentation for this class was generated from the following files: