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_aggregate< S > Struct Template Reference

Structure to compare aggregates. More...

Detailed Description

template<typename S>
struct compare_aggregate< S >

Structure to compare aggregates.

Template Parameters
aggregateto compare

Definition at line 55 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
 
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 90 of file copy_compare_aggregates.hpp.


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