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

#include "Plot1DCurveInfoCfg.h"

Inheritance diagram for ot::Plot1DCurveInfoCfg:
ot::Serializable

Public Member Functions

 Plot1DCurveInfoCfg ()
 
 Plot1DCurveInfoCfg (UID _id, UID _version, const std::string &_name)
 
 Plot1DCurveInfoCfg (const Plot1DCurveInfoCfg &_other)
 
virtual ~Plot1DCurveInfoCfg ()
 
Plot1DCurveInfoCfgoperator= (const Plot1DCurveInfoCfg &_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 setId (UID _id)
 
UID getId (void) const
 
void setVersion (UID _version)
 
UID getVersion (void) const
 
void setTreeId (UID _id)
 
UID getTreeId (void) const
 
void setDimmed (bool _isDimmed)
 
bool getDimmed (void) const
 
void setName (const std::string &_name)
 
const std::string & getName (void) const
 
- Public Member Functions inherited from ot::Serializable
 Serializable ()
 
virtual ~Serializable ()
 

Constructor & Destructor Documentation

◆ Plot1DCurveInfoCfg() [1/3]

ot::Plot1DCurveInfoCfg::Plot1DCurveInfoCfg ( )

◆ Plot1DCurveInfoCfg() [2/3]

ot::Plot1DCurveInfoCfg::Plot1DCurveInfoCfg ( UID _id,
UID _version,
const std::string & _name )

◆ Plot1DCurveInfoCfg() [3/3]

ot::Plot1DCurveInfoCfg::Plot1DCurveInfoCfg ( const Plot1DCurveInfoCfg & _other)

◆ ~Plot1DCurveInfoCfg()

ot::Plot1DCurveInfoCfg::~Plot1DCurveInfoCfg ( )
virtual

Member Function Documentation

◆ addToJsonObject()

void ot::Plot1DCurveInfoCfg::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.

◆ getDimmed()

bool ot::Plot1DCurveInfoCfg::getDimmed ( void ) const
inline

◆ getId()

UID ot::Plot1DCurveInfoCfg::getId ( void ) const
inline

◆ getName()

const std::string & ot::Plot1DCurveInfoCfg::getName ( void ) const
inline

◆ getTreeId()

UID ot::Plot1DCurveInfoCfg::getTreeId ( void ) const
inline

◆ getVersion()

UID ot::Plot1DCurveInfoCfg::getVersion ( void ) const
inline

◆ operator=()

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

◆ setDimmed()

void ot::Plot1DCurveInfoCfg::setDimmed ( bool _isDimmed)
inline

◆ setFromJsonObject()

void ot::Plot1DCurveInfoCfg::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.

◆ setId()

void ot::Plot1DCurveInfoCfg::setId ( UID _id)
inline

◆ setName()

void ot::Plot1DCurveInfoCfg::setName ( const std::string & _name)
inline

◆ setTreeId()

void ot::Plot1DCurveInfoCfg::setTreeId ( UID _id)
inline

◆ setVersion()

void ot::Plot1DCurveInfoCfg::setVersion ( UID _version)
inline

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