VR-Forces 5.0.3 Developer's Guide
 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 
27 
28 #include "vrfplan/vrfplanDefines.h"
30 {
31 public:
32 
34  DtIfBlock(DtIfStmt* ifStmt = NULL);
35 
37  DtIfBlock(const DtString& name,
38  DtIfStmt* ifStmt = NULL,
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
43  DtIfBlock(const DtIfBlock& orig);
44 
47  DtIfBlock(const DtString& name,
48  const DtIfBlock& orig,
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
52  virtual ~DtIfBlock();
53 
55  DtIfBlock& operator=(const DtIfBlock& orig);
56 
58  virtual DtSimBlock* clone(const DtString& name,
59  DtReaderWriterRegistry* parentRegistry = NULL) const;
60 
64  virtual void exitFromBlock(DtPlan& planContext);
65 
67  virtual const DtIfStmt* ifStmt() const;
69  virtual DtIfStmt* ifStmt();
70 };
class DtIfBlock:
Definition: ifBlock.h:29
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:31
class DtPlan:
Definition: plan.h:92
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)