#include <stlsoft/properties/method_properties.hpp>
The containing class defines a get method. It also defines a static method that contains the offset of the given property from within the container. Then the template is parameterised with the value type, the reference type, the container type, the member function and the offset function.
Member Types | |
typedef V | value_type |
typedef R | reference_type |
typedef C | container_type |
typedef method_property_get< V, R, C, PFnOff, PFnGet > | class_type |
Public Member Functions | |
Accessors | |
operator reference_type () const | |
Provides read-only access to the property. |
operator reference_type | ( | ) | const [inline] |
Provides read-only access to the property.