OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
compare_aggregate< S > Struct Template Reference

Structure to copy aggregates applying an operation limited to some properties. More...

Detailed Description

template<typename S>
struct compare_aggregate< S >

Structure to copy aggregates applying an operation limited to some properties.

Template Parameters
opoperation to apply
aggregateto copy
prpproperties involved

Structure to compare aggregates

Template Parameters
aggregateto compare

Definition at line 130 of file copy_compare_aggregates.hpp.

#include <copy_compare_aggregates.hpp>

Public Member Functions

 compare_aggregate (const S &src, const S &dst)
 copy_aggregate
 
template<typename T >
void operator() (T &t)
 It call the copy function for each member.
 
bool result ()
 Returh the result of the comparison. More...
 

Data Fields

bool eq
 result of the comparation
 
const S & src
 src
 
const S & dst
 Destination grid.
 

Member Function Documentation

template<typename S>
bool compare_aggregate< S >::result ( )
inline

Returh the result of the comparison.

Returns
true if aggregates match

Definition at line 166 of file copy_compare_aggregates.hpp.


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