|
#include <ArmarXCore/observers/AbstractObjectSerializer.h>
Public Member Functions | |
AbstractObjectSerializer () | |
AbstractObjectSerializer (const Ice::CommunicatorPtr ic) | |
virtual void | append (const AbstractObjectSerializerPtr &val)=0 |
virtual AbstractObjectSerializerPtr | createElement () const =0 |
SerializablePtr | deserializeIceObject () |
virtual bool | getBool (const ::std::string &key) const =0 |
virtual double | getDouble (const ::std::string &key) const =0 |
virtual void | getDoubleArray (const ::std::string &key, std::vector< double > &result)=0 |
virtual AbstractObjectSerializerPtr | getElement (const ::std::string &key) const =0 |
virtual AbstractObjectSerializerPtr | getElement (unsigned int index) const =0 |
virtual std::vector< std::string > | getElementNames () const =0 |
virtual ElementType | getElementType (const ::Ice::Current &=Ice::emptyCurrent) const =0 |
virtual float | getFloat (const ::std::string &key) const =0 |
virtual void | getFloatArray (const ::std::string &key, std::vector< float > &result)=0 |
virtual SerializablePtr | getIceObject (const ::std::string &key) const |
virtual SerializablePtr | getIceObject (int index) const |
std::string | getIdField () const |
virtual int | getInt (const ::std::string &key) const =0 |
virtual void | getIntArray (const ::std::string &key, std::vector< int > &result)=0 |
int | getIntId () const |
virtual std::string | getString (const ::std::string &key) const =0 |
virtual void | getStringArray (const ::std::string &key, std::vector< std::string > &result)=0 |
std::string | getStringId () const |
virtual VariantPtr | getVariant (const ::std::string &key) const |
virtual VariantPtr | getVariant (int index) const |
virtual void | getVariantArray (const ::std::string &key, std::vector< VariantPtr > &result)=0 |
virtual void | getVariantMap (const ::std::string &key, StringVariantBaseMap &result)=0 |
virtual bool | hasElement (const ::std::string &key) const =0 |
virtual void | merge (const AbstractObjectSerializerPtr &val)=0 |
virtual void | reset ()=0 |
void | serializeIceObject (const SerializablePtr &obj) |
virtual void | setBool (const ::std::string &key, bool val)=0 |
virtual void | setBool (unsigned int index, bool val)=0 |
virtual void | setDouble (const ::std::string &key, double val)=0 |
virtual void | setDouble (unsigned int index, double val)=0 |
virtual void | setDoubleArray (const ::std::string &key, const std::vector< double > &val)=0 |
virtual void | setElement (const ::std::string &key, const AbstractObjectSerializerPtr &val)=0 |
virtual void | setElement (unsigned int index, const AbstractObjectSerializerPtr &val)=0 |
virtual void | setElementType (ElementType elemType, const ::Ice::Current &=Ice::emptyCurrent)=0 |
virtual void | setFloat (const ::std::string &key, float val)=0 |
virtual void | setFloat (unsigned int index, float val)=0 |
virtual void | setFloatArray (const ::std::string &key, const std::vector< float > &val)=0 |
void | setIceCommunicator (Ice::CommunicatorPtr ic) |
virtual void | setIceObject (const ::std::string &key, const SerializablePtr &val) |
virtual void | setIceObject (unsigned int index, const SerializablePtr &val) |
void | setId (const std::string &val) |
void | setId (int val) |
void | setIdField (const std::string &fieldName) |
virtual void | setInt (const ::std::string &key, int val)=0 |
virtual void | setInt (unsigned int index, int val)=0 |
virtual void | setIntArray (const ::std::string &key, const std::vector< int > &val)=0 |
virtual void | setString (const ::std::string &key, const std::string &val)=0 |
virtual void | setString (unsigned int index, const std::string &val)=0 |
virtual void | setStringArray (const ::std::string &key, const std::vector< std::string > &val)=0 |
virtual void | setVariant (const ::std::string &key, const VariantPtr &val) |
virtual void | setVariant (unsigned int index, const VariantPtr &val) |
virtual void | setVariantArray (const ::std::string &key, const std::vector< VariantBasePtr > &val)=0 |
virtual void | setVariantArray (const ::std::string &key, const std::vector< VariantPtr > &val)=0 |
virtual void | setVariantMap (const ::std::string &key, const StringVariantBaseMap &val)=0 |
virtual unsigned int | size () const =0 |
~AbstractObjectSerializer () override | |
Protected Member Functions | |
VariantPtr | deserializeVariant () |
AbstractObjectSerializerPtr | serializeVariant (const VariantPtr &val) const |
Protected Attributes | |
Ice::CommunicatorPtr | ic |
std::string | idField |
Definition at line 52 of file AbstractObjectSerializer.h.
Definition at line 39 of file AbstractObjectSerializer.cpp.
AbstractObjectSerializer | ( | const Ice::CommunicatorPtr | ic | ) |
Definition at line 44 of file AbstractObjectSerializer.cpp.
|
override |
Definition at line 50 of file AbstractObjectSerializer.cpp.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
SerializablePtr deserializeIceObject | ( | ) |
Definition at line 297 of file AbstractObjectSerializer.cpp.
|
protected |
Definition at line 133 of file AbstractObjectSerializer.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
virtual |
Definition at line 262 of file AbstractObjectSerializer.cpp.
|
virtual |
Definition at line 268 of file AbstractObjectSerializer.cpp.
|
inline |
Definition at line 126 of file AbstractObjectSerializer.h.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
inline |
Definition at line 135 of file AbstractObjectSerializer.h.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
inline |
Definition at line 139 of file AbstractObjectSerializer.h.
|
virtual |
Definition at line 244 of file AbstractObjectSerializer.cpp.
|
virtual |
Definition at line 253 of file AbstractObjectSerializer.cpp.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
void serializeIceObject | ( | const SerializablePtr & | obj | ) |
Definition at line 290 of file AbstractObjectSerializer.cpp.
|
protected |
Definition at line 59 of file AbstractObjectSerializer.cpp.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
void setIceCommunicator | ( | Ice::CommunicatorPtr | ic | ) |
Definition at line 54 of file AbstractObjectSerializer.cpp.
|
virtual |
Definition at line 274 of file AbstractObjectSerializer.cpp.
|
virtual |
Definition at line 282 of file AbstractObjectSerializer.cpp.
|
inline |
Definition at line 148 of file AbstractObjectSerializer.h.
|
inline |
Definition at line 144 of file AbstractObjectSerializer.h.
|
inline |
Definition at line 130 of file AbstractObjectSerializer.h.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
virtual |
Definition at line 230 of file AbstractObjectSerializer.cpp.
|
virtual |
Definition at line 237 of file AbstractObjectSerializer.cpp.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
pure virtual |
Implemented in JSONObject.
|
protected |
Definition at line 166 of file AbstractObjectSerializer.h.
|
protected |
Definition at line 167 of file AbstractObjectSerializer.h.