Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Encapsulate how an array of onst objects with reference sematics is deserialized from a char[]
array with memory being automatically freed at destruction time.
More...
#include <Teuchos_SerializerHelpers.hpp>
Public Member Functions | |
ConstReferenceTypeDeserializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal bytes, const char charBuffer[]) | |
Serialize to an internally stored T*[] buffer. More... | |
~ConstReferenceTypeDeserializationBuffer () | |
Reserialize back to the char[] buffer from the internal T*[] buffer. More... | |
const T *const * | getBuffer () const |
Ordinal | getCount () const |
Private Types | |
typedef Array< RCP< T > > | buffer_ptr_t |
typedef Array< T * > | buffer_t |
Private Member Functions | |
ConstReferenceTypeDeserializationBuffer () | |
ConstReferenceTypeDeserializationBuffer (const ConstReferenceTypeDeserializationBuffer &) | |
ConstReferenceTypeDeserializationBuffer & | operator= (const ConstReferenceTypeDeserializationBuffer &) |
Private Attributes | |
const Serializer< Ordinal, T > & | serializer_ |
Ordinal | bytes_ |
const char * | charBuffer_ |
buffer_ptr_t | buffer_ptr_ |
buffer_t | buffer_ |
Encapsulate how an array of onst objects with reference sematics is deserialized from a char[]
array with memory being automatically freed at destruction time.
Definition at line 118 of file Teuchos_SerializerHelpers.hpp.
|
private |
Definition at line 134 of file Teuchos_SerializerHelpers.hpp.
|
private |
Definition at line 135 of file Teuchos_SerializerHelpers.hpp.
Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::ConstReferenceTypeDeserializationBuffer | ( | const Serializer< Ordinal, T > & | serializer, |
const Ordinal | bytes, | ||
const char | charBuffer[] | ||
) |
Serialize to an internally stored T*[]
buffer.
Definition at line 279 of file Teuchos_SerializerHelpers.hpp.
Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::~ConstReferenceTypeDeserializationBuffer | ( | ) |
Reserialize back to the char[]
buffer from the internal T*[]
buffer.
Definition at line 302 of file Teuchos_SerializerHelpers.hpp.
|
private |
|
private |
const T *const * Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::getBuffer | ( | ) | const |
Definition at line 308 of file Teuchos_SerializerHelpers.hpp.
Ordinal Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::getCount | ( | ) | const |
Definition at line 314 of file Teuchos_SerializerHelpers.hpp.
|
private |
|
private |
Definition at line 136 of file Teuchos_SerializerHelpers.hpp.
|
private |
Definition at line 137 of file Teuchos_SerializerHelpers.hpp.
|
private |
Definition at line 138 of file Teuchos_SerializerHelpers.hpp.
|
private |
Definition at line 139 of file Teuchos_SerializerHelpers.hpp.
|
private |
Definition at line 140 of file Teuchos_SerializerHelpers.hpp.