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

Data Fields

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

Constructor & Destructor Documentation

◆ compare_aggregate()

template<typename S >
compare_aggregate< S >::compare_aggregate ( const S &  src,
const S &  dst 
)
inline

copy_aggregate

Definition at line 140 of file copy_compare_aggregates.hpp.

Member Function Documentation

◆ operator()()

template<typename S >
template<typename T >
void compare_aggregate< S >::operator() ( T &  t)
inline

It call the copy function for each member.

Definition at line 145 of file copy_compare_aggregates.hpp.

◆ result()

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

Returh the result of the comparison.

Returns
true if aggregates match

Definition at line 164 of file copy_compare_aggregates.hpp.

Field Documentation

◆ dst

template<typename S >
const S& compare_aggregate< S >::dst

Destination grid.

Definition at line 137 of file copy_compare_aggregates.hpp.

◆ eq

template<typename S >
bool compare_aggregate< S >::eq

result of the comparation

Definition at line 131 of file copy_compare_aggregates.hpp.

◆ src

template<typename S >
const S& compare_aggregate< S >::src

src

Definition at line 134 of file copy_compare_aggregates.hpp.


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