point test with only scalar properties More...
point test with only scalar properties
Definition at line 567 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 > | type |
declaration of what the Point_test_scal store | |
Public Member Functions | |
void | setx (T x_) |
set the property x | |
void | sety (T y_) |
set the property y | |
void | setz (T z_) |
set the property z | |
void | sets (T s_) |
set the property s | |
template<unsigned int i> | |
boost::fusion::result_of::at< type, boost::mpl::int_< i > >::type | get () |
getter method for the property i | |
Point_test_scal () | |
Default constructor. | |
template<typename Mem > | |
Point_test_scal (const encapc< 1, Point_test_scal< T >, Mem > &p) | |
constructor from encapc | |
Point_test_scal (const Point_test_scal< T > &p) | |
constructor from another point | |
Point_test_scal< T > | operator= (const Point_test_scal< T > &p) |
operator= | |
Static Public Member Functions | |
static bool | noPointers () |
Data Fields | |
type | data |
The data 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 0 in the boost::fusion::vector | |
static const unsigned int | s = 3 |
s property is at position 0 in the boost::fusion::vector | |
static const unsigned int | max_prop = 4 |
the number of properties | |