s11n::pointer_base_f< T > Struct Template Reference

Pointer equivalent of reference_base_f. More...

#include <functional.hpp>

Inheritance diagram for s11n::pointer_base_f< T >:

s11n::pointer_f< T > s11n::pointer_f< T * > s11n::pointer_f< T const  > s11n::pointer_f< T const * >

List of all members.

Public Types

typedef T type
 Same as T, possibly const-qualified.

Public Member Functions

 pointer_base_f (type *_ref)
 pointer_base_f (type &_ref)
typeoperator() () const
 Returns a [const] pointer to the object this one refers to.
typeget () const
 For convention's sake.
typeoperator-> () const
bool empty () const

Public Attributes

typevalue


Detailed Description

template<typename T>
struct s11n::pointer_base_f< T >

Pointer equivalent of reference_base_f.

Added in 1.1.3.

T may be const or not, but should not have a pointer qualification. Specializations of pointer_f take care of getting rid of the extra const/pointer/reference qualifiers.

Definition at line 134 of file functional.hpp.


Member Typedef Documentation

template<typename T>
typedef T s11n::pointer_base_f< T >::type

Same as T, possibly const-qualified.

Reimplemented in s11n::pointer_f< T >, s11n::pointer_f< T const >, s11n::pointer_f< T * >, and s11n::pointer_f< T const * >.

Definition at line 137 of file functional.hpp.


Constructor & Destructor Documentation

template<typename T>
s11n::pointer_base_f< T >::pointer_base_f ( type _ref  )  [inline, explicit]

Definition at line 139 of file functional.hpp.

template<typename T>
s11n::pointer_base_f< T >::pointer_base_f ( type _ref  )  [inline, explicit]

Definition at line 141 of file functional.hpp.


Member Function Documentation

template<typename T>
type* s11n::pointer_base_f< T >::operator() (  )  const [inline]

Returns a [const] pointer to the object this one refers to.

Definition at line 147 of file functional.hpp.

References s11n::pointer_base_f< T >::value.

template<typename T>
type* s11n::pointer_base_f< T >::get (  )  const [inline]

For convention's sake.

..

Definition at line 153 of file functional.hpp.

References s11n::pointer_base_f< T >::value.

template<typename T>
type* s11n::pointer_base_f< T >::operator-> (  )  const [inline]

Definition at line 158 of file functional.hpp.

References s11n::pointer_base_f< T >::value.

template<typename T>
bool s11n::pointer_base_f< T >::empty (  )  const [inline]

Definition at line 163 of file functional.hpp.

References s11n::pointer_base_f< T >::value.


Member Data Documentation

template<typename T>
type* s11n::pointer_base_f< T >::value

Definition at line 138 of file functional.hpp.

Referenced by s11n::pointer_base_f< T >::empty(), s11n::pointer_base_f< T >::get(), s11n::pointer_base_f< T >::operator()(), and s11n::pointer_base_f< T >::operator->().


The documentation for this struct was generated from the following file:
Generated on Sun Apr 27 13:16:04 2008 for libs11n by  doxygen 1.5.3