VR-Forces 4.0.4 Class Documentation
include/vrfplan/deleteObjectCommand.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: deleteObjectCommand.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef deleteObjectCommand_h
00015 #define deleteObjectCommand_h
00016 
00017 
00018 #include "vrfplan/simCommand.h"
00019 #include "vrfplan/vrfplanDefines.h"
00020 #include "vrfutil/rwString.h"
00021 
00023 class DT_DLL_vrfplan DtDeleteObjectCommand : public DtSimCommand
00024 {
00025 public:
00027    DtDeleteObjectCommand();
00028 
00030    DtDeleteObjectCommand(const DtString& writeName,
00031       DtReaderWriterRegistry* parentRegistry = NULL);
00032 
00034    DtDeleteObjectCommand(const DtString & writeName, const DtDeleteObjectCommand& orig,
00035       DtReaderWriterRegistry* parentRegistry = NULL);
00036 
00038    DtDeleteObjectCommand(const DtDeleteObjectCommand &orig,
00039       DtReaderWriterRegistry* parentRegistry = NULL);
00040 
00042    virtual ~DtDeleteObjectCommand();
00043 
00045    DtDeleteObjectCommand& operator=(const DtDeleteObjectCommand& orig);
00046 
00048    int type() const;
00049 
00051    virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
00052       parentRegistry = 0) const;
00053 
00055 
00056    virtual DtString objectName() const;
00057    virtual void setObjectName(const DtString& name);
00059 
00063    virtual bool doDeleteSelf() const;
00064    virtual void setDoDeleteSelf(const bool doDelete);
00066 
00068    virtual DtString stringRep() const;
00069 
00071    virtual int netRepSize() const;
00072 
00074    virtual bool setFromNet(const char* contentBuffer, 
00075       unsigned contentSize);
00076 
00078    virtual bool setToNet();
00079 
00081    static DtSimCommand* creator();
00082 
00083 protected:
00084    DtRwString myObjectName;
00085    DtRwBoolean myDeleteSelf;
00086 };
00087 
00088 #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)