![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: planBlock.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtPlanBlock_H_ 00013 #define DtPlanBlock_H_ 00014 00015 #include "vrfplan/simBlock.h" 00016 #include "vrfplan/vrfplanDefines.h" 00017 00018 class DtPlan; 00019 00025 00026 class DT_DLL_vrfplan DtPlanBlock : public DtSimBlock 00027 { 00028 public: 00029 00031 DtPlanBlock(DtPlan* plan = NULL); 00032 00034 DtPlanBlock(const DtString& name, 00035 DtPlan* plan = NULL, 00036 DtReaderWriterRegistry* parentRegistry = NULL); 00037 00040 DtPlanBlock(const DtPlanBlock& orig); 00041 00044 DtPlanBlock(const DtString& name, 00045 const DtPlanBlock& orig, 00046 DtReaderWriterRegistry* parentRegistry = NULL); 00047 00049 virtual ~DtPlanBlock(); 00050 00054 DtPlanBlock& operator=(const DtPlanBlock& orig); 00055 00057 virtual DtSimBlock* clone(const DtString& name, 00058 DtReaderWriterRegistry* parentRegistry = NULL) const; 00059 00061 virtual DtPlan* plan() const; 00063 virtual void setPlan(DtPlan* arg); 00064 00068 virtual void exitFromBlock(DtPlan& planContext); 00069 00074 virtual bool translateIndex(DtStmtIndex& stmtIndex) const; 00075 00076 protected: 00077 00078 DtPlan* myPlan; 00079 }; 00080 00081 #endif