37 #ifndef H_OGF_GOM_SERVICES_SERIALIZER_H
38 #define H_OGF_GOM_SERVICES_SERIALIZER_H
75 std::istream& stream,
void* addr
87 std::ostream& stream,
void* addr
107 std::istream& stream,
void* addr
114 std::ostream& stream,
void* addr
129 std::istream& stream,
void* addr
136 std::ostream& stream,
void* addr
152 std::istream& stream,
void* addr
159 std::ostream& stream,
void* addr
186 std::istream& stream,
void* addr
193 std::ostream& stream,
void* addr
212 std::istream& stream,
void* addr
214 T*
object =
static_cast<T*
>(addr);
223 std::ostream& stream,
void* addr
225 T*
object =
static_cast<T*
>(addr);
249 std::istream& stream,
void* addr
257 bool serialize_write(
258 std::ostream& stream,
void* addr
Generic arguments and argument lists.
Base class for reference-counted objects.
Represents a list of name-value pairs.
Implementation of Serializer for bool.
bool serialize_read(std::istream &stream, void *addr) override
Reads a value from a stream.
bool serialize_write(std::ostream &stream, void *addr) override
Writes a value to a stream.
Implementation of Serializer for enums.
EnumSerializer(MetaEnum *meta_enum)
EnumSerializer constructor.
bool serialize_read(std::istream &stream, void *addr) override
Reads a value from a stream.
bool serialize_write(std::ostream &stream, void *addr) override
Writes a value to a stream.
Generic implementation of Serializer.
bool serialize_read(std::istream &stream, void *addr) override
Reads a value from a stream.
bool serialize_write(std::ostream &stream, void *addr) override
Writes a value to a stream.
Implementation of Serializer for pointers.
bool serialize_write(std::ostream &stream, void *addr) override
Writes a value to a stream.
bool serialize_read(std::istream &stream, void *addr) override
Reads a value from a stream.
Abstract base class for reading and writing values from/to streams.
virtual bool serialize_read(std::istream &stream, void *addr)=0
Reads a value from a stream.
~Serializer() override
Serializer destructor.
virtual bool serialize_write(std::ostream &stream, void *addr)=0
Writes a value to a stream.
Implementation of Serializer for std::string.
bool serialize_read(std::istream &stream, void *addr) override
Reads a value from a stream.
bool serialize_write(std::ostream &stream, void *addr) override
Writes a value to a stream.
Global Graphite namespace.
SmartPointer< Serializer > Serializer_var
Automatic reference-counted pointer to a Serializer.
Definitions common to all include files in the gom library.