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 | |
typedef boost::fusion::vector<T,T,T,T> Point_test_scal< T >::type |
declaration of what the Point_test_scal store
Definition at line 572 of file Point_test.hpp.
|
inline |
Default constructor.
Definition at line 614 of file Point_test.hpp.
|
inline |
constructor from encapc
Definition at line 618 of file Point_test.hpp.
|
inline |
constructor from another point
Definition at line 627 of file Point_test.hpp.
|
inline |
getter method for the property i
Definition at line 611 of file Point_test.hpp.
|
inlinestatic |
Definition at line 646 of file Point_test.hpp.
|
inline |
operator=
Definition at line 636 of file Point_test.hpp.
|
inline |
set the property s
Definition at line 601 of file Point_test.hpp.
|
inline |
set the property x
Definition at line 595 of file Point_test.hpp.
|
inline |
set the property y
Definition at line 597 of file Point_test.hpp.
|
inline |
set the property z
Definition at line 599 of file Point_test.hpp.
type Point_test_scal< T >::data |
The data itself.
Definition at line 575 of file Point_test.hpp.
|
static |
the number of properties
Definition at line 590 of file Point_test.hpp.
|
static |
s property is at position 0 in the boost::fusion::vector
Definition at line 587 of file Point_test.hpp.
|
static |
x property is at position 0 in the boost::fusion::vector
Definition at line 578 of file Point_test.hpp.
|
static |
y property is at position 1 in the boost::fusion::vector
Definition at line 581 of file Point_test.hpp.
|
static |
z property is at position 0 in the boost::fusion::vector
Definition at line 584 of file Point_test.hpp.