method_property_getset Class Template Reference
[Properties Library]

#include <stlsoft/properties/method_properties.hpp>

Inheritance diagram for method_property_getset:

internal_property< 1, 1, 0 >

List of all members.


Detailed Description

template<typename V, typename RG, typename RS, typename C, ss_ptrdiff_t(*)() PFnOff, RG(C::*)() const PFnGet, void(C::*)(RS) PFnSet>
class stlsoft::method_property_getset< V, RG, RS, C, PFnOff, PFnGet, PFnSet >

This class provides method-based read/write property access.

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 value type, the set reference type, the get reference type, the container type, the member functions and the offset function.

Public Member Functions

Accessors
 operator get_reference_type () const
 Provides read-only access to the property.
class_typeoperator= (set_reference_type value)
 Provides write-only access to the property.


Member Function Documentation

operator get_reference_type (  )  const [inline]

Provides read-only access to the property.

class_type& operator= ( set_reference_type  value  )  [inline]

Provides write-only access to the property.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:58:55 2010 for STLSoft by  doxygen 1.5.6