#include <stlsoft/properties/method_properties.hpp>
The containing class defines get and set methods. 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 set reference type, the get reference type, the container type, the member functions and the offset function.
Public Types | |
Member Types | |
typedef RG | get_reference_type |
typedef RS | set_reference_type |
typedef C | container_type |
typedef method_property_getset_external < RG, RS, C, PFnOff, PFnGet, PFnSet > | class_type |
Public Member Functions | |
Operators | |
operator get_reference_type () const | |
Provides read-only access to the property. | |
class_type & | operator= (set_reference_type value) |
Provides read-only access to the property. |
operator get_reference_type | ( | ) | const [inline] |
Provides read-only access to the property.
class_type& operator= | ( | set_reference_type | value | ) | [inline] |
Provides read-only access to the property.