|
| virtual ISerializable * | deserialize ()=0 |
| | Reads a serializable object from the deserializer. More...
|
| |
| template<class T> |
| T * | deserialize () |
| | Reads a serializable object from the serializer. More...
|
| |
| virtual bool | read (bool *value, Size count=1)=0 |
| | Reads values of type bool from the deserializer. More...
|
| |
| virtual bool | read (Uint8 *value, Size count=1)=0 |
| | Reads values of type mi::Uint8 from the deserializer. More...
|
| |
| virtual bool | read (Uint16 *value, Size count=1)=0 |
| | Reads values of type mi::Uint16 from the deserializer. More...
|
| |
| virtual bool | read (Uint32 *value, Size count=1)=0 |
| | Reads values of type mi::Size from the deserializer. More...
|
| |
| virtual bool | read (Uint64 *value, Size count=1)=0 |
| | Reads values of type mi::Uint64 from the deserializer. More...
|
| |
| virtual bool | read (Sint8 *value, Size count=1)=0 |
| | Reads values of type mi::Sint8 from the deserializer. More...
|
| |
| virtual bool | read (Sint16 *value, Size count=1)=0 |
| | Reads values of type mi::Sint16 from the deserializer. More...
|
| |
| virtual bool | read (Sint32 *value, Size count=1)=0 |
| | Reads values of type mi::Sint32 from the deserializer. More...
|
| |
| virtual bool | read (Sint64 *value, Size count=1)=0 |
| | Reads values of type mi::Sint64 from the deserializer. More...
|
| |
| virtual bool | read (Float32 *value, Size count=1)=0 |
| | Reads values of type mi::Float32 from the deserializer. More...
|
| |
| virtual bool | read (Float64 *value, Size count=1)=0 |
| | Reads values of type mi::Float64 from the deserializer. More...
|
| |
| virtual bool | read (Tag_struct *value, Size count=1)=0 |
| | Reads values of type mi::neuraylib::Tag_struct from the deserializer. More...
|
| |
| virtual Uint32 | retain () const =0 |
| | Increments the reference count. More...
|
| |
| virtual Uint32 | release () const =0 |
| | Decrements the reference count. More...
|
| |
| virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
| | Acquires a const interface from another. More...
|
| |
| template<class T> |
| const T * | get_interface () const |
| | Acquires a const interface from another. More...
|
| |
| virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
| | Acquires a mutable interface from another. More...
|
| |
| template<class T> |
| T * | get_interface () |
| | Acquires a mutable interface from another. More...
|
| |
| virtual Uuid | get_iid () const =0 |
| | Returns the interface ID of the most derived interface. More...
|
| |
|
| using | Self = Interface_declare< id1, ... > |
| | Own type. More...
|
| |
| using | IID = Uuid_t< id1, ... > |
| | Declares the interface ID (IID) of this interface. More...
|
| |
| using | IID = Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> |
| | Declares the interface ID (IID) of this interface. More...
|
| |
| static bool | compare_iid (const Uuid &iid) |
| | Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
|
| |
| static bool | compare_iid (const Uuid &iid) |
| | Compares the interface ID iid against the interface ID of this interface. More...
|
| |
Source for deserializing objects from byte streams.
The deserializer can be used to deserialize objects from a byte stream. It is used when deserializing objects from disk, from a network connection, etc.
Arrays of values of a particular type can be deserialized with a single call by passing the array size as the count parameter. The address of subsequent array elements is obtained by pointer arithmetic.