Automatic STAGE pointer which keeps track of ownership and destroys when needed. More...
#include <spatmod/imagestageautoptr.h>
Public Member Functions | |
| STAGE_AUTOPTR (const STAGE_AUTOPTR &rhs) | |
| STAGE_AUTOPTR (STAGE *pStage, bool TakeOwnership) | |
| STAGE_AUTOPTR () | |
| ~STAGE_AUTOPTR () | |
| void | Assign (STAGE_AUTOPTR &StagePtr, bool TakeOwnership) |
| void | Assign (STAGE *pStage, bool TakeOwnership) |
| STAGE * | Detach () |
| bool | IsAssigned () const |
| bool | IsOwner () const |
| operator STAGE * () const | |
| STAGE & | operator* () const |
| STAGE * | operator-> () const |
| STAGE_AUTOPTR & | operator= (const STAGE_AUTOPTR &rhs) |
Automatic STAGE pointer which keeps track of ownership and destroys when needed.
| SPATMOD::IMAGE::STAGE_AUTOPTR::STAGE_AUTOPTR | ( | ) | [inline] |
Default constructor.
| SPATMOD::IMAGE::STAGE_AUTOPTR::STAGE_AUTOPTR | ( | STAGE * | pStage, | |
| bool | TakeOwnership | |||
| ) | [inline] |
Construct and attach stage.
| SPATMOD::IMAGE::STAGE_AUTOPTR::STAGE_AUTOPTR | ( | const STAGE_AUTOPTR & | rhs | ) | [inline] |
Copy constructor, copy will not have ownership.
| SPATMOD::IMAGE::STAGE_AUTOPTR::~STAGE_AUTOPTR | ( | ) |
Destructor.
| void SPATMOD::IMAGE::STAGE_AUTOPTR::Assign | ( | STAGE_AUTOPTR & | StagePtr, | |
| bool | TakeOwnership | |||
| ) |
Assign with specified ownership.
| void SPATMOD::IMAGE::STAGE_AUTOPTR::Assign | ( | STAGE * | pStage, | |
| bool | TakeOwnership | |||
| ) |
Assign with specified ownership.
| STAGE* SPATMOD::IMAGE::STAGE_AUTOPTR::Detach | ( | ) | [inline] |
Detach associated stage.
| bool SPATMOD::IMAGE::STAGE_AUTOPTR::IsAssigned | ( | ) | const [inline] |
Determine if has stage assigned.
| bool SPATMOD::IMAGE::STAGE_AUTOPTR::IsOwner | ( | ) | const [inline] |
Determine if owner of stage pointer.
| SPATMOD::IMAGE::STAGE_AUTOPTR::operator STAGE * | ( | ) | const [inline] |
Cast to STAGE*.
| STAGE& SPATMOD::IMAGE::STAGE_AUTOPTR::operator* | ( | ) | const [inline] |
Dereference operator.
| STAGE* SPATMOD::IMAGE::STAGE_AUTOPTR::operator-> | ( | ) | const [inline] |
Pointer operator.
| STAGE_AUTOPTR& SPATMOD::IMAGE::STAGE_AUTOPTR::operator= | ( | const STAGE_AUTOPTR & | rhs | ) |
Assignment operator, does not transfer ownership.
1.6.1