SPATMOD::IMAGE::STAGE_ARRAY Class Reference

Array of stage pointers. More...

#include <spatmod/imagestagearray.h>

List of all members.

Public Member Functions

 STAGE_ARRAY (unsigned numitems)
 STAGE_ARRAY ()
 ~STAGE_ARRAY ()
void Append (STAGE_AUTOPTR &StagePtr, bool TakeOwnership)
void Append (STAGE *pStage, bool TakeOwnership)
void Assign (STAGE_ARRAY &source, bool TakeOwnership)
void Clear ()
unsigned GetNumItems () const
STAGE_AUTOPTRoperator[] (unsigned idx)
const STAGE_AUTOPTRoperator[] (unsigned idx) const
void SetItem (unsigned index, STAGE_AUTOPTR &StagePtr, bool TakeOwnership)
void SetItem (unsigned index, STAGE *pStage, bool TakeOwnership)

Detailed Description

Array of stage pointers.

Will delete those stages for which ownership is assigned.


Constructor & Destructor Documentation

SPATMOD::IMAGE::STAGE_ARRAY::STAGE_ARRAY (  )  [inline]

Default constructor.

SPATMOD::IMAGE::STAGE_ARRAY::STAGE_ARRAY ( unsigned  numitems  )  [explicit]

Construct array of specified size.

SPATMOD::IMAGE::STAGE_ARRAY::~STAGE_ARRAY (  ) 

Destructor.


Member Function Documentation

void SPATMOD::IMAGE::STAGE_ARRAY::Append ( STAGE_AUTOPTR StagePtr,
bool  TakeOwnership 
)

Append a stage to the array.

Parameters:
StagePtr Stage pointer
TakeOwnership Take ownership from StagePtr
void SPATMOD::IMAGE::STAGE_ARRAY::Append ( STAGE pStage,
bool  TakeOwnership 
)

Append a stage to the array.

Parameters:
pStage Pointer to stage
TakeOwnership Take ownership
void SPATMOD::IMAGE::STAGE_ARRAY::Assign ( STAGE_ARRAY source,
bool  TakeOwnership 
)

Assign from source array.

Parameters:
source Source array to assign from
TakeOwnership Take over ownership from source
void SPATMOD::IMAGE::STAGE_ARRAY::Clear (  ) 

Clear the array.

unsigned SPATMOD::IMAGE::STAGE_ARRAY::GetNumItems (  )  const [inline]

Get number of items in array.

STAGE_AUTOPTR& SPATMOD::IMAGE::STAGE_ARRAY::operator[] ( unsigned  idx  ) 

Array access operator.

const STAGE_AUTOPTR& SPATMOD::IMAGE::STAGE_ARRAY::operator[] ( unsigned  idx  )  const

Array access operator.

void SPATMOD::IMAGE::STAGE_ARRAY::SetItem ( unsigned  index,
STAGE_AUTOPTR StagePtr,
bool  TakeOwnership 
)

Set individual array item with specified ownership.

Parameters:
index Item index
StagePtr Stage pointer
TakeOwnership Take ownership from StagePtr
void SPATMOD::IMAGE::STAGE_ARRAY::SetItem ( unsigned  index,
STAGE pStage,
bool  TakeOwnership 
)

Set individual array item with specified ownership.

Parameters:
index Item index
pStage Pointer to stage
TakeOwnership Take ownership

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

Generated on Sun Oct 7 21:40:12 2012 for TNTsdk 2012 by  doxygen 1.6.1