Abstract base class for reading and writing values from/to streams.
More...
#include <OGF/gom/services/serializer.h>
|
|
| ~Serializer () override |
| | Serializer destructor.
|
| |
| virtual bool | serialize_read (std::istream &stream, void *addr)=0 |
| | Reads a value from a stream.
|
| |
| virtual bool | serialize_write (std::ostream &stream, void *addr)=0 |
| | Writes a value to a stream.
|
| |
| void | ref () const |
| | Increments the reference count.
|
| |
| void | unref () const |
| | Decrements the reference count.
|
| |
| bool | is_shared () const |
| | Check if the object is shared.
|
| |
| int | nb_refs () const |
| | Gets the number of references that point to this object.
|
| |
|
| static void | ref (const Counted *counted) |
| | Increments the reference count.
|
| |
| static void | unref (const Counted *counted) |
| | Decrements the reference count.
|
| |
| | Counted () |
| | Creates a reference counted object.
|
| |
| virtual | ~Counted () |
| | Destroys a reference counted object.
|
| |
Abstract base class for reading and writing values from/to streams.
Definition at line 58 of file serializer.h.
◆ serialize_read()
| virtual bool OGF::Serializer::serialize_read |
( |
std::istream & |
stream, |
|
|
void * |
addr |
|
) |
| |
|
pure virtual |
◆ serialize_write()
| virtual bool OGF::Serializer::serialize_write |
( |
std::ostream & |
stream, |
|
|
void * |
addr |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: