| VTK
   
    | 
#include "vtkSmartPointerBase.h"
Go to the source code of this file.
| Classes | |
| class | vtkSmartPointer< T > | 
| Hold a reference to a vtkObjectBase instance.  More... | |
| Defines | |
| #define | VTK_SMART_POINTER_DEFINE_OPERATOR(op) | 
| Functions | |
| template<class T > | |
| ostream & | operator<< (ostream &os, const vtkSmartPointer< T > &p) | 
| #define VTK_SMART_POINTER_DEFINE_OPERATOR | ( | op | ) | 
template <class T> \ inline bool \ operator op (const vtkSmartPointer<T>& l, const vtkSmartPointer<T>& r) \ { \ return (l.GetPointer() op r.GetPointer()); \ } \ template <class T> \ inline bool operator op (T* l, const vtkSmartPointer<T>& r) \ { \ return (l op r.GetPointer()); \ } \ template <class T> \ inline bool operator op (const vtkSmartPointer<T>& l, T* r) \ { \ return (l.GetPointer() op r); \ }
Definition at line 186 of file vtkSmartPointer.h.
| ostream& operator<< | ( | ostream & | os, | 
| const vtkSmartPointer< T > & | p | ||
| ) |  [inline] | 
Compare smart pointer values.
Streaming operator to print smart pointer like regular pointers.
Definition at line 218 of file vtkSmartPointer.h.
 1.8.0
 1.8.0