Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Encapsulate how an array of non-const serialized objects with value sematics stored in a char[]
array is deserialized to a T[]
array and then serialized back again.
More...
#include <Teuchos_SerializationTraitsHelpers.hpp>
Public Member Functions | |
ValueTypeDeserializationBufferImp (const Ordinal bytes, char charBuffer[], const RCP< const Serializer > &serializer) | |
Serialize to an internally stored char[] buffer. More... | |
~ValueTypeDeserializationBufferImp () | |
Deserialize from the interal char[] buffer back to the original T[] buffer. More... | |
T * | getBuffer () const |
Ordinal | getCount () const |
Private Member Functions | |
ValueTypeDeserializationBufferImp () | |
ValueTypeDeserializationBufferImp (const ValueTypeDeserializationBufferImp &) | |
ValueTypeDeserializationBufferImp & | operator= (const ValueTypeDeserializationBufferImp &) |
Private Attributes | |
Ordinal | bytes_ |
char * | charBuffer_ |
Ordinal | count_ |
T * | buffer_ |
RCP< const Serializer > | serializer_ |
Encapsulate how an array of non-const serialized objects with value sematics stored in a char[]
array is deserialized to a T[]
array and then serialized back again.
Specialization for direct serialization.
Definition at line 178 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::ValueTypeDeserializationBufferImp | ( | const Ordinal | bytes, |
char | charBuffer[], | ||
const RCP< const Serializer > & | serializer | ||
) |
Serialize to an internally stored char[]
buffer.
Definition at line 625 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::~ValueTypeDeserializationBufferImp | ( | ) |
Deserialize from the interal char[]
buffer back to the original T[]
buffer.
Definition at line 636 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
T * Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::getBuffer | ( | ) | const |
Definition at line 643 of file Teuchos_SerializationTraitsHelpers.hpp.
Ordinal Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::getCount | ( | ) | const |
Definition at line 650 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
Definition at line 194 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 195 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 196 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 197 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 198 of file Teuchos_SerializationTraitsHelpers.hpp.