VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stmtIndex.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 class DtStmtIndex;
12 
13 #include "vrfplan/simStatement.h"
14 #include "vrfplan/plan.h"
15 
22 
23 #include "vrfplan/vrfplanDefines.h"
25 {
26 public:
27 
29  DtStmtIndex();
30 
32  DtStmtIndex(const DtSimStatement* statement);
33 
36  DtStmtIndex(const DtSimStatement* statement, const DtPlan* plan);
37 
41  DtStmtIndex(int statementId, const DtPlan* plan);
42 
44  DtStmtIndex(const DtStmtIndex& orig, const DtPlan* plan = NULL);
45 
47  virtual ~DtStmtIndex();
48 
50  DtStmtIndex& operator=(const DtStmtIndex& orig);
51 
52  bool isSameStatementAs(const DtStmtIndex& stmt) const;
53  bool isSameStatementAs(DtSimStatement* stmt) const;
54 
55  virtual DtSimStatement* statement() const;
56  virtual void setStatement(DtSimStatement* arg);
57 
58  virtual const DtPlan* plan() const;
59  virtual void setPlan(const DtPlan* arg);
60 
61  virtual DtStmtIdType statementId() const;
62  //virtual void setStatementId(DtStmtIdType arg);
63 
67  virtual void invalidatePointer();
68  virtual bool pointerIsInvalid() const;
69 
71  virtual void setNull();
73  virtual bool isNull() const;
74 
75  virtual int taskExecutionId() const;
76  virtual void setTaskExecutionId(int v);
77 
78  virtual int suspendedTaskId() const;
79  virtual void setSuspendedTaskId(int);
80 
81  virtual bool isSuspended() const;
82 
83 protected:
84 
86  const DtPlan* myPlan;
90 };

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)