Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Encapsulate how an array of non-const objects with value sematics is serialized into a char[]
array.
More...
#include <Teuchos_SerializationTraitsHelpers.hpp>
Public Member Functions | |
ValueTypeSerializationBufferImp (const Ordinal count, T buffer[], const RCP< const Serializer > &serializer) | |
Serialize to an internally stored char[] buffer. More... | |
~ValueTypeSerializationBufferImp () | |
Deserialize from the interal char[] buffer back to the original T[] buffer. More... | |
char * | getCharBuffer () const |
Ordinal | getBytes () const |
const ArrayView< char > | getCharBufferView () const |
Private Member Functions | |
ValueTypeSerializationBufferImp () | |
ValueTypeSerializationBufferImp (const ValueTypeSerializationBufferImp &) | |
ValueTypeSerializationBufferImp & | operator= (const ValueTypeSerializationBufferImp &) |
Private Attributes | |
Ordinal | count_ |
T * | buffer_ |
Ordinal | bytes_ |
Array< char > | charBuffer_ |
RCP< const Serializer > | serializer_ |
Encapsulate how an array of non-const objects with value sematics is serialized into a char[]
array.
Specialization for indirect serialization
Definition at line 245 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::ValueTypeSerializationBufferImp | ( | const Ordinal | count, |
T | buffer[], | ||
const RCP< const Serializer > & | serializer | ||
) |
Serialize to an internally stored char[]
buffer.
Definition at line 701 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::~ValueTypeSerializationBufferImp | ( | ) |
Deserialize from the interal char[]
buffer back to the original T[]
buffer.
Definition at line 713 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
char * Teuchos::ValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getCharBuffer | ( | ) | const |
Definition at line 720 of file Teuchos_SerializationTraitsHelpers.hpp.
Ordinal Teuchos::ValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getBytes | ( | ) | const |
Definition at line 727 of file Teuchos_SerializationTraitsHelpers.hpp.
const ArrayView< char > Teuchos::ValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getCharBufferView | ( | ) | const |
Definition at line 735 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
Definition at line 263 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 264 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 265 of file Teuchos_SerializationTraitsHelpers.hpp.
|
mutableprivate |
Definition at line 266 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 267 of file Teuchos_SerializationTraitsHelpers.hpp.