OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
check_device_ptr< data_type > Struct Template Reference

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

Detailed Description

template<typename data_type>
struct check_device_ptr< data_type >

this class is a functor for "for_each" algorithm

This class is a functor for "for_each" algorithm. It check if the pointer ptr match one of the pointer properties

Definition at line 103 of file util.hpp.

#include <util.hpp>

Public Member Functions

 check_device_ptr (void *ptr, data_type &data)
 constructor More...
template<typename T >
void operator() (T &t)
 It call the copy function for each property.

Data Fields

void * ptr
 pointer to check
data_type & data
 Data to check.
int prp
bool result

Constructor & Destructor Documentation

◆ check_device_ptr()

template<typename data_type>
check_device_ptr< data_type >::check_device_ptr ( void *  ptr,
data_type &  data 


ptrpointer to check
datadata structure

Definition at line 121 of file util.hpp.

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