OpenJAUS Software Development Kit
4.3.1
|
#include <ElementListRefArray.h>
Inherits openjaus::model::fields::Array.
Public Member Functions | |
ElementListRefArray () | |
~ElementListRefArray () | |
void | copy (ElementListRefArray &source) |
virtual int | to (system::Buffer *dst) |
Operation to. More... | |
virtual int | from (system::Buffer *src) |
Operation from. More... | |
virtual int | length () |
Serializes object to internal transport buffer. More... | |
std::string | toXml (unsigned char ojIndentLevel=0) const |
std::vector< ElementRecord > & | getElementRec () |
void | add (ElementRecord value) |
void | remove (int index) |
bool | empty () |
void | clear () |
bool | set (std::size_t index, ElementRecord value) |
ElementRecord & | get (std::size_t index) |
std::size_t | size () |
Public Member Functions inherited from openjaus::model::fields::Array | |
Array () | |
virtual | ~Array () |
TypesUnsigned | getSizeType () const |
Accessor to get the value of sizeType. More... | |
bool | setSizeType (TypesUnsigned sizeType) |
Accessor to set value of sizeType. More... | |
const ArrayType & | getType () const |
Accessor to get the value of type. More... | |
bool | setType (const ArrayType &type) |
Accessor to set value of type. More... | |
const std::vector< ArrayDimension *> & | getDimensions () const |
Accessor to get the value of dimensions. More... | |
bool | setDimensions (const ArrayDimension &dimensions) |
Accessor to set value of dimensions. 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 | |
virtual | ~Transportable () |
Transportable () | |
Protected Attributes | |
std::vector< ElementRecord > | elementRec |
Protected Attributes inherited from openjaus::model::fields::Array | |
TypesUnsigned | sizeType |
ArrayType | type |
std::vector< ArrayDimension *> | dimensions |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::mobility::ElementListRefArray::ElementListRefArray | ( | ) |
openjaus::mobility::ElementListRefArray::~ElementListRefArray | ( | ) |
void openjaus::mobility::ElementListRefArray::add | ( | ElementRecord | value | ) |
void openjaus::mobility::ElementListRefArray::clear | ( | ) |
void openjaus::mobility::ElementListRefArray::copy | ( | ElementListRefArray & | source | ) |
bool openjaus::mobility::ElementListRefArray::empty | ( | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Array.
ElementRecord & openjaus::mobility::ElementListRefArray::get | ( | std::size_t | index | ) |
std::vector< ElementRecord > & openjaus::mobility::ElementListRefArray::getElementRec | ( | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Array.
void openjaus::mobility::ElementListRefArray::remove | ( | int | index | ) |
bool openjaus::mobility::ElementListRefArray::set | ( | std::size_t | index, |
ElementRecord | value | ||
) |
std::size_t openjaus::mobility::ElementListRefArray::size | ( | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Array.
std::string openjaus::mobility::ElementListRefArray::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |