Public Member Functions

LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL > Class Template Reference

Primitive datatypes don't have member pointers (or members in the first place). More...

#include <selector.h>

List of all members.

Public Member Functions

template<typename MEMBER >
void operator() (const CELL *source, MEMBER *target, const std::size_t length) const
const std::string name () const
std::size_t sizeOfMember () const
std::size_t sizeOfExternal () const
int offset () const
void copyMemberIn (const char *source, CELL *target, int num) const
void copyMemberOut (const CELL *source, char *target, int num) const

Detailed Description

template<typename CELL>
class LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >

Primitive datatypes don't have member pointers (or members in the first place).

So we provide this primitive implementation to copy them en block.


Member Function Documentation

template<typename CELL>
void LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::copyMemberIn ( const char *  source,
CELL *  target,
int  num 
) const [inline]
template<typename CELL>
void LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::copyMemberOut ( const CELL *  source,
char *  target,
int  num 
) const [inline]
template<typename CELL>
const std::string LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::name (  )  const [inline]
template<typename CELL>
int LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::offset (  )  const [inline]
template<typename CELL>
template<typename MEMBER >
void LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::operator() ( const CELL *  source,
MEMBER *  target,
const std::size_t  length 
) const [inline]
template<typename CELL>
std::size_t LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::sizeOfExternal (  )  const [inline]
template<typename CELL>
std::size_t LibGeoDecomp::SelectorHelpers::PrimitiveSelector< CELL >::sizeOfMember (  )  const [inline]

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