class DtStmtIndex:
More...
Detailed Description
class DtStmtIndex:
Instances of DtStmtIndex are smart pointers to DtSimStatement objects. They can access statements either by a direct pointer, or by a combination of a statementId number and a DtPlan pointer.
Constructor & Destructor Documentation
| DtStmtIndex::DtStmtIndex |
( |
| ) |
|
Construct an index of the statement in the given Plan that has the given statement's statementId.
| DtStmtIndex::DtStmtIndex |
( |
int |
statementId, |
|
|
const DtPlan * |
plan |
|
) |
| |
Construct an index of the statement in the given Plan that has the given statementId.
If statementId is not found in the Plan, pointerIsInvalid will be true.
| virtual DtStmtIndex::~DtStmtIndex |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual const DtPlan* DtStmtIndex::plan |
( |
| ) |
const |
|
virtual |
| virtual void DtStmtIndex::setPlan |
( |
const DtPlan * |
arg | ) |
|
|
virtual |
| virtual void DtStmtIndex::invalidatePointer |
( |
| ) |
|
|
virtual |
Clears the statment pointer because it is no longer valid.
Note: this DOES NOT clear myStatementId, and does not prevent the isSameStatementAs test from working.
| virtual bool DtStmtIndex::pointerIsInvalid |
( |
| ) |
const |
|
virtual |
| virtual void DtStmtIndex::setNull |
( |
| ) |
|
|
virtual |
Make this statement index point nowhere (clears statement ptr and id).
| virtual bool DtStmtIndex::isNull |
( |
| ) |
const |
|
virtual |
Does this statement index point nowhere (tests for id == 0)?
| virtual int DtStmtIndex::taskExecutionId |
( |
| ) |
const |
|
virtual |
| virtual void DtStmtIndex::setTaskExecutionId |
( |
int |
v | ) |
|
|
virtual |
Member Data Documentation
| const DtPlan* DtStmtIndex::myPlan |
|
protected |
| int DtStmtIndex::myTaskExecutionId |
|
protected |
The documentation for this class was generated from the following file: