|
Fundamental Vector Reduction/Transformation Operator (RTOp) Interfaces Version of the Day
|
A templated traits class for decomposing object into an array of primitive objects. More...
#include <RTOpPack_Types.hpp>
Public Types | |
| typedef Scalar | primitiveType |
| | |
Static Public Member Functions | |
| static int | numPrimitiveObjs () |
| | |
| static int | numIndexObjs () |
| | |
| static int | numCharObjs () |
| | |
| static void | extractPrimitiveObjs (const Scalar &obj, const ArrayView< primitiveType > &primitiveObjs, const ArrayView< index_type > &indexObjs, const ArrayView< char > &charObjs) |
| | |
| static void | loadPrimitiveObjs (const ArrayView< const primitiveType > &primitiveObjs, const ArrayView< const index_type > &indexObjs, const ArrayView< const char > &charObjs, const Ptr< Scalar > &obj) |
| | |
A templated traits class for decomposing object into an array of primitive objects.
The idea behind this traits class it that it allows an object of semi-complex structure to be externalized into arrays of primitive data types.
This default traits class works just fine for types that are already primitive.
Definition at line 640 of file RTOpPack_Types.hpp.
| typedef Scalar RTOpPack::PrimitiveTypeTraits< Scalar, ConcreteObj >::primitiveType |
Definition at line 643 of file RTOpPack_Types.hpp.
| static int RTOpPack::PrimitiveTypeTraits< Scalar, ConcreteObj >::numPrimitiveObjs | ( | ) | [inline, static] |
Definition at line 645 of file RTOpPack_Types.hpp.
| static int RTOpPack::PrimitiveTypeTraits< Scalar, ConcreteObj >::numIndexObjs | ( | ) | [inline, static] |
Definition at line 648 of file RTOpPack_Types.hpp.
| static int RTOpPack::PrimitiveTypeTraits< Scalar, ConcreteObj >::numCharObjs | ( | ) | [inline, static] |
Definition at line 651 of file RTOpPack_Types.hpp.
| static void RTOpPack::PrimitiveTypeTraits< Scalar, ConcreteObj >::extractPrimitiveObjs | ( | const Scalar & | obj, |
| const ArrayView< primitiveType > & | primitiveObjs, | ||
| const ArrayView< index_type > & | indexObjs, | ||
| const ArrayView< char > & | charObjs | ||
| ) | [inline, static] |
Definition at line 654 of file RTOpPack_Types.hpp.
| static void RTOpPack::PrimitiveTypeTraits< Scalar, ConcreteObj >::loadPrimitiveObjs | ( | const ArrayView< const primitiveType > & | primitiveObjs, |
| const ArrayView< const index_type > & | indexObjs, | ||
| const ArrayView< const char > & | charObjs, | ||
| const Ptr< Scalar > & | obj | ||
| ) | [inline, static] |
Definition at line 664 of file RTOpPack_Types.hpp.
1.7.4