This is a brief description.
More...
#include <UnsignedByte.h>
Inherits openjaus::model::fields::Unsigned, openjaus::model::fields::Field, and openjaus::system::Transportable.
Detailed description.
- Author
- Name (name@.nosp@m.emai.nosp@m.l.com)
◆ UnsignedByte()
openjaus::model::fields::UnsignedByte::UnsignedByte |
( |
| ) |
|
◆ ~UnsignedByte()
openjaus::model::fields::UnsignedByte::~UnsignedByte |
( |
| ) |
|
|
virtual |
◆ from()
Deserializes the contents the Buffer connected to the provided BufferReader into this object. The BufferReader position will be advanced inside this method such that calling from() again will attempt to read the next Transportable object from the Buffer.
- Parameters
-
Implements openjaus::system::Transportable.
◆ getValue()
uint8_t openjaus::model::fields::UnsignedByte::getValue |
( |
| ) |
const |
◆ length()
uint64 openjaus::model::fields::UnsignedByte::length |
( |
| ) |
const |
|
virtual |
◆ setValue()
bool openjaus::model::fields::UnsignedByte::setValue |
( |
uint8_t |
value | ) |
|
- Parameters
-
value | The value of the new value. |
◆ to()
Serializes the contents of this object into the Buffer connected to the provided BufferWriter. The BufferWriter position will be advanced inside this method such that calling to() again will write the Transportable object into the Buffer a second time.
- Parameters
-
Implements openjaus::system::Transportable.
◆ toString()
std::string openjaus::model::fields::UnsignedByte::toString |
( |
| ) |
const |
|
virtual |
◆ toXml()
std::string openjaus::model::fields::UnsignedByte::toXml |
( |
unsigned char |
level = 0 | ) |
const |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ value
uint8_t openjaus::model::fields::UnsignedByte::value |
|
protected |
The documentation for this class was generated from the following files: