stlsoft/properties/method_properties.hpp File Reference


Detailed Description

[C++ only] Definition of the method property implementation class templates: stlsoft::method_property_get, stlsoft::method_property_set, stlsoft::method_property_getset, stlsoft::method_property_get_external, stlsoft::method_property_set_external, stlsoft::method_property_getset_external, stlsoft::static_method_property_get, stlsoft::static_method_property_set stlsoft::static_method_property_getset, stlsoft::static_method_property_get_external, stlsoft::static_method_property_set_external and stlsoft::static_method_property_getset_external (Properties Library).

#include <stlsoft/stlsoft.h>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

struct  property_tag
struct  internal_property_tag
struct  external_property_tag
struct  internal_property
 Designates an internal property. More...
struct  external_property
 Designates an external property. More...
struct  member_get_pointer
 Provides static storage and access to a get member function of a given type. More...
struct  member_set_pointer
 Provides static storage and access to a set member function of a given type. More...
class  method_property_get
 This class provides method-based read-only property access. More...
class  method_property_set
 This class provides method-based write-only property access. More...
class  method_property_getset
 This class provides method-based read/write property access. More...
class  method_property_get_external
 This class provides indirect method-based read-only property access. More...
class  method_property_set_external
 This class provides indirect method-based write-only property access. More...
class  method_property_getset_external
 This class provides indirect method-based read/write property access. More...
class  static_method_property_get
 Implements static read-only Method Property. More...
class  static_method_property_set
 Implements static write-only Method Property. More...
class  static_method_property_getset
 Implements static read-write Method Property. More...
class  static_method_property_get_external
 Implements External static read-only Method Property. More...
class  static_method_property_set_external
 Implements External static write-only Method Property. More...
class  static_method_property_getset_external
 Implements External static read-write Method Property. More...

Defines

#define STLSOFT_CF_MEM_FUNC_AS_TEMPLATE_PARAM_SUPPORT
#define STLSOFT_METHOD_PROPERTY_OFFSET_NAME(C, P)
#define STLSOFT_METHOD_PROPERTY_DEFINE_OFFSET(C, P)
#define STLSOFT_METHOD_PROPERTY_GET(V, R, C, GM, P)
#define STLSOFT_METHOD_PROPERTY_SET(V, R, C, SM, P)
#define STLSOFT_METHOD_PROPERTY_GETSET(V, RG, RS, C, GM, SM, P)
#define STLSOFT_METHOD_PROPERTY_GET_EXTERNAL_PROP(R, C, GM, P)
#define STLSOFT_METHOD_PROPERTY_GET_EXTERNAL(R, C, GM, P)
#define STLSOFT_METHOD_PROPERTY_SET_EXTERNAL_PROP(R, C, SM, P)
#define STLSOFT_METHOD_PROPERTY_SET_EXTERNAL(R, C, SM, P)
#define STLSOFT_METHOD_PROPERTY_GETSET_EXTERNAL_PROP(RG, RS, C, GM, SM, P)
#define STLSOFT_METHOD_PROPERTY_GETSET_EXTERNAL(RG, RS, C, GM, SM, P)

Functions

template<typename V, typename RG, typename RS, typename C, ss_ptrdiff_t(*)() PFnOff, RG(C::*)() const PFnGet, void(C::*)(RS) PFnSet, typename S>
S & operator<< (S &s, method_property_getset< V, RG, RS, C, PFnOff, PFnGet, PFnSet > const &prop)
template<typename V, typename R, typename C, ss_ptrdiff_t(*)() PFnOff, R(C::*)() const PFnGet, typename S>
S & operator<< (S &s, method_property_get< V, R, C, PFnOff, PFnGet > const &prop)
template<typename RG, typename RS, typename C, ss_ptrdiff_t(*)() PFnOff, RG(C::*)() const PFnGet, void(C::*)(RS) PFnSet, typename S>
S & operator<< (S &s, method_property_getset_external< RG, RS, C, PFnOff, PFnGet, PFnSet > const &prop)
template<typename R, typename C, ss_ptrdiff_t(*)() PFnOff, R(C::*)() const PFnGet, typename S>
S & operator<< (S &s, method_property_get_external< R, C, PFnOff, PFnGet > const &prop)


Define Documentation

#define STLSOFT_METHOD_PROPERTY_GET_EXTERNAL_PROP ( R,
C,
GM,
 ) 

Value:

\
    stlsoft_ns_qual(method_property_get_external)<  R           \
                                                ,   C           \
                                                ,   &C::STLSOFT_METHOD_PROPERTY_OFFSET_NAME(C, P)    \
                                                ,   &C::GM      \
                                                >       P

#define STLSOFT_METHOD_PROPERTY_GETSET_EXTERNAL_PROP ( RG,
RS,
C,
GM,
SM,
 ) 

Value:

\
    stlsoft_ns_qual(method_property_getset_external)<   RG                  \
                                                    ,   RS                  \
                                                    ,   C                   \
                                                    ,   &C::STLSOFT_METHOD_PROPERTY_OFFSET_NAME(C, P)  \
                                                    ,   &C::GM              \
                                                    ,   &C::SM              \
                                                    >       P

#define STLSOFT_METHOD_PROPERTY_OFFSET_NAME ( C,
 ) 

Value:

\
    P##_prop_offset_##C

#define STLSOFT_METHOD_PROPERTY_SET_EXTERNAL_PROP ( R,
C,
SM,
 ) 

Value:

\
    stlsoft_ns_qual(method_property_set_external)<  R           \
                                                ,   C           \
                                                ,   &C::STLSOFT_METHOD_PROPERTY_OFFSET_NAME(C, P)    \
                                                ,   &C::SM      \
                                                >           P


Generated on Thu Jun 10 08:58:09 2010 for STLSoft by  doxygen 1.5.6