method_property_getset_external Class Template Reference
[Properties Library]

#include <stlsoft/properties/method_properties.hpp>

Inheritance diagram for method_property_getset_external:

external_property< 1, 1, 0 >

List of all members.

Detailed Description

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

This class provides indirect 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 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
< RG, RS, C, PFnOff, PFnGet,
PFnSet > 

Public Member Functions

 operator get_reference_type () const
 Provides read-only access to the property.
class_typeoperator= (set_reference_type value)
 Provides read-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 read-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