A reference tracked pointer to an image object. More...
#include <ImagePtr.h>
Public Member Functions | |
ImagePtr () | |
Default constructor. | |
ImagePtr (const int) | |
Default constructor with argument. | |
ImagePtr (const long) | |
Default constructor with argument. | |
ImagePtr (const std::nullptr_t) | |
Default constructor with argument. | |
virtual | ~ImagePtr (void) |
Virtual destructor. | |
virtual ImagePtr & | operator= (const ImagePtr &) |
Assignment operator. | |
Public Member Functions inherited from BasePtr< IImage > | |
BasePtr (void) throw () | |
Default constructor. | |
BasePtr (const BasePtr &other) throw () | |
Copy constructor. | |
virtual | ~BasePtr (void) |
virtual BasePtr & | operator= (const BasePtr &rhs) |
Assign INode Pointer. | |
virtual BasePtr & | operator= (const int nMustBeNull) |
virtual BasePtr & | operator= (const long nMustBeNull) |
virtual BasePtr & | operator= (const std::nullptr_t nullPtr) |
virtual | operator IImage * (void) const |
Dereferencing. | |
virtual IImage * | operator-> (void) const |
Dereferencing. | |
virtual bool | IsValid () const throw () |
True if the pointer is valid. | |
virtual | operator bool (void) const throw () |
True if the pointer is valid. | |
virtual bool | operator== (const BasePtr &rT) const |
Pointer equal. | |
virtual bool | operator== (std::nullptr_t) const |
Pointer equal. | |
virtual bool | operator== (int nMustBeNull) const |
Pointer equal. | |
virtual bool | operator== (long nMustBeNull) const |
Pointer equal. | |
virtual bool | operator!= (const BasePtr &rT) const |
Pointer not equal. | |
virtual bool | operator!= (std::nullptr_t) const |
Pointer not equal. | |
virtual bool | operator!= (int nMustBeNull) const |
Pointer not equal. | |
virtual bool | operator!= (long nMustBeNull) const |
Pointer not equal. | |
virtual IImage * | get () const |
get() | |
Additional Inherited Members | |
Protected Attributes inherited from BasePtr< IImage > | |
PointerData * | m_pT |
Underlying raw pointer. | |
A reference tracked pointer to an image object.
When the ImagePtr goes out of scope, it will trigger an auto release of the image from the stream.
ImagePtr | ( | ) |
Default constructor.
ImagePtr | ( | const int | ) |
Default constructor with argument.
ImagePtr | ( | const long | ) |
Default constructor with argument.
ImagePtr | ( | const std::nullptr_t | ) |
Default constructor with argument.
|
virtual |
Virtual destructor.