#include <Teuchos_SerializationTraits.hpp>
Static Public Member Functions | |
Direct serialization functions (not defined if supportsDirectSerialization==false) | |
| Ordinal | fromCountToDirectBytes (const Ordinal count) |
Return the number of bytes for count objects. | |
| char * | convertToCharPtr (T *ptr) |
Convert the pointer type to char*. | |
| const char * | convertToCharPtr (const T *ptr) |
Convert the pointer type to const char*. | |
| Ordinal | fromDirectBytesToCount (const Ordinal bytes) |
Return the number of objects for bytes of storage. | |
| T * | convertFromCharPtr (char *ptr) |
Convert the pointer type from char*. | |
| const T * | convertFromCharPtr (const char *ptr) |
Convert the pointer type from char*. | |
Indirect serialization functions (always defined and supported) | |
| Ordinal | fromCountToIndirectBytes (const Ordinal count) |
Return the number of bytes for count objects. | |
| void | serialize (const Ordinal count, const T buffer[], const Ordinal bytes, char charBuffer[]) |
Serialize to an indirect char[] buffer. | |
| Ordinal | fromIndirectBytesToCount (const Ordinal bytes) |
Return the number of objects for bytes of storage. | |
| void | deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, T buffer[]) |
Deserialize from an indirect char[] buffer. | |
Static Public Attributes | |
Seialization type selection | |
| const bool | supportsDirectSerialization = false |
| Determines if the type supports direct serialization. | |
There are one of two modes associated with serialization.
ToDo: Finish documenation!
Definition at line 49 of file Teuchos_SerializationTraits.hpp.
|
||||||||||
|
Return the number of bytes for
Definition at line 64 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Convert the pointer type to
Definition at line 67 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Convert the pointer type to
Definition at line 70 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Return the number of objects for
Definition at line 73 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Convert the pointer type from
Definition at line 76 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Convert the pointer type from
Definition at line 79 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Return the number of bytes for
Definition at line 87 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||||||||||||||||
|
Serialize to an indirect
Definition at line 104 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||
|
Return the number of objects for
Definition at line 110 of file Teuchos_SerializationTraits.hpp. |
|
||||||||||||||||||||||||
|
Deserialize from an indirect
Definition at line 127 of file Teuchos_SerializationTraits.hpp. |
|
|||||
|
Determines if the type supports direct serialization.
Definition at line 56 of file Teuchos_SerializationTraits.hpp. |
1.3.9.1