#include <nrroImage.h>
Inheritance diagram for NrroImageSP:

Definition at line 86 of file nrroImage.h.
Public Types | |
| typedef gutz::SmartPtr< NrroImage > | btype |
| typedef NrroImage | type |
Public Member Functions | |
| NrroImageSP () | |
| NrroImageSP (NrroImage *im) | |
| NrroImageSP (const NrroImageSP &im) | |
| virtual | ~NrroImageSP () |
| NrroImageSP & | operator= (const NrroImageSP &im) |
| operator NrroSP () | |
| auto conversion to NrroSP | |
| operator Nrro * () | |
| auto conversion to Nrro* | |
| NrroImage * | getPtr () |
| NrroImage *const | getPtr () const |
| NrroImage * | operator-> () |
| NrroImage *const | operator-> () const |
| NrroImage & | operator * () |
| NrroImage & | 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 (NrroImage *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 | |
| NrroImage * | _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 89 of file nrroImage.h. |
|
|
Definition at line 183 of file smartptr.h. |
|
|
Definition at line 91 of file nrroImage.h. |
|
|
Definition at line 92 of file nrroImage.h. |
|
|
Definition at line 93 of file nrroImage.h. |
|
|
Definition at line 94 of file nrroImage.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 *(), and operator NrroSP(). |
|
|
just for convienence. access via, mySp.isNull() Definition at line 276 of file smartptr.h. Referenced by NrroImage::fBlendOverRGBA(). |
|
|
Definition at line 218 of file smartptr.h. |
|
|
Definition at line 217 of file smartptr.h. |
|
|
auto conversion to Nrro*
Definition at line 105 of file nrroImage.h. References gutz::SmartPtr< NrroImage >::getPtr(). |
|
|
auto conversion to NrroSP
Definition at line 103 of file nrroImage.h. References gutz::SmartPtr< NrroImage >::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 96 of file nrroImage.h. References gutz::SmartPtr< NrroImage >::_ref, and gutz::SmartPtr< NrroImage >::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=(). |