VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 };
const DtPlan * myPlan
Definition: stmtIndex.h:86
class DtStmtIndex:
Definition: stmtIndex.h:24
int myTaskExecutionId
Definition: stmtIndex.h:88
int mySuspendedTaskId
Definition: stmtIndex.h:89
class DtPlan:
Definition: plan.h:92
class DtSimStatement:
Definition: simStatement.h:38
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
DtStmtIdType myStatementId
Definition: stmtIndex.h:87
DtSimStatement * myStatement
Definition: stmtIndex.h:85

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)