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_ |
Array< 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 indirect serialization
Definition at line 280 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::ConstValueTypeSerializationBufferImp | ( | const Ordinal | count, |
const T | buffer[], | ||
const RCP< const Serializer > & | serializer | ||
) |
Serialize to an internally stored char[]
buffer.
Definition at line 747 of file Teuchos_SerializationTraitsHelpers.hpp.
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::~ConstValueTypeSerializationBufferImp | ( | ) |
Deserialize from the interal char[]
buffer back to the original T[]
buffer.
Definition at line 759 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
const char * Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getCharBuffer | ( | ) | const |
Definition at line 765 of file Teuchos_SerializationTraitsHelpers.hpp.
Ordinal Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getBytes | ( | ) | const |
Definition at line 772 of file Teuchos_SerializationTraitsHelpers.hpp.
const ArrayView< const char > Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getCharBufferView | ( | ) | const |
Definition at line 780 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
|
private |
Definition at line 298 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 299 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 300 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 301 of file Teuchos_SerializationTraitsHelpers.hpp.
|
private |
Definition at line 302 of file Teuchos_SerializationTraitsHelpers.hpp.