oaCMDatabaseTbl Class Reference


Public Methods

 oaCMDatabaseTbl ()
virtual ~oaCMDatabaseTbl ()
oaCMDatabaseRef::SPtr find (void *database) const
void onPassivate (oaCMDatabaseRef::SPtr ref)
void onActivate (oaCMDatabaseRef::SPtr ref)
DatabaseRefConstIter begin () const
DatabaseRefConstIter end () const

Public Types

typedef std::list< oaCMDatabaseRef * >::const_iterator DatabaseRefConstIter
typedef std::list< oaCMDatabaseRef * >::iterator DatabaseRefIter

Friends

class oaCMDatabaseRef

Detailed Description

The oaCMDatabaseTbl contains all the oaCMDatabaseRef database reference objects for a change set.


Member Typedef Documentation

typedef std::list<oaCMDatabaseRef*>::const_iterator oaCMDatabaseTbl::DatabaseRefConstIter
 

typedef std::list<oaCMDatabaseRef*>::iterator oaCMDatabaseTbl::DatabaseRefIter
 


Constructor & Destructor Documentation

oaCMDatabaseTbl::oaCMDatabaseTbl  
 

This is the default oaCMDatabaseTbl constructor.

oaCMDatabaseTbl::~oaCMDatabaseTbl   [virtual]
 

This is the oaCMDatabaseTbl destructor.


Member Function Documentation

ConstIter oaCMDatabaseTbl::begin   const
 

This function returns a constant iterator that points to the first entry in the table.

ConstIter oaCMDatabaseTbl::end   const
 

This function returns a constant iterator that points beyond the last entry in the table.

oaCMDatabaseRef::SPtr oaCMDatabaseTbl::find void *    database const
 

This function returns a smart pointer to the oaCMDatabaseRef for the database.

Parameters:
database A pointer to the database for which to find the oaCMDatabaseRef.

void oaCMDatabaseTbl::onActivate oaCMDatabaseRef::SPtr    ref
 

This function activates (marks as valid) the oaCMDatabaseRef in the table.

Parameters:
ref The oaCMDatabaseRef to activate.

void oaCMDatabaseTbl::onPassivate oaCMDatabaseRef::SPtr    ref
 

This function passivates (marks as invalid) the oaCMDatabaseRef in the table.

Parameters:
ref The oaCMDatabaseRef to passivate.


Friends And Related Function Documentation

friend class oaCMDatabaseRef [friend]
 


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

Return to top of page