aggregate of properties, from a list of object if create a struct that follow the OPENFPM native structure More...
aggregate of properties, from a list of object if create a struct that follow the OPENFPM native structure
see the Wiki for more information about the OPENFPM native structure format
list | of properties |
Definition at line 214 of file aggregate.hpp.
#include <aggregate.hpp>
Public Types | |
typedef boost::fusion::vector< list... > | type |
internal type containing the data | |
typedef boost::fusion::vector< list... > | type_real |
real internal type containing the data | |
typedef int | yes_is_aggregate |
Public Member Functions | |
__device__ __host__ | aggregate (const aggregate< list ... > &aggr) |
template<unsigned int i> | |
__device__ __host__ boost::mpl::at< type, boost::mpl::int_< i > >::type & | get () |
get the properties i More... | |
template<unsigned int i> | |
__device__ __host__ const boost::mpl::at< type, boost::mpl::int_< i > >::type & | get () const |
get the properties i More... | |
aggregate< list... > & | operator= (const aggregate< list... > &ag) |
Static Public Member Functions | |
static bool | noPointers () |
it return false if this aggregate has no pointers More... | |
Data Fields | |
type | data |
the data | |
Static Public Attributes | |
static const unsigned int | max_prop = boost::mpl::size<type>::type::value |
static const unsigned int | max_prop_real = boost::mpl::size<type>::type::value |
|
inlinestatic |
it return false if this aggregate has no pointers
Definition at line 249 of file aggregate.hpp.