#include <MessageField.h>
Inherits openjaus::model::fields::Field, and openjaus::system::Transportable.
◆ MessageField()
openjaus::model::fields::MessageField::MessageField |
( |
| ) |
|
◆ ~MessageField()
openjaus::model::fields::MessageField::~MessageField |
( |
| ) |
|
|
virtual |
◆ copy()
void openjaus::model::fields::MessageField::copy |
( |
model::Message * |
source | ) |
|
◆ 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.
◆ getBuffer()
const system::Buffer & openjaus::model::fields::MessageField::getBuffer |
( |
| ) |
const |
◆ getMessage()
model::Message * openjaus::model::fields::MessageField::getMessage |
( |
| ) |
const |
◆ length()
uint64 openjaus::model::fields::MessageField::length |
( |
| ) |
const |
|
virtual |
◆ setBuffer()
bool openjaus::model::fields::MessageField::setBuffer |
( |
const system::Buffer & |
buffer | ) |
|
- Parameters
-
buffer | The value of the new buffer. |
◆ setMessage()
bool openjaus::model::fields::MessageField::setMessage |
( |
model::Message * |
message | ) |
|
- Parameters
-
message | The value of the new message. |
◆ 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::MessageField::toString |
( |
| ) |
const |
|
virtual |
◆ toXml()
std::string openjaus::model::fields::MessageField::toXml |
( |
unsigned char |
level = 0 | ) |
const |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ buffer
◆ message
The documentation for this class was generated from the following files: