VR-Forces 4.0.4 Class Documentation
include/vrfplan/whenBlock.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: whenBlock.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtWhenBlock_H_
00013 #define DtWhenBlock_H_
00014 
00015 #include <vlutil/vlString.h>
00016 #include "vrfutil/rdrWritr.h"
00017 #include "vrfplan/whenStmt.h"
00018 #include "vrfplan/simBlock.h"
00019 
00020 class DtPlan;
00021 
00028 
00029 #include "vrfplan/vrfplanDefines.h"
00030 class DT_DLL_vrfplan DtWhenBlock : public DtSimBlock
00031 {
00032 public:
00033 
00035    DtWhenBlock(DtWhenStmt* whenStmt = NULL);
00036 
00038    DtWhenBlock(const DtString& name,
00039       DtWhenStmt* whenStmt = NULL,
00040       DtReaderWriterRegistry* parentRegistry = NULL);
00041 
00044    DtWhenBlock(const DtWhenBlock& orig);
00045 
00048    DtWhenBlock(const DtString& name,
00049       const DtWhenBlock& orig,
00050       DtReaderWriterRegistry* parentRegistry = NULL);
00051 
00053    virtual ~DtWhenBlock();
00054 
00056    DtWhenBlock& operator=(const DtWhenBlock& orig);
00057 
00059    virtual DtSimBlock* clone(const DtString& name,
00060       DtReaderWriterRegistry* parentRegistry = NULL) const;
00061 
00065    virtual void exitFromBlock(DtPlan& planContext);
00066 
00068    virtual void setWhenStmt(DtWhenStmt* arg);
00070    virtual const DtWhenStmt* whenStmt() const;
00072    virtual DtWhenStmt* whenStmt();
00073 
00074 protected:
00075    
00076    DtWhenStmt* myWhenStmt;
00077 };
00078 
00079 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)