#include "SelectEntitiesDialogCfg.h"
Public Member Functions | |
SelectEntitiesDialogCfg () | |
virtual | ~SelectEntitiesDialogCfg () |
virtual void | addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const override |
Add the object contents to the provided JSON object. | |
virtual void | setFromJsonObject (const ot::ConstJsonObject &_object) override |
Will set the object contents from the provided JSON object. | |
void | setTitle (const std::string &_title) |
const std::string & | title (void) const |
Public Member Functions inherited from ot::NavigationTreePackage | |
NavigationTreePackage () | |
virtual | ~NavigationTreePackage () |
void | setFlag (NavigationTreePackageFlag _flag, bool _active=true) |
void | setFlags (NavigationTreePackageFlags _flags) |
NavigationTreePackageFlags | flags (void) const |
void | setRootItems (const std::list< NavigationTreeItem > &_items) |
void | addRootItem (const NavigationTreeItem &_item) |
const std::list< NavigationTreeItem > & | rootItems (void) const |
void | mergeItems (bool _mergeAllChilds=true) |
Will merge items with the same name into one. | |
Public Member Functions inherited from ot::Serializable | |
Serializable () | |
virtual | ~Serializable () |
Additional Inherited Members | |
Public Types inherited from ot::NavigationTreePackage | |
enum | NavigationTreePackageFlag { NoFlags = 0x00 , ItemsDefaultExpanded = 0x01 } |
typedef Flags< NavigationTreePackageFlag > | NavigationTreePackageFlags |
Static Public Member Functions inherited from ot::NavigationTreePackage | |
static std::string | toString (NavigationTreePackageFlag _flag) |
static NavigationTreePackageFlag | stringToFlag (const std::string &_flag) |
ot::SelectEntitiesDialogCfg::SelectEntitiesDialogCfg | ( | ) |
|
virtual |
|
overridevirtual |
Add the object contents to the provided JSON object.
_object | Json object reference |
_allocator | Allocator |
Reimplemented from ot::NavigationTreePackage.
|
overridevirtual |
Will set the object contents from the provided JSON object.
_object | The JSON object containing the information |
Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Reimplemented from ot::NavigationTreePackage.
|
inline |
|
inline |