This is a brief description.
More...
#include <VariableLengthString.h>
Inherits openjaus::model::fields::Field, and openjaus::system::Transportable.
Detailed description.
- Author
- Name (name@.nosp@m.emai.nosp@m.l.com)
◆ VariableLengthString()
openjaus::model::fields::VariableLengthString::VariableLengthString |
( |
| ) |
|
◆ ~VariableLengthString()
openjaus::model::fields::VariableLengthString::~VariableLengthString |
( |
| ) |
|
|
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.
◆ getDefaultValue()
std::string openjaus::model::fields::VariableLengthString::getDefaultValue |
( |
| ) |
const |
◆ getSizeType()
TypesUnsigned openjaus::model::fields::VariableLengthString::getSizeType |
( |
| ) |
const |
◆ getValue()
std::string openjaus::model::fields::VariableLengthString::getValue |
( |
| ) |
const |
◆ length()
uint64 openjaus::model::fields::VariableLengthString::length |
( |
| ) |
const |
|
virtual |
◆ packLength()
◆ setDefaultValue()
bool openjaus::model::fields::VariableLengthString::setDefaultValue |
( |
std::string |
defaultValue | ) |
|
- Parameters
-
defaultValue | The value of the new defaultValue. |
◆ setSizeType()
bool openjaus::model::fields::VariableLengthString::setSizeType |
( |
TypesUnsigned |
sizeType | ) |
|
- Parameters
-
sizeType | The value of the new sizeType. |
◆ setValue()
bool openjaus::model::fields::VariableLengthString::setValue |
( |
std::string |
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::VariableLengthString::toString |
( |
| ) |
const |
|
virtual |
◆ toXml()
std::string openjaus::model::fields::VariableLengthString::toXml |
( |
unsigned char |
level = 0 | ) |
const |
◆ unpackLength()
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ defaultValue
std::string openjaus::model::fields::VariableLengthString::defaultValue |
|
protected |
◆ sizeType
TypesUnsigned openjaus::model::fields::VariableLengthString::sizeType |
|
protected |
◆ value
std::string openjaus::model::fields::VariableLengthString::value |
|
protected |
The documentation for this class was generated from the following files: