STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

method_property_get Class Template Reference

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

#include <stlsoft_method_properties.h>

List of all members.

Public Methods

 operator reference_type () const
 Provides read-only access to the property.


Detailed Description

template<typename V, typename R, typename C, 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 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:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004