Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Encapsulate how an array of const objects with value sematics is serialized into a const char[]
array.
More...
#include <Teuchos_SerializationTraitsHelpers.hpp>
Public Member Functions | |
ConstValueTypeSerializationBufferImp (const Ordinal count, const T buffer[], const RCP< const Serializer > &serializer) | |
Serialize to an internally stored char[] buffer. More... | |
~ConstValueTypeSerializationBufferImp () | |
Deserialize from the interal char[] buffer back to the original T[] buffer. More... | |
const char * | getCharBuffer () const |
Ordinal | getBytes () const |
const ArrayView< const char > | getCharBufferView () const |
Private Member Functions | |
ConstValueTypeSerializationBufferImp () | |
ConstValueTypeSerializationBufferImp (const ConstValueTypeSerializationBufferImp &) | |
ConstValueTypeSerializationBufferImp & | operator= (const ConstValueTypeSerializationBufferImp &) |
Private Attributes | |
Ordinal | count_ |
const T * | buffer_ |
Ordinal | bytes_ |
const char * | charBuffer_ |
RCP< const Serializer > | serializer_ |
Encapsulate how an array of const objects with value sematics is serialized into a const char[]
array.
Specialization for direct serialization.
Definition at line 142 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, true >::ConstValueTypeSerializationBufferImp | ( | const Ordinal | count, |
const T | buffer[], | ||
const RCP< const Serializer > & | serializer | ||
) |
Serialize to an internally stored char[]
buffer.
Definition at line 581 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, true >::~ConstValueTypeSerializationBufferImp | ( | ) |
Deserialize from the interal char[]
buffer back to the original T[]
buffer.
Definition at line 592 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
const char * Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, true >::getCharBuffer | ( | ) | const |
Definition at line 599 of file Teuchos_SerializationTraitsHelpers.hpp.
Ordinal Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, true >::getBytes | ( | ) | const |
Definition at line 606 of file Teuchos_SerializationTraitsHelpers.hpp.
const ArrayView< const char > Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, true >::getCharBufferView | ( | ) | const |
Definition at line 614 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
Definition at line 160 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 161 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 162 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 163 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 164 of file Teuchos_SerializationTraitsHelpers.hpp.