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

#include "TableHeaderItemCfg.h"

Inheritance diagram for ot::TableHeaderItemCfg:
ot::Serializable

Public Member Functions

 TableHeaderItemCfg ()
 
 TableHeaderItemCfg (const std::string &_text)
 
 TableHeaderItemCfg (const TableHeaderItemCfg &_other)
 
virtual ~TableHeaderItemCfg ()
 
TableHeaderItemCfgoperator= (const TableHeaderItemCfg &_other)
 
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
 Set the object contents from the provided JSON object.
 
void setText (const std::string &_text)
 
const std::string & getText (void) const
 
- Public Member Functions inherited from ot::Serializable
 Serializable ()
 
virtual ~Serializable ()
 

Constructor & Destructor Documentation

◆ TableHeaderItemCfg() [1/3]

ot::TableHeaderItemCfg::TableHeaderItemCfg ( )

◆ TableHeaderItemCfg() [2/3]

ot::TableHeaderItemCfg::TableHeaderItemCfg ( const std::string & _text)

◆ TableHeaderItemCfg() [3/3]

ot::TableHeaderItemCfg::TableHeaderItemCfg ( const TableHeaderItemCfg & _other)

◆ ~TableHeaderItemCfg()

ot::TableHeaderItemCfg::~TableHeaderItemCfg ( )
virtual

Member Function Documentation

◆ addToJsonObject()

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

Add the object contents to the provided JSON object.

Parameters
_objectJson object reference to write the data to.
_allocatorAllocator.

Implements ot::Serializable.

◆ getText()

const std::string & ot::TableHeaderItemCfg::getText ( void ) const
inline

◆ operator=()

ot::TableHeaderItemCfg & ot::TableHeaderItemCfg::operator= ( const TableHeaderItemCfg & _other)

◆ setFromJsonObject()

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

Set the object contents from the provided JSON object.

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

Implements ot::Serializable.

◆ setText()

void ot::TableHeaderItemCfg::setText ( const std::string & _text)
inline

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