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] + the definition of properties names
It is the format for type parsing of in the openfpm structures see openFPM_data wiki for more information
Definition at line 414 of file Point_test.hpp.
#include <Point_test.hpp>
Data Structures | |
struct | attributes |
Attributes name. More... | |
Public Types | |
typedef boost::fusion::vector< T, T, T, T, T[3], T[3][3]> | type |
declaration of what the Point_test_prp store | |
Public Member Functions | |
void | setx (T x_) |
set the x property | |
void | sety (T y_) |
set the y property | |
void | setz (T z_) |
set the z property | |
void | sets (T s_) |
set the s property | |
template<unsigned int i> | |
boost::fusion::result_of::at< type, boost::mpl::int_< i > >::type | get () |
getter method for a general property i | |
Point_test_prp () | |
Default constructor. | |
template<typename Mem > | |
Point_test_prp (const encapc< 1, Point_test_prp< T >, Mem > &p) | |
constructor from encapc | |
Point_test_prp (const Point_test_prp< T > &p) | |
constructor from another point | |
Point_test_prp< T > | operator= (const Point_test< T > &p) |
Copy the point. | |
Static Public Member Functions | |
static bool | noPointers () |
Data Fields | |
type | data |
Object itself. | |
Static Public Attributes | |
static const unsigned int | x = 0 |
x property is at position 0 in the boost::fusion::vector | |
static const unsigned int | y = 1 |
y property is at position 1 in the boost::fusion::vector | |
static const unsigned int | z = 2 |
z property is at position 2 in the boost::fusion::vector | |
static const unsigned int | s = 3 |
s property is at position 3 in the boost::fusion::vector | |
static const unsigned int | v = 4 |
v property is at position 4 in the boost::fusion::vector | |
static const unsigned int | t = 5 |
t property is at position 5 in the boost::fusion::vector | |
static const unsigned int | max_prop = 6 |
maximum number of properties | |
typedef boost::fusion::vector<T,T,T,T,T[3],T[3][3]> Point_test_prp< T >::type |
declaration of what the Point_test_prp store
Definition at line 419 of file Point_test.hpp.
|
inline |
Default constructor.
Definition at line 486 of file Point_test.hpp.
|
inline |
constructor from encapc
Definition at line 490 of file Point_test.hpp.
|
inline |
constructor from another point
Definition at line 510 of file Point_test.hpp.
|
inline |
getter method for a general property i
Definition at line 483 of file Point_test.hpp.
|
inlinestatic |
Definition at line 558 of file Point_test.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
type Point_test_prp< T >::data |
Object itself.
Definition at line 422 of file Point_test.hpp.
|
static |
maximum number of properties
Definition at line 443 of file Point_test.hpp.
|
static |
s property is at position 3 in the boost::fusion::vector
Definition at line 434 of file Point_test.hpp.
|
static |
t property is at position 5 in the boost::fusion::vector
Definition at line 440 of file Point_test.hpp.
|
static |
v property is at position 4 in the boost::fusion::vector
Definition at line 437 of file Point_test.hpp.
|
static |
x property is at position 0 in the boost::fusion::vector
Definition at line 425 of file Point_test.hpp.
|
static |
y property is at position 1 in the boost::fusion::vector
Definition at line 428 of file Point_test.hpp.
|
static |
z property is at position 2 in the boost::fusion::vector
Definition at line 431 of file Point_test.hpp.