VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
whileBlock.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 
12 #include "vrfplan/whileStmt.h"
13 #include "vrfplan/simBlock.h"
14 
15 #include <vlutil/vlString.h>
16 
17 class DtPlan;
18 class DtWhileStmt;
19 
26 
27 #include "vrfplan/vrfplanDefines.h"
29 {
30 public:
31 
33  DtWhileBlock(DtWhileStmt* whileStmt = NULL);
34 
36  DtWhileBlock(const DtString& name,
37  DtWhileStmt* whileStmt = NULL,
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
42  DtWhileBlock(const DtWhileBlock& orig);
43 
46  DtWhileBlock(const DtString& name,
47  const DtWhileBlock& orig,
48  DtReaderWriterRegistry* parentRegistry = NULL);
49 
51  virtual ~DtWhileBlock();
52 
54  DtWhileBlock& operator=(const DtWhileBlock& orig);
55 
57  virtual DtSimBlock* clone(const DtString& name,
58  DtReaderWriterRegistry* parentRegistry = NULL) const;
59 
62  virtual void exitFromBlock(DtPlan& planContext);
63 
65  virtual const DtWhileStmt* whileStmt() const;
67  virtual DtWhileStmt* whileStmt();
68 };
DtSimBlock * clone() const
This clone re-uses the current DtSimBlock&#39;s name, but does not register in its parent&#39;s plan or regis...
Definition: simBlock.h:160
DtSimBlock & operator=(const DtSimBlock &orig)
assignment operator NOTE: this deletes the old statements and does a deep copy of the new ones...
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:29
class DtPlan:
Definition: plan.h:90
class DtWhileBlock:
Definition: whileBlock.h:28
class DtWhileStmt:
Definition: whileStmt.h:30
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)