Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Static Public Member Functions | Static Public Attributes
Teuchos::DirectSerializationTraits< Ordinal, T > Class Template Reference

#include <Teuchos_SerializationTraits.hpp>

Inheritance diagram for Teuchos::DirectSerializationTraits< Ordinal, T >:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static Ordinal fromCountToDirectBytes (const Ordinal count)
static char * convertToCharPtr (T *ptr)
static const char * convertToCharPtr (const T *ptr)
static Ordinal fromDirectBytesToCount (const Ordinal count)
static T * convertFromCharPtr (char *ptr)
static const T * convertFromCharPtr (const char *ptr)
static Ordinal fromCountToIndirectBytes (const Ordinal count)
static void serialize (const Ordinal count, const T buffer[], const Ordinal bytes, char charBuffer[])
static Ordinal fromIndirectBytesToCount (const Ordinal bytes)
static void deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, T buffer[])

Static Public Attributes

static const bool supportsDirectSerialization = true

Detailed Description

template<typename Ordinal, typename T>
class Teuchos::DirectSerializationTraits< Ordinal, T >

Definition at line 164 of file Teuchos_SerializationTraits.hpp.


Member Function Documentation

template<typename Ordinal, typename T>
static Ordinal Teuchos::DirectSerializationTraits< Ordinal, T >::fromCountToDirectBytes ( const Ordinal  count) [inline, static]

Definition at line 168 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static char* Teuchos::DirectSerializationTraits< Ordinal, T >::convertToCharPtr ( T *  ptr) [inline, static]

Definition at line 170 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static const char* Teuchos::DirectSerializationTraits< Ordinal, T >::convertToCharPtr ( const T *  ptr) [inline, static]

Definition at line 172 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static Ordinal Teuchos::DirectSerializationTraits< Ordinal, T >::fromDirectBytesToCount ( const Ordinal  count) [inline, static]

Definition at line 174 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static T* Teuchos::DirectSerializationTraits< Ordinal, T >::convertFromCharPtr ( char *  ptr) [inline, static]

Definition at line 176 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static const T* Teuchos::DirectSerializationTraits< Ordinal, T >::convertFromCharPtr ( const char *  ptr) [inline, static]

Definition at line 178 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static Ordinal Teuchos::DirectSerializationTraits< Ordinal, T >::fromCountToIndirectBytes ( const Ordinal  count) [inline, static]

Definition at line 181 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static void Teuchos::DirectSerializationTraits< Ordinal, T >::serialize ( const Ordinal  count,
const T  buffer[],
const Ordinal  bytes,
char  charBuffer[] 
) [inline, static]

Definition at line 183 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static Ordinal Teuchos::DirectSerializationTraits< Ordinal, T >::fromIndirectBytesToCount ( const Ordinal  bytes) [inline, static]

Definition at line 193 of file Teuchos_SerializationTraits.hpp.

template<typename Ordinal, typename T>
static void Teuchos::DirectSerializationTraits< Ordinal, T >::deserialize ( const Ordinal  bytes,
const char  charBuffer[],
const Ordinal  count,
buffer[] 
) [inline, static]

Definition at line 195 of file Teuchos_SerializationTraits.hpp.


Member Data Documentation

template<typename Ordinal, typename T>
const bool Teuchos::DirectSerializationTraits< Ordinal, T >::supportsDirectSerialization = true [static]

Definition at line 166 of file Teuchos_SerializationTraits.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines