OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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 19 of file compare_fusion_vector.hpp.

#include <compare_fusion_vector.hpp>

Public Member Functions

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

Data Fields

bool eq
 Result of the comparation.
 
const bfv & src
 operator1
 
const bfv & dst
 operator2
 

Constructor & Destructor Documentation

◆ compare_fusion_vector()

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
srcoperator1
dstoperator2

Definition at line 38 of file compare_fusion_vector.hpp.

Member Function Documentation

◆ operator()()

template<typename bfv >
template<typename T >
void compare_fusion_vector< bfv >::operator() ( T &  t)
inline

It call the copy function for each property.

Template Parameters
compile-timevalue
Parameters
tunused

Definition at line 61 of file compare_fusion_vector.hpp.

◆ result()

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

Returh the result of the comparison.

Returns
true if aggregates match

Definition at line 80 of file compare_fusion_vector.hpp.

Field Documentation

◆ dst

template<typename bfv >
const bfv& compare_fusion_vector< bfv >::dst

operator2

Definition at line 28 of file compare_fusion_vector.hpp.

◆ eq

template<typename bfv >
bool compare_fusion_vector< bfv >::eq

Result of the comparation.

Definition at line 22 of file compare_fusion_vector.hpp.

◆ src

template<typename bfv >
const bfv& compare_fusion_vector< bfv >::src

operator1

Definition at line 25 of file compare_fusion_vector.hpp.


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