VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
planBlock.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfplan/simBlock.h"
12 #include "vrfplan/vrfplanDefines.h"
13 
14 class DtPlan;
15 
21 
23 {
24 public:
25 
27  DtPlanBlock(DtPlan* plan = NULL);
28 
30  DtPlanBlock(const DtString& name,
31  DtPlan* plan = NULL,
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
36  DtPlanBlock(const DtPlanBlock& orig);
37 
40  DtPlanBlock(const DtString& name,
41  const DtPlanBlock& orig,
42  DtReaderWriterRegistry* parentRegistry = NULL);
43 
45  virtual ~DtPlanBlock();
46 
50  DtPlanBlock& operator=(const DtPlanBlock& orig);
51 
53  virtual DtSimBlock* clone(const DtString& name,
54  DtReaderWriterRegistry* parentRegistry = NULL) const;
55 
57  virtual DtPlan* plan() const;
59  virtual void setPlan(DtPlan* arg);
60 
64  virtual void exitFromBlock(DtPlan& planContext);
65 
70  virtual bool translateIndex(DtStmtIndex& stmtIndex);
71 
72 protected:
73 
75 };
class DtPlanBlock:
Definition: planBlock.h:22
DtSimBlock * clone() const
This clone re-uses the current DtSimBlock's name, but does not register in its parent's plan or regis...
Definition: simBlock.h:158
DtSimBlock & operator=(const DtSimBlock &orig)
assignment operator NOTE: this deletes the old statements and does a deep copy of the new ones...
class DtStmtIndex:
Definition: stmtIndex.h:24
Definition: readerWriterRegistry.h:39
virtual void exitFromBlock(DtPlan &)=0
This function is called by the last statement in the block so that the block can do whatever is appro...
class DtSimBlock:
Definition: simBlock.h:27
DtPlan * myPlan
Definition: planBlock.h:74
class DtPlan:
Definition: plan.h:91
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
virtual bool translateIndex(DtStmtIndex &stmtIndex)
If you have a DtStmtIndex object that used to point into the original DtSimBlock before it was copied...

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)