ivutils
Loading...
Searching...
No Matches
AccessHelper< TypeIn, TypeOut > Struct Template Reference

Helper class that describes how not vector data TypeIn are stored inside vector data TypeOut. More...

#include <packer.h>

Static Public Member Functions

static void set (TypeOut &arr, const TypeIn &val, int iv)
 Sets val on position iv in arr.
 
static void set (TypeOut &arr1, const TypeOut &arr2, int iv)
 Copies position iv from arr2 to arr1.
 
static bool equals_one (const TypeOut &arr, const TypeIn &val, int iv)
 Compares position iv in arr with val.
 
static bool equals_one (const TypeOut &arr1, const TypeOut &arr2, int iv)
 Compares position iv in arr1 with position iv in arr2.
 

Detailed Description

template<class TypeIn, class TypeOut>
struct AccessHelper< TypeIn, TypeOut >

Helper class that describes how not vector data TypeIn are stored inside vector data TypeOut.

Template Parameters
TypeInnon-vector data type
TypeOutvector data type

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