VR-Forces 4.0.4 Class Documentation
include/vrfutil/ceEntDstroyed.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ceEntDstroyed.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtCeDestroyed_H_
00013 #define DtCeDestroyed_H_
00014 
00015 #include "vrfutil/rdrWritr.h"
00016 #include "vrfutil/rwString.h"
00017 #include "vrfutil/condExpr.h"
00018 
00019 const char DtCeEntDestroyedTypeName[] = "Destroyed";
00020 
00021 
00024 struct DtNetCeEntDestroyed
00025 {
00026    DtNetU8 myEntityNameStringLength;  
00027    DtNetU8 myModifierStringLength;    
00028    DtNetU8 myPadding;                 
00029    DtNetU8 myPadding1;                
00030    DtNetU8 myPadding2;                
00031    DtNetU8 myPadding3;                
00032    DtNetU8 myPadding4;                
00033    DtNetU8 myPadding5;                
00034 };
00035 
00040 #include "vrfutil/vrfutilDefines.h"
00041 class DT_DLL_vrfutil DtCeEntDestroyed : public DtSimCondExpr
00042 {
00043 public:
00044 
00046    DtCeEntDestroyed();
00047 
00049    DtCeEntDestroyed(DtReaderWriterRegistry* parentRegistry);
00050 
00052    DtCeEntDestroyed(const DtCeEntDestroyed& orig,
00053       DtReaderWriterRegistry* parentRegistry = NULL);
00054 
00056    virtual ~DtCeEntDestroyed();
00057 
00059    DtCeEntDestroyed& operator=(const DtCeEntDestroyed& orig);
00060 
00062    virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL);
00063 
00065    virtual int type() const;
00066 
00068    virtual void setEntityName(const DtString& name);
00069    virtual const DtString& entityName() const;
00070 
00077    virtual void setModifier(const DtString& arg);
00078    virtual const DtString& modifier() const;
00079 
00089    virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
00090 
00093    virtual int netRepSize() const;
00094 
00096    virtual bool setFromNet(const char* contentBuffer, 
00097       unsigned contentSize);
00098 
00101    virtual bool setToNet();
00102 
00103    static DtSimCondExpr * creator();
00104 
00105 protected:
00106    DtRwString myEntityName;
00107    DtRwString myModifier;
00108 };
00109 
00110 #endif
00111 
00112 

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)