Teuchos - Trilinos Tools Package
Version of the Day
|
Encapsulate how an array of non-const objects with reference sematics is serialized into a char[]
array and deserialized again.
More...
#include <Teuchos_SerializerHelpers.hpp>
Public Member Functions | |
ReferenceTypeSerializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal count, T *const buffer[]) | |
Serialize to an internally stored char[] buffer. More... | |
~ReferenceTypeSerializationBuffer () | |
Deserialize from the interal char[] buffer back to the original T*[] buffer. More... | |
char * | getCharBuffer () const |
Ordinal | getBytes () const |
Encapsulate how an array of non-const objects with reference sematics is serialized into a char[]
array and deserialized again.
Definition at line 22 of file Teuchos_SerializerHelpers.hpp.
Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::ReferenceTypeSerializationBuffer | ( | const Serializer< Ordinal, T > & | serializer, |
const Ordinal | count, | ||
T *const | buffer[] | ||
) |
Serialize to an internally stored char[]
buffer.
Definition at line 155 of file Teuchos_SerializerHelpers.hpp.
Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::~ReferenceTypeSerializationBuffer | ( | ) |
Deserialize from the interal char[]
buffer back to the original T*[]
buffer.
Definition at line 167 of file Teuchos_SerializerHelpers.hpp.
char * Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::getCharBuffer | ( | ) | const |
Definition at line 173 of file Teuchos_SerializerHelpers.hpp.
Ordinal Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::getBytes | ( | ) | const |
Definition at line 182 of file Teuchos_SerializerHelpers.hpp.