#include <Teuchos_PrimitiveTypeTraits.hpp>
Public Types | |
| typedef T | primitiveType |
Static Public Member Functions | |
| int | numPrimitiveObjs () |
| void | extractPrimitiveObjs (const T &obj, const int numPrimitiveObjs, primitiveType primitiveObjs[]) |
| void | loadPrimitiveObjs (const int numPrimitiveObjs, const primitiveType primitiveObjs[], T *obj) |
The idea behind this traits class it that it allows an object of semi-complex 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 59 of file Teuchos_PrimitiveTypeTraits.hpp.
|
|||||
|
Definition at line 62 of file Teuchos_PrimitiveTypeTraits.hpp. |
|
|||||||||
|
Definition at line 64 of file Teuchos_PrimitiveTypeTraits.hpp. |
|
||||||||||||||||||||
|
Definition at line 66 of file Teuchos_PrimitiveTypeTraits.hpp. |
|
||||||||||||||||||||
|
Definition at line 78 of file Teuchos_PrimitiveTypeTraits.hpp. |
1.3.9.1