![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: abandonPlanCommand.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtAbandonPlanCommand_H_ 00013 #define DtAbandonPlanCommand_H_ 00014 00015 #include "vrfplan/simCommand.h" 00016 #include "vrfutil/rwString.h" 00017 00028 #include "vrfplan/vrfplanDefines.h" 00029 class DT_DLL_vrfplan DtAbandonPlanCommand : public DtSimCommand 00030 { 00031 public: 00032 00034 DtAbandonPlanCommand(); 00035 00037 DtAbandonPlanCommand(const DtString& writeName, 00038 DtReaderWriterRegistry* parentRegistry = NULL); 00039 00041 DtAbandonPlanCommand(const DtString & writeName, const DtAbandonPlanCommand& orig, 00042 DtReaderWriterRegistry* parentRegistry = NULL); 00043 00045 virtual ~DtAbandonPlanCommand(); 00046 00048 DtAbandonPlanCommand(const DtAbandonPlanCommand& orig); 00049 00051 DtAbandonPlanCommand& operator=(const DtAbandonPlanCommand& orig); 00052 00054 int type() const; 00055 00057 virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry * 00058 parentRegistry = 0) const; 00059 00061 00062 virtual const DtString & objectName() const; 00063 virtual void setObjectName(const DtString & name); 00065 00066 virtual int netRepSize() const; 00067 virtual bool setFromNet(const char* contentBuffer, 00068 unsigned contentSize); 00069 virtual bool setToNet(); 00070 00072 virtual DtString stringRep() const; 00073 00074 static DtSimCommand* creator(); 00075 00076 protected: 00077 DtRwString myObjectName; 00078 }; 00079 00080 #endif