s11n::object_reference_wrapper< T * > Struct Template Reference

A specialization to wrap pointers to (T *) such that they can be accessed, via this wrapper, using a dot instead of ->. More...

#include <algo.hpp>

List of all members.

Public Types

typedef T * value_type
typedef T base_value_type

Public Member Functions

 object_reference_wrapper (value_type &obj)
base_value_typeoperator() (value_type &t)
 Sets this object's proxied object to t and Returns t.
base_value_typeoperator() () const
 Returns this object's wrapped object.


Detailed Description

template<typename T>
struct s11n::object_reference_wrapper< T * >

A specialization to wrap pointers to (T *) such that they can be accessed, via this wrapper, using a dot instead of ->.

Definition at line 250 of file algo.hpp.


Member Typedef Documentation

template<typename T>
typedef T* s11n::object_reference_wrapper< T * >::value_type

Definition at line 252 of file algo.hpp.

template<typename T>
typedef T s11n::object_reference_wrapper< T * >::base_value_type

Definition at line 253 of file algo.hpp.


Constructor & Destructor Documentation

template<typename T>
s11n::object_reference_wrapper< T * >::object_reference_wrapper ( value_type obj  )  [inline]

Definition at line 255 of file algo.hpp.


Member Function Documentation

template<typename T>
base_value_type& s11n::object_reference_wrapper< T * >::operator() ( value_type t  )  [inline]

Sets this object's proxied object to t and Returns t.

Definition at line 257 of file algo.hpp.

template<typename T>
base_value_type& s11n::object_reference_wrapper< T * >::operator() (  )  const [inline]

Returns this object's wrapped object.

Definition at line 264 of file algo.hpp.


The documentation for this struct was generated from the following file:
Generated on Wed Jun 4 21:43:08 2008 for libs11n-1.2.7 by  doxygen 1.5.3