#include <TFImage.h>
Inheritance diagram for TFImageSP:
Definition at line 66 of file TFImage.h.
Public Types | |
typedef gutz::SmartPtr< TFImage > | btype |
typedef TFImage | type |
Public Member Functions | |
TFImageSP () | |
TFImageSP (TFImage *im) | |
TFImageSP (const TFImageSP &im) | |
virtual | ~TFImageSP () |
TFImageSP & | operator= (const TFImageSP &im) |
operator NrroSP () | |
auto conversion to NrroSP | |
operator Nrro * () | |
auto conversion to Nrro* | |
operator NrroImageSP () | |
auto conversion to NrroImageSP | |
operator NrroImage * () | |
auto conversion to NrroImage* | |
TFImage * | getPtr () |
TFImage *const | getPtr () const |
TFImage * | operator-> () |
TFImage *const | operator-> () const |
TFImage & | operator * () |
TFImage & | operator * () const |
operator T *const () const | |
SmartPtr< CT > | cast () const |
mySubClassSP = myBaseClassSP.down_cast<MySubClassType>(); | |
bool | operator! () const |
bool | isNull () const |
just for convienence. | |
Protected Member Functions | |
void | assign (TFImage *const ref) |
virtual void | _incCount () |
gutz::Counted interface, increment reference count by one. | |
virtual void | _decCount () |
gutz::Counted interface, decrement reference count by one. | |
virtual int | _getCount () const |
gutz::Counted interface, get the current reference count. | |
Protected Attributes | |
TFImage * | _ref |
The only data we have is this pointer, so we have the same memory foot print of a regular pointer. | |
Friends | |
class | SmartPtr |
class | SmartPtrRef |
|
|
|
Definition at line 183 of file smartptr.h. |
|
|
|
|
|
|
|
|
|
gutz::Counted interface, decrement reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 54 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
gutz::Counted interface, get the current reference count. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Definition at line 58 of file smartptr.h. |
|
gutz::Counted interface, increment reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 48 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
inc ref if non-zero save off old reference assign _ref = ref delete the old reference just a dec most of the time... but if we hold the last reference, nuke it Definition at line 285 of file smartptr.h. Referenced by operator=(). |
|
mySubClassSP = myBaseClassSP.down_cast<MySubClassType>();
Definition at line 249 of file smartptr.h. |
|
Definition at line 194 of file smartptr.h. |
|
Definition at line 193 of file smartptr.h. Referenced by operator Nrro *(), operator NrroImage *(), operator NrroImageSP(), and operator NrroSP(). |
|
just for convienence. access via, mySp.isNull() Definition at line 276 of file smartptr.h. |
|
Definition at line 218 of file smartptr.h. |
|
Definition at line 217 of file smartptr.h. |
|
auto conversion to Nrro*
Definition at line 85 of file TFImage.h. References gutz::SmartPtr< TFImage >::getPtr(). |
|
auto conversion to NrroImage*
Definition at line 89 of file TFImage.h. References gutz::SmartPtr< TFImage >::getPtr(). |
|
auto conversion to NrroImageSP
Definition at line 87 of file TFImage.h. References gutz::SmartPtr< TFImage >::getPtr(). |
|
auto conversion to NrroSP
Definition at line 83 of file TFImage.h. References gutz::SmartPtr< TFImage >::getPtr(), and NrroSP. |
|
Definition at line 234 of file smartptr.h. |
|
Definition at line 261 of file smartptr.h. |
|
Definition at line 210 of file smartptr.h. |
|
Definition at line 209 of file smartptr.h. |
|
Definition at line 76 of file TFImage.h. References gutz::SmartPtr< TFImage >::_ref, and gutz::SmartPtr< TFImage >::assign(). |
|
Definition at line 40 of file smartptr.h. Referenced by Nrro::NrroIter< T >::NrroIter(). |
|
Definition at line 41 of file smartptr.h. |
|
The only data we have is this pointer, so we have the same memory foot print of a regular pointer.
Definition at line 283 of file smartptr.h. Referenced by operator=(). |