Classes | Defines | Functions
core/vbl/vbl_smart_ptr.h File Reference

Contains a templated smart pointer class. More...

#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  vbl_smart_ptr< T >
 A templated smart pointer class. More...

Defines

#define VBL_SMART_PTR_INSTANTIATE(T)   extern "please include vbl/vbl_smart_ptr.txx instead"

Functions

template<class T >
bool operator== (T const *p, vbl_smart_ptr< T > const &a)
 Comparison of pointer with smart-pointer (cannot be a member function).
template<class T >
bool operator!= (T const *p, vbl_smart_ptr< T > const &a)
template<class T >
vcl_ostream & operator<< (vcl_ostream &, vbl_smart_ptr< T > const &)

Detailed Description

Contains a templated smart pointer class.

Author:
Richard Hartley (original Macro version), William A. Hoffman (current templated version)
   Modifications
   2000.05.15 François BERTEL Added some missing <T>
   2000.05.16 Peter Vanroose  Operators > < >= <= made const
   2000.09.13 fsm      Added rationale for unprotect().
   PDA (Manchester) 23/03/2001: Tidied up the documentation
   Peter Vanroose   27/05/2001: Corrected the documentation
     Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
   

Definition in file vbl_smart_ptr.h.


Define Documentation

#define VBL_SMART_PTR_INSTANTIATE (   T)    extern "please include vbl/vbl_smart_ptr.txx instead"

Definition at line 211 of file vbl_smart_ptr.h.


Function Documentation

template<class T >
bool operator!= ( T const *  p,
vbl_smart_ptr< T > const &  a 
) [inline]

Definition at line 200 of file vbl_smart_ptr.h.

template<class T >
vcl_ostream& operator<< ( vcl_ostream &  ,
vbl_smart_ptr< T > const &   
)

Definition at line 29 of file vbl_smart_ptr.txx.

template<class T >
bool operator== ( T const *  p,
vbl_smart_ptr< T > const &  a 
) [inline]

Comparison of pointer with smart-pointer (cannot be a member function).

Definition at line 194 of file vbl_smart_ptr.h.