method_property_get Class Template Reference
[Properties Library]

#include <stlsoft/properties/method_properties.hpp>

Inheritance diagram for method_property_get:

internal_property< 1, 0, 0 >

List of all members.


Detailed Description

template<typename V, typename R, typename C, ss_ptrdiff_t(*)() PFnOff, R(C::*)() const PFnGet>
class stlsoft::method_property_get< V, R, C, PFnOff, PFnGet >

This class provides method-based read-only property access.

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.


Member Function Documentation

operator reference_type (  )  const [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