OpenJAUS SAE SDK
6.0.0
|
#include <StillImageFormatEnumeration.h>
Inherits openjaus::model::fields::Enumeration.
Public Types | |
enum | StillImageFormatEnum { JPEG = 0, GIF = 1, PNG = 2, BMP = 3, TIFF = 4, PPM = 5, PGM = 6, PNM = 7, NEF = 8, CR_2 = 9, DNG = 10 } |
Public Member Functions | |
StillImageFormatEnumeration () | |
StillImageFormatEnumeration (StillImageFormatEnum value) | |
~StillImageFormatEnumeration () | |
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 | toString () const |
StillImageFormatEnum | getValue (void) const |
void | setValue (StillImageFormatEnum value) |
Public Member Functions inherited from openjaus::model::fields::Enumeration | |
Enumeration () | |
virtual | ~Enumeration () |
long | getValue () const |
Accessor to get the value of value. More... | |
bool | setValue (long value) |
Accessor to set value of value. More... | |
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 () |
Static Public Member Functions | |
static std::string | toString (StillImageFormatEnum value) |
Protected Attributes | |
StillImageFormatEnum | value |
Protected Attributes inherited from openjaus::model::fields::Enumeration | |
long | value |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::environment_v1_0::StillImageFormatEnumeration::StillImageFormatEnumeration | ( | ) |
openjaus::environment_v1_0::StillImageFormatEnumeration::StillImageFormatEnumeration | ( | StillImageFormatEnumeration::StillImageFormatEnum | value | ) |
openjaus::environment_v1_0::StillImageFormatEnumeration::~StillImageFormatEnumeration | ( | ) |
|
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.
src |
Reimplemented from openjaus::model::fields::Enumeration.
StillImageFormatEnumeration::StillImageFormatEnum openjaus::environment_v1_0::StillImageFormatEnumeration::getValue | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Enumeration.
void openjaus::environment_v1_0::StillImageFormatEnumeration::setValue | ( | StillImageFormatEnumeration::StillImageFormatEnum | value | ) |
|
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.
dst |
Reimplemented from openjaus::model::fields::Enumeration.
|
virtual |
Reimplemented from openjaus::model::fields::Enumeration.
|
static |
std::string openjaus::environment_v1_0::StillImageFormatEnumeration::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |