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