#include <Teuchos_SerializationTraits.hpp>
|
| static Ordinal | fromCountToDirectBytes (const Ordinal count) |
| | Return the number of bytes for count objects.
|
| |
| static char * | convertToCharPtr (unsigned long long int *ptr) |
| | Convert the pointer type to char*.
|
| |
| static const char * | convertToCharPtr (const unsigned long long int *ptr) |
| | Convert the pointer type to const char*.
|
| |
| static Ordinal | fromDirectBytesToCount (const Ordinal bytes) |
| | Return the number of objects for bytes of storage.
|
| |
| static unsigned long long int * | convertFromCharPtr (char *ptr) |
| | Convert the pointer type from char*.
|
| |
| static const unsigned long long int * | convertFromCharPtr (const char *ptr) |
| | Convert the pointer type from char*.
|
| |
|
| static Ordinal | fromCountToIndirectBytes (const Ordinal count, const unsigned long long int buffer[]) |
| | Return the number of bytes for count objects.
|
| |
| static void | serialize (const Ordinal count, const unsigned long long int buffer[], const Ordinal bytes, char charBuffer[]) |
| | Serialize to an indirect char[] buffer.
|
| |
| static Ordinal | fromIndirectBytesToCount (const Ordinal bytes, const char charBuffer[]) |
| | Return the number of objects for bytes of storage.
|
| |
| static void | deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, unsigned long long int buffer[]) |
| | Deserialize from an indirect char[] buffer.
|
| |
template<typename Ordinal>
class Teuchos::SerializationTraits< Ordinal, unsigned long long int >
Definition at line 480 of file Teuchos_SerializationTraits.hpp.
◆ fromCountToDirectBytes()
◆ convertToCharPtr() [1/2]
◆ convertToCharPtr() [2/2]
◆ fromDirectBytesToCount()
◆ convertFromCharPtr() [1/2]
◆ convertFromCharPtr() [2/2]
| static const unsigned long long int * Teuchos::SerializationTraits< Ordinal, unsigned long long int >::convertFromCharPtr |
( |
const char * | ptr | ) |
|
|
inlinestatic |
◆ fromCountToIndirectBytes()
| static Ordinal Teuchos::SerializationTraits< Ordinal, unsigned long long int >::fromCountToIndirectBytes |
( |
const Ordinal | count, |
|
|
const unsigned long long int | buffer[] ) |
|
inlinestatic |
◆ serialize()
| static void Teuchos::SerializationTraits< Ordinal, unsigned long long int >::serialize |
( |
const Ordinal | count, |
|
|
const unsigned long long int | buffer[], |
|
|
const Ordinal | bytes, |
|
|
char | charBuffer[] ) |
|
inlinestatic |
Serialize to an indirect char[] buffer.
- Parameters
-
| count | [in] The number of objects to serialize. |
| buffer | [in] The objects to serialize. |
| bytes | [in] Number of bytes in charBuffer[] |
| charBuffer | [out] Array (length bytes) containing the serialized objects. |
Preconditions:
-
bytes==fromCountToIndirectBytes(count)
Definition at line 217 of file Teuchos_SerializationTraits.hpp.
◆ fromIndirectBytesToCount()
| static Ordinal Teuchos::SerializationTraits< Ordinal, unsigned long long int >::fromIndirectBytesToCount |
( |
const Ordinal | bytes, |
|
|
const char | charBuffer[] ) |
|
inlinestatic |
◆ deserialize()
| static void Teuchos::SerializationTraits< Ordinal, unsigned long long int >::deserialize |
( |
const Ordinal | bytes, |
|
|
const char | charBuffer[], |
|
|
const Ordinal | count, |
|
|
unsigned long long int | buffer[] ) |
|
inlinestatic |
Deserialize from an indirect char[] buffer.
- Parameters
-
| bytes | [in] Number of bytes in charBuffer[] |
| charBuffer | [in] Array (length bytes) containing the serialized objects. |
| count | [in] The number of objects to deserialize. |
| buffer | [out] The deserialized objects. |
Preconditions:
-
count==fromIndirectBytesToCount(bytes)
Definition at line 249 of file Teuchos_SerializationTraits.hpp.
◆ supportsDirectSerialization
Whether the type T supports direct serialization.
See the class documentation for definitions of "direct" and "indirect" serialization.
Definition at line 140 of file Teuchos_SerializationTraits.hpp.
The documentation for this class was generated from the following file: