Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 * > 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 130 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 133 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 135 of file functional.hpp.

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

Definition at line 137 of file functional.hpp.


Member Function Documentation

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

Definition at line 159 of file functional.hpp.

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

For convention's sake.

..

Definition at line 149 of file functional.hpp.

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 143 of file functional.hpp.

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

Definition at line 154 of file functional.hpp.


Member Data Documentation

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

Definition at line 134 of file functional.hpp.

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


The documentation for this struct was generated from the following file:
Generated on Fri Nov 25 17:19:29 2005 for libs11n-1.2.0 by  doxygen 1.4.4