OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::SelectEntitiesDialogCfg Class Reference

#include "SelectEntitiesDialogCfg.h"

Inheritance diagram for ot::SelectEntitiesDialogCfg:
ot::NavigationTreePackage ot::Serializable

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< NavigationTreePackageFlagNavigationTreePackageFlags
 
- Static Public Member Functions inherited from ot::NavigationTreePackage
static std::string toString (NavigationTreePackageFlag _flag)
 
static NavigationTreePackageFlag stringToFlag (const std::string &_flag)
 

Constructor & Destructor Documentation

◆ SelectEntitiesDialogCfg()

ot::SelectEntitiesDialogCfg::SelectEntitiesDialogCfg ( )

◆ ~SelectEntitiesDialogCfg()

ot::SelectEntitiesDialogCfg::~SelectEntitiesDialogCfg ( )
virtual

Member Function Documentation

◆ addToJsonObject()

void ot::SelectEntitiesDialogCfg::addToJsonObject ( ot::JsonValue & _object,
ot::JsonAllocator & _allocator ) const
overridevirtual

Add the object contents to the provided JSON object.

Parameters
_objectJson object reference
_allocatorAllocator

Reimplemented from ot::NavigationTreePackage.

◆ setFromJsonObject()

void ot::SelectEntitiesDialogCfg::setFromJsonObject ( const ot::ConstJsonObject & _object)
overridevirtual

Will set the object contents from the provided JSON object.

Parameters
_objectThe JSON object containing the information
Exceptions
Willthrow an exception if the provided object is not valid (members missing or invalid types)

Reimplemented from ot::NavigationTreePackage.

◆ setTitle()

void ot::SelectEntitiesDialogCfg::setTitle ( const std::string & _title)
inline

◆ title()

const std::string & ot::SelectEntitiesDialogCfg::title ( void ) const
inline

The documentation for this class was generated from the following files: