VR-Forces 4.0.4 Class Documentation
include/vrfplan/rwCondExpr.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: rwCondExpr.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtRwCondExpr_H_
00013 #define DtRwCondExpr_H_
00014 
00015 class DtRwCondExp;
00016 
00017 #include "vrfutil/rdrWritr.h"
00018 #include "vrfutil/condExpr.h"
00019 
00026 
00027 #include "vrfplan/vrfplanDefines.h"
00028 class DT_DLL_vrfplan DtRwCondExpr : public DtReaderWriter
00029 {
00030 public:
00031 
00033    DtRwCondExpr(const DtString& name,
00034       DtReaderWriterRegistry* parentRegistry = NULL);
00035 
00037    DtRwCondExpr(const DtString& name,
00038       DtSimCondExpr* condExpr,
00039       DtReaderWriterRegistry* parentRegistry = NULL);
00040 
00042    DtRwCondExpr(const DtString& name,
00043       const DtRwCondExpr& orig,
00044       DtReaderWriterRegistry* parentRegistry = NULL);
00045 
00047    virtual ~DtRwCondExpr();
00048 
00050    DtRwCondExpr& operator=(const DtRwCondExpr& orig);
00051 
00053    virtual DtRwCondExpr* clone(const DtString& name,
00054       DtReaderWriterRegistry* parentRegistry = NULL);
00055 
00058    virtual bool evaluate(const DtString& echelonId, 
00059       DtSimManager* simManager) const;
00060 
00061    virtual DtSimCondExpr* condExpr() const;
00062    virtual void setCondExpr(DtSimCondExpr* arg);
00063 
00064    virtual void putData(FILE *fp, int indentLevel = 0);
00065    
00066    virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
00067       const DtVariableBindingsList& variableBindings);
00068 
00069 protected:
00070 
00072    DtRwCondExpr();
00073 
00075    DtRwCondExpr(const DtRwCondExpr& orig);
00076 
00077    DtSimCondExpr* myCondExpr;
00078 };
00079 
00080 #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)