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
compare_fusion_vector< bfv > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename bfv>
struct compare_fusion_vector< bfv >

this class is a functor for "for_each" algorithm

It compare a boost::fusion::vector with another boost::fusion::vector

Definition at line 17 of file compare_fusion_vector.hpp.

#include <compare_fusion_vector.hpp>

Public Member Functions

 compare_fusion_vector (const bfv &src, const bfv &dst)
 constructor More...
 
template<typename T >
void operator() (T &t)
 It call the copy function for each property.
 
bool result ()
 Returh the result of the comparison. More...
 

Data Fields

bool eq
 
const bfv & src
 
const bfv & dst
 

Constructor & Destructor Documentation

template<typename bfv>
compare_fusion_vector< bfv >::compare_fusion_vector ( const bfv &  src,
const bfv &  dst 
)
inline

constructor

It define the elements to compare.

Parameters
objobject we have to set in grid_dst

Definition at line 31 of file compare_fusion_vector.hpp.

Member Function Documentation

template<typename bfv>
bool compare_fusion_vector< bfv >::result ( )
inline

Returh the result of the comparison.

Returns
true if aggregates match

Definition at line 67 of file compare_fusion_vector.hpp.


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