Test structure used for several test. More...
Test structure used for several test.
It is a test structure used for several test it contain 4 scalar "x,y,z,s" one vector property v[3] and one tensor or rank 2 t[3][3]
It is the format for type parsing of in the openfpm structures see openFPM_data wiki for more information
Definition at line 72 of file Point_test.hpp.
#include <Point_test.hpp>
Public Types | |
typedef boost::fusion::vector < T, T, T, T, T[3], T[3][3]> | type |
Public Member Functions | |
void | setx (T x_) |
void | sety (T y_) |
void | setz (T z_) |
void | sets (T s_) |
void | setv (size_t i, T v_) |
void | sett (size_t i, size_t j, T t_) |
template<unsigned int i> | |
boost::fusion::result_of::at < type, boost::mpl::int_< i > >::type | get () |
Point_test () | |
Default constructor. | |
bool | operator== (const Point_test< float > &p) const |
check if two point match | |
template<unsigned int dim, typename Mem > | |
Point_test (const encapc< dim, Point_test< T >, Mem > &p) | |
constructor from encapc | |
template<unsigned int dim, typename Mem > | |
Point_test (const encapg< dim, Point_test< T >, Mem > &p) | |
constructor from encapg | |
Point_test (const Point_test< T > &p) | |
constructor from another point | |
Point_test< T > | operator= (const Point_test< T > &p) |
constructor from another point | |
void | fill () |
fill More... | |
Static Public Member Functions | |
static bool | noPointers () |
noPointers function More... | |
Data Fields | |
type | data |
|
inline |
|
inlinestatic |
noPointers function
It notify that Point_test does not have any pointer and is safe to send
Definition at line 220 of file Point_test.hpp.