VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
whenBlock.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: whenBlock.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtWhenBlock_H_
13 #define DtWhenBlock_H_
14 
15 #include <vlutil/vlString.h>
16 #include "vrfutil/readerWriter.h"
17 #include "vrfplan/whenStmt.h"
18 #include "vrfplan/simBlock.h"
19 
20 class DtPlan;
21 
28 
29 #include "vrfplan/vrfplanDefines.h"
31 {
32 public:
33 
35  DtWhenBlock(DtWhenStmt* whenStmt = NULL);
36 
38  DtWhenBlock(const DtString& name,
39  DtWhenStmt* whenStmt = NULL,
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
44  DtWhenBlock(const DtWhenBlock& orig);
45 
48  DtWhenBlock(const DtString& name,
49  const DtWhenBlock& orig,
50  DtReaderWriterRegistry* parentRegistry = NULL);
51 
53  virtual ~DtWhenBlock();
54 
56  DtWhenBlock& operator=(const DtWhenBlock& orig);
57 
59  virtual DtSimBlock* clone(const DtString& name,
60  DtReaderWriterRegistry* parentRegistry = NULL) const;
61 
65  virtual void exitFromBlock(DtPlan& planContext);
66 
68  virtual void setWhenStmt(DtWhenStmt* arg);
70  virtual const DtWhenStmt* whenStmt() const;
72  virtual DtWhenStmt* whenStmt();
73 
74 protected:
75 
77 };
78 
79 #endif

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)