VR-Forces 4.0.4 Class Documentation
include/vrfplan/stmtIndex.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: stmtIndex.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtStmtIndex_H_
00013 #define DtStmtIndex_H_
00014 
00015 class DtStmtIndex;
00016 
00017 #include "vrfplan/simStmt.h"
00018 #include "vrfplan/plan.h"
00019 
00026 
00027 #include "vrfplan/vrfplanDefines.h"
00028 class DT_DLL_vrfplan DtStmtIndex
00029 {
00030 public:
00031 
00033    DtStmtIndex();
00034 
00036    DtStmtIndex(const DtSimStatement* statement);
00037 
00040    DtStmtIndex(const DtSimStatement* statement, const DtPlan* plan);
00041 
00045    DtStmtIndex(int statementId, const DtPlan* plan);
00046 
00048    DtStmtIndex(const DtStmtIndex& orig, const DtPlan* plan = NULL);
00049 
00051    virtual ~DtStmtIndex();
00052 
00054    DtStmtIndex& operator=(const DtStmtIndex& orig);
00055 
00056    bool isSameStatementAs(const DtStmtIndex& stmt) const;
00057    bool isSameStatementAs(DtSimStatement* stmt) const;
00058 
00059    virtual DtSimStatement* statement() const;
00060    virtual void setStatement(DtSimStatement* arg);
00061 
00062    virtual const DtPlan* plan() const;
00063    virtual void setPlan(const DtPlan* arg);
00064 
00065    virtual DtStmtIdType statementId() const;
00066    //virtual void setStatementId(DtStmtIdType arg);
00067 
00071    virtual void invalidatePointer();
00072    virtual bool pointerIsInvalid() const;
00073 
00075    virtual void setNull();
00077    virtual bool isNull() const;
00078 
00079    virtual int taskExecutionId() const;
00080    virtual void setTaskExecutionId(int v);
00081 
00082 protected:
00083 
00084    DtSimStatement* myStatement;
00085    const DtPlan* myPlan;
00086    DtStmtIdType myStatementId;
00087    int myTaskExecutionId;
00088 };
00089 
00090 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)