OpenJAUS SAE SDK  6.0.0
Public Member Functions | List of all members
openjaus::environment_v1_0::CompressedDataBlob Class Reference

#include <CompressedDataBlob.h>

Inherits openjaus::model::fields::Blob.

Public Member Functions

 CompressedDataBlob ()
 
 ~CompressedDataBlob ()
 
void copy (CompressedDataBlob &source)
 
virtual uint64 to (system::BufferWriter &dst) const
 Serializes the contents of this object into the Buffer connected to the provided BufferWriter. More...
 
virtual uint64 from (system::BufferReader &src)
 Deserializes the contents the Buffer connected to the provided BufferReader into this object. More...
 
virtual uint64 length (void) const
 Gets the serialized length of this object. More...
 
std::string toXml (unsigned char ojIndentLevel=0) const
 
- Public Member Functions inherited from openjaus::model::fields::Blob
 Blob ()
 
virtual ~Blob ()
 
TypesUnsigned getSizeType () const
 Accessor to get the value of sizeType. More...
 
bool setSizeType (TypesUnsigned sizeType)
 Accessor to set value of sizeType. More...
 
const std::vector< BlobType *> & getTypes () const
 Accessor to get the value of types. More...
 
bool setTypes (const BlobType &types)
 Accessor to set value of types. More...
 
const system::BuffergetPayload () const
 Accessor to get the value of payload. More...
 
bool setPayload (const system::Buffer &payload)
 Accessor to set value of payload. More...
 
virtual std::string toString () const
 
- Public Member Functions inherited from openjaus::model::fields::ComplexField
virtual ~ComplexField ()
 
- Public Member Functions inherited from openjaus::model::fields::Field
 Field ()
 
virtual ~Field ()
 
std::string getName () const
 Accessor to get the value of name. More...
 
bool setName (std::string name)
 Accessor to set value of name. More...
 
- Public Member Functions inherited from openjaus::system::Transportable
 Transportable ()
 
virtual ~Transportable ()
 

Additional Inherited Members

- Protected Attributes inherited from openjaus::model::fields::Blob
TypesUnsigned sizeType
 
std::vector< BlobType *> types
 
system::Buffer payload
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Constructor & Destructor Documentation

◆ CompressedDataBlob()

openjaus::environment_v1_0::CompressedDataBlob::CompressedDataBlob ( )

◆ ~CompressedDataBlob()

openjaus::environment_v1_0::CompressedDataBlob::~CompressedDataBlob ( )

Member Function Documentation

◆ copy()

void openjaus::environment_v1_0::CompressedDataBlob::copy ( CompressedDataBlob source)

◆ from()

uint64 openjaus::environment_v1_0::CompressedDataBlob::from ( system::BufferReader src)
virtual

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
src

Reimplemented from openjaus::model::fields::Blob.

◆ length()

uint64 openjaus::environment_v1_0::CompressedDataBlob::length ( void  ) const
virtual

Reimplemented from openjaus::model::fields::Blob.

◆ to()

uint64 openjaus::environment_v1_0::CompressedDataBlob::to ( system::BufferWriter dst) const
virtual

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
dst

Reimplemented from openjaus::model::fields::Blob.

◆ toXml()

std::string openjaus::environment_v1_0::CompressedDataBlob::toXml ( unsigned char  ojIndentLevel = 0) const

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