![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ifBlock.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtIfBlock_H_ 00013 #define DtIfBlock_H_ 00014 00015 class DtIfBlock; 00016 00017 #include <vlutil/vlString.h> 00018 #include "vrfutil/rdrWritr.h" 00019 #include "vrfplan/ifStmt.h" 00020 #include "vrfplan/simBlock.h" 00021 00022 class DtPlan; 00023 00030 00031 #include "vrfplan/vrfplanDefines.h" 00032 class DT_DLL_vrfplan DtIfBlock : public DtSimBlock 00033 { 00034 public: 00035 00037 DtIfBlock(DtIfStmt* ifStmt = NULL); 00038 00040 DtIfBlock(const DtString& name, 00041 DtIfStmt* ifStmt = NULL, 00042 DtReaderWriterRegistry* parentRegistry = NULL); 00043 00046 DtIfBlock(const DtIfBlock& orig); 00047 00050 DtIfBlock(const DtString& name, 00051 const DtIfBlock& orig, 00052 DtReaderWriterRegistry* parentRegistry = NULL); 00053 00055 virtual ~DtIfBlock(); 00056 00058 DtIfBlock& operator=(const DtIfBlock& orig); 00059 00061 virtual DtSimBlock* clone(const DtString& name, 00062 DtReaderWriterRegistry* parentRegistry = NULL) const; 00063 00067 virtual void exitFromBlock(DtPlan& planContext); 00068 00070 virtual void setIfStmt(DtIfStmt* arg); 00072 virtual const DtIfStmt* ifStmt() const; 00074 virtual DtIfStmt* ifStmt(); 00075 00076 protected: 00077 00078 DtIfStmt* myIfStmt; 00079 }; 00080 00081 #endif