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

#include "TableRange.h"

Inheritance diagram for ot::TableRange:
ot::Serializable

Public Member Functions

 TableRange ()
 
 TableRange (int _topRow, int _leftColumn, int _bottomRow, int _rightColumn)
 
 TableRange (const TableRange &other)
 
TableRangeoperator= (const TableRange &other)
 
bool operator== (const TableRange &other)
 
bool operator!= (const TableRange &other)
 
virtual void addToJsonObject (JsonValue &_object, JsonAllocator &_allocator) const override
 
virtual void setFromJsonObject (const ConstJsonObject &_object) override
 Set the object contents from the provided JSON object.
 
int getTopRow () const
 
int getBottomRow () const
 
int getLeftColumn () const
 
int getRightColumn () const
 
void setTopRow (int _topRow)
 
void setBottomRow (int _bottomRow)
 
void setLeftColumn (int _leftColumn)
 
void setRightColumn (int _rightColumn)
 
- Public Member Functions inherited from ot::Serializable
 Serializable ()
 
virtual ~Serializable ()
 
virtual void addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const =0
 Add the object contents to the provided JSON object.
 

Constructor & Destructor Documentation

◆ TableRange() [1/3]

ot::TableRange::TableRange ( )

◆ TableRange() [2/3]

ot::TableRange::TableRange ( int _topRow,
int _leftColumn,
int _bottomRow,
int _rightColumn )

◆ TableRange() [3/3]

ot::TableRange::TableRange ( const TableRange & other)

Member Function Documentation

◆ addToJsonObject()

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

◆ getBottomRow()

int ot::TableRange::getBottomRow ( ) const
inline

◆ getLeftColumn()

int ot::TableRange::getLeftColumn ( ) const
inline

◆ getRightColumn()

int ot::TableRange::getRightColumn ( ) const
inline

◆ getTopRow()

int ot::TableRange::getTopRow ( ) const
inline

◆ operator!=()

bool ot::TableRange::operator!= ( const TableRange & other)

◆ operator=()

ot::TableRange & ot::TableRange::operator= ( const TableRange & other)

◆ operator==()

bool ot::TableRange::operator== ( const TableRange & other)

◆ setBottomRow()

void ot::TableRange::setBottomRow ( int _bottomRow)
inline

◆ setFromJsonObject()

void ot::TableRange::setFromJsonObject ( const 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.

◆ setLeftColumn()

void ot::TableRange::setLeftColumn ( int _leftColumn)
inline

◆ setRightColumn()

void ot::TableRange::setRightColumn ( int _rightColumn)
inline

◆ setTopRow()

void ot::TableRange::setTopRow ( int _topRow)
inline

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