method_property_get_external Class Template Reference
[Properties Library]

#include <stlsoft/properties/method_properties.hpp>

Inheritance diagram for method_property_get_external:

external_property< 1, 0, 0 >

List of all members.

Detailed Description

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

This class provides indirect 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 the reference type, the container type, the member function and the offset function.

Public Types

Member Types
typedef R reference_type
typedef C container_type
< R, C, PFnOff, PFnGet > 

Public Member Functions

 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