#include <Teuchos_PrimitiveTypeTraits.hpp>
Public Types | |
| typedef T | primitiveType |
| | |
Static Public Member Functions | |
| static int | numPrimitiveObjs () |
| | |
| static void | extractPrimitiveObjs (const T &obj, const int numPrimitiveObjs, primitiveType primitiveObjs[]) |
| | |
| static void | loadPrimitiveObjs (const int numPrimitiveObjs, const primitiveType primitiveObjs[], T *obj) |
| | |
The idea behind this traits class it that it allows an object of semi-stdcomplex structure to be externalized into an array of primitive data types.
This default traits class works just fine for types that are already primitive.
Definition at line 58 of file Teuchos_PrimitiveTypeTraits.hpp.
| typedef T Teuchos::PrimitiveTypeTraits< T >::primitiveType |
| static int Teuchos::PrimitiveTypeTraits< T >::numPrimitiveObjs | ( | ) | [inline, static] |
| static void Teuchos::PrimitiveTypeTraits< T >::extractPrimitiveObjs | ( | const T & | obj, | |
| const int | numPrimitiveObjs, | |||
| primitiveType | primitiveObjs[] | |||
| ) | [inline, static] |
| static void Teuchos::PrimitiveTypeTraits< T >::loadPrimitiveObjs | ( | const int | numPrimitiveObjs, | |
| const primitiveType | primitiveObjs[], | |||
| T * | obj | |||
| ) | [inline, static] |
1.4.7