#include <Teuchos_Serializer.hpp>
Public Member Functions | |
| virtual | ~Serializer () |
| | |
| virtual Ordinal | getBufferSize (const Ordinal count) const =0 |
Return an estimate for the maximum storage for count objects to be serialized. | |
| virtual void | serialize (const Ordinal count, const T *const objs[], const Ordinal bytes, char charBuffer[]) const =0 |
Serialize an object to a char[] buffer. | |
| virtual RefCountPtr< T > | createObj () const =0 |
Create an object of type T to be serialized into. | |
| virtual void | deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, T *const objs[]) const =0 |
Deserialize an object from a char[] buffer. | |
This interface serializes and serializes objects of type T to and from independent char[] buffer arrays. Direct serialization (i.e. just using reinterpret casts) is not possible using this interface.
Definition at line 44 of file Teuchos_Serializer.hpp.
|
|||||||||
|
Definition at line 48 of file Teuchos_Serializer.hpp. |
|
||||||||||
|
Return an estimate for the maximum storage for
|
|
||||||||||||||||||||||||
|
Serialize an object to a
|
|
|||||||||
|
Create an object of type
|
|
||||||||||||||||||||||||
|
Deserialize an object from a
|
1.3.9.1