FX::TnFXVTKHold< type > Class Template Reference
[2D and 3D Graphing]

#include <TnFXVTKCanvas.h>

Inheritance diagram for FX::TnFXVTKHold< type >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class type>
class FX::TnFXVTKHold< type >

Destructive smart pointer holding a vtkObject.

This class simply ensures that the vtkObject is correctly destroyed on destruction.

Public Member Functions

 TnFXVTKHold (type *p=0)
TnFXVTKHoldoperator= (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)


Friends And Related Function Documentation

template<typename type, template< class > class ownershipPolicy = FX::Pol::destructiveCopy>
type* PtrRelease ( ptr< type, ownershipPolicy > &  p  )  [friend, inherited]

Releases the pointer (sets it to zero, returns the former contents).

template<typename type, template< class > class ownershipPolicy = FX::Pol::destructiveCopy>
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=().


The documentation for this class was generated from the following file:

(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 22:29:45 2008 for TnFOX by doxygen v1.5.6