Go to the documentation of this file.
25 #ifndef __vtkSmartPointerBase_h
26 #define __vtkSmartPointerBase_h
84 #define VTK_SMART_POINTER_BASE_DEFINE_OPERATOR(op) \
86 operator op (const vtkSmartPointerBase& l, const vtkSmartPointerBase& r) \
88 return (static_cast<void*>(l.GetPointer()) op \
89 static_cast<void*>(r.GetPointer())); \
92 operator op (vtkObjectBase* l, const vtkSmartPointerBase& r) \
94 return (static_cast<void*>(l) op static_cast<void*>(r.GetPointer())); \
97 operator op (const vtkSmartPointerBase& l, vtkObjectBase* r) \
99 return (static_cast<void*>(l.GetPointer()) op static_cast<void*>(r)); \
111 #undef VTK_SMART_POINTER_BASE_DEFINE_OPERATOR