VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifBlock.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 DtIfBlock;
12 
13 #include <vlutil/vlString.h>
15 #include "vrfplan/simBlock.h"
16 
17 class DtPlan;
18 class DtIfStmt;
19 
26 
27 #include "vrfplan/vrfplanDefines.h"
29 {
30 public:
31 
33  DtIfBlock(DtIfStmt* ifStmt = NULL);
34 
36  DtIfBlock(const DtString& name,
37  DtIfStmt* ifStmt = NULL,
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
42  DtIfBlock(const DtIfBlock& orig);
43 
46  DtIfBlock(const DtString& name,
47  const DtIfBlock& orig,
48  DtReaderWriterRegistry* parentRegistry = NULL);
49 
51  virtual ~DtIfBlock();
52 
54  DtIfBlock& operator=(const DtIfBlock& orig);
55 
57  virtual DtSimBlock* clone(const DtString& name,
58  DtReaderWriterRegistry* parentRegistry = NULL) const;
59 
63  virtual void exitFromBlock(DtPlan& planContext);
64 
66  virtual const DtIfStmt* ifStmt() const;
68  virtual DtIfStmt* ifStmt();
69 };
class DtIfBlock:
Definition: ifBlock.h:28
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:158
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:27
class DtIfStmt:
Definition: ifStmt.h:30
class DtPlan:
Definition: plan.h:91
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28

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)