OpenJAUS SAE SDK  6.0.0
Public Member Functions | Protected Attributes | List of all members
openjaus::core_v1_1::ServiceInformationRecord Class Reference

#include <ServiceInformationRecord.h>

Inherits openjaus::model::fields::Record.

Public Member Functions

 ServiceInformationRecord ()
 
 ServiceInformationRecord (const ServiceInformationRecord &source)
 
 ~ServiceInformationRecord ()
 
void copy (ServiceInformationRecord &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
 
std::string getUri (void)
 
bool setUri (std::string value)
 
uint8_t getMajorVersionNumber (void)
 
bool setMajorVersionNumber (uint8_t value)
 
uint8_t getMinorVersionNumber (void)
 
bool setMinorVersionNumber (uint8_t value)
 
- Public Member Functions inherited from openjaus::model::fields::Record
 Record ()
 
virtual ~Record ()
 
const std::vector< Field *> & getFields () const
 Accessor to get the value of fields. More...
 
bool setFields (const Field &fields)
 Accessor to set value of fields. 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 ()
 

Protected Attributes

model::fields::VariableLengthString uri
 
model::fields::UnsignedByte majorVersionNumber
 
model::fields::UnsignedByte minorVersionNumber
 
- Protected Attributes inherited from openjaus::model::fields::Record
std::vector< Field *> fields
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Constructor & Destructor Documentation

◆ ServiceInformationRecord() [1/2]

openjaus::core_v1_1::ServiceInformationRecord::ServiceInformationRecord ( )

◆ ServiceInformationRecord() [2/2]

openjaus::core_v1_1::ServiceInformationRecord::ServiceInformationRecord ( const ServiceInformationRecord source)

◆ ~ServiceInformationRecord()

openjaus::core_v1_1::ServiceInformationRecord::~ServiceInformationRecord ( )

Member Function Documentation

◆ copy()

void openjaus::core_v1_1::ServiceInformationRecord::copy ( ServiceInformationRecord source)

◆ from()

uint64 openjaus::core_v1_1::ServiceInformationRecord::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::Record.

◆ getMajorVersionNumber()

uint8_t openjaus::core_v1_1::ServiceInformationRecord::getMajorVersionNumber ( void  )

◆ getMinorVersionNumber()

uint8_t openjaus::core_v1_1::ServiceInformationRecord::getMinorVersionNumber ( void  )

◆ getUri()

std::string openjaus::core_v1_1::ServiceInformationRecord::getUri ( void  )

◆ length()

uint64 openjaus::core_v1_1::ServiceInformationRecord::length ( void  ) const
virtual

Reimplemented from openjaus::model::fields::Record.

◆ setMajorVersionNumber()

bool openjaus::core_v1_1::ServiceInformationRecord::setMajorVersionNumber ( uint8_t  value)

◆ setMinorVersionNumber()

bool openjaus::core_v1_1::ServiceInformationRecord::setMinorVersionNumber ( uint8_t  value)

◆ setUri()

bool openjaus::core_v1_1::ServiceInformationRecord::setUri ( std::string  value)

◆ to()

uint64 openjaus::core_v1_1::ServiceInformationRecord::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::Record.

◆ toXml()

std::string openjaus::core_v1_1::ServiceInformationRecord::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

◆ majorVersionNumber

model::fields::UnsignedByte openjaus::core_v1_1::ServiceInformationRecord::majorVersionNumber
protected

◆ minorVersionNumber

model::fields::UnsignedByte openjaus::core_v1_1::ServiceInformationRecord::minorVersionNumber
protected

◆ uri

model::fields::VariableLengthString openjaus::core_v1_1::ServiceInformationRecord::uri
protected

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