OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
aggregate< list > Struct Template Reference

aggregate of properties, from a list of object if create a struct that follow the OPENFPM native structure More...

Detailed Description

template<typename... list>
struct aggregate< list >

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

Template Parameters
listof properties

Definition at line 21 of file aggregate.hpp.

#include <aggregate.hpp>

Public Types

typedef boost::fusion::vector
< list...> 
type
 

Public Member Functions

template<unsigned int i>
boost::mpl::at< type,
boost::mpl::int_< i > >::type & 
get ()
 get the properties i More...
 
template<unsigned int i>
const boost::mpl::at< type,
boost::mpl::int_< i > >::type & 
get () const
 get the properties i More...
 
aggregate< list...> & operator= (aggregate< list...> &ag)=delete
 

Data Fields

type data
 

Static Public Attributes

static const unsigned int max_prop = boost::mpl::size<type>::type::value
 

Member Function Documentation

template<typename... list>
template<unsigned int i>
boost::mpl::at<type,boost::mpl::int_<i> >::type& aggregate< list >::get ( )
inline

get the properties i

Returns
the property i

Definition at line 32 of file aggregate.hpp.

template<typename... list>
template<unsigned int i>
const boost::mpl::at<type,boost::mpl::int_<i> >::type& aggregate< list >::get ( ) const
inline

get the properties i

Returns
the property i

Definition at line 42 of file aggregate.hpp.


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