![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: whileBlock.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtWhileBlock_H_ 00013 #define DtWhileBlock_H_ 00014 00015 #include "vrfutil/rdrWritr.h" 00016 #include "vrfplan/whileStmt.h" 00017 #include "vrfplan/simBlock.h" 00018 00019 #include <vlutil/vlString.h> 00020 00021 class DtPlan; 00022 00029 00030 #include "vrfplan/vrfplanDefines.h" 00031 class DT_DLL_vrfplan DtWhileBlock : public DtSimBlock 00032 { 00033 public: 00034 00036 DtWhileBlock(DtWhileStmt* whileStmt = NULL); 00037 00039 DtWhileBlock(const DtString& name, 00040 DtWhileStmt* whileStmt = NULL, 00041 DtReaderWriterRegistry* parentRegistry = NULL); 00042 00045 DtWhileBlock(const DtWhileBlock& orig); 00046 00049 DtWhileBlock(const DtString& name, 00050 const DtWhileBlock& orig, 00051 DtReaderWriterRegistry* parentRegistry = NULL); 00052 00054 virtual ~DtWhileBlock(); 00055 00057 DtWhileBlock& operator=(const DtWhileBlock& orig); 00058 00060 virtual DtSimBlock* clone(const DtString& name, 00061 DtReaderWriterRegistry* parentRegistry = NULL) const; 00062 00065 virtual void exitFromBlock(DtPlan& planContext); 00066 00068 virtual void setWhileStmt(DtWhileStmt* arg); 00070 virtual const DtWhileStmt* whileStmt() const; 00072 virtual DtWhileStmt* whileStmt(); 00073 00074 protected: 00075 00076 DtWhileStmt* myWhileStmt; 00077 }; 00078 00079 #endif