#include "vtkObject.h"
Go to the source code of this file.
Classes | |
class | vtkWeakPointerBase |
Non-templated superclass for vtkWeakPointer. More... | |
class | vtkWeakPointerBase::NoReference |
Defines | |
#define | VTK_WEAK_POINTER_BASE_DEFINE_OPERATOR(op) |
Functions | |
VTK_COMMON_EXPORT ostream & | operator<< (ostream &os, const vtkWeakPointerBase &p) |
#define VTK_WEAK_POINTER_BASE_DEFINE_OPERATOR | ( | op | ) |
Value:
inline vtkstd_bool \ operator op (const vtkWeakPointerBase& l, const vtkWeakPointerBase& r) \ { \ return (static_cast<void*>(l.GetPointer()) op \ static_cast<void*>(r.GetPointer())); \ } \ inline vtkstd_bool \ operator op (vtkObject* l, const vtkWeakPointerBase& r) \ { \ return (static_cast<void*>(l) op static_cast<void*>(r.GetPointer())); \ } \ inline vtkstd_bool \ operator op (const vtkWeakPointerBase& l, vtkObject* r) \ { \ return (static_cast<void*>(l.GetPointer()) op static_cast<void*>(r)); \ }
Definition at line 87 of file vtkWeakPointerBase.h.
VTK_COMMON_EXPORT ostream& operator<< | ( | ostream & | os, | |
const vtkWeakPointerBase & | p | |||
) |
Compare smart pointer values.
Streaming operator to print smart pointer like regular pointers.