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_getset_external Class Template Reference

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

#include <stlsoft_method_properties.h>

List of all members.

Public Methods

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

class_type & operator= (set_reference_type value)
 Provides read-only access to the property.


Detailed Description

template<typename RG, typename RS, typename C, 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.


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:

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