walberla::VectorTrait< T > Struct Template Reference

Detailed Description

template<typename T>
struct walberla::VectorTrait< T >

Provides information on how to serialize (=extract components) from a compound data type.

This is the general implementation for arithmetic data-types, for a specialization example see Vector3.h

#include <VectorTrait.h>

Public Types

typedef T OutputType

Static Public Member Functions

static T get (T value, uint_t)
static void set (T &value, uint_t, T val)

Static Public Attributes

static const uint_t F_SIZE = 1u

Member Typedef Documentation

template<typename T >
typedef T walberla::VectorTrait< T >::OutputType

Member Function Documentation

template<typename T >
static T walberla::VectorTrait< T >::get ( value,
template<typename T >
static void walberla::VectorTrait< T >::set ( T &  value,
uint_t  ,

Member Data Documentation

template<typename T >
const uint_t walberla::VectorTrait< T >::F_SIZE = 1u

The documentation for this struct was generated from the following file: