#include <TnFXVTKCanvas.h>
This class simply ensures that the vtkObject is correctly destroyed on destruction.
Public Member Functions | |
TnFXVTKHold (type *p=0) | |
TnFXVTKHold & | operator= (const TnFXVTKHold &o) |
type & | operator* () |
const type & | operator* () const |
type * | operator-> () |
const type * | operator-> () const |
template<typename T> | |
bool | operator== (const ptr< T > &o) const |
template<typename T> | |
bool | operator== (T *o) const |
operator Tester * () const | |
bool | operator! () const |
template<typename T> | |
bool | operator!= (const ptr< T > &o) const |
template<typename T> | |
bool | operator!= (T *o) const |
Friends | |
type * | PtrRelease (ptr &p) |
void | PtrReset (ptr &p, type *data) |
type* PtrRelease | ( | ptr< type, ownershipPolicy > & | p | ) | [friend, inherited] |
Releases the pointer (sets it to zero, returns the former contents).
void PtrReset | ( | ptr< type, ownershipPolicy > & | p, | |
type * | data | |||
) | [friend, inherited] |
Resets the pointer (deletes the old contents, sets to new contents).
Referenced by FX::Generic::ptr< FX::TnFXSQLDBCursor, FX::FXRefingObjectImpl::refedObject< type > >::operator=().