VR-Forces 4.0.4 Class Documentation
include/vrfutil/ceEntUnderFire.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ceEntUnderFire.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtCeEntUnderFire_H_
00013 #define DtCeEntUnderFire_H_
00014 
00015 #include "vrfutil/rdrWritr.h"
00016 #include "vrfutil/rwString.h"
00017 #include "vrfutil/condExpr.h"
00018 
00019 const char DtCeEntUnderFireTypeName[] = "UnderFire";
00020 
00021 
00024 struct DtNetCeEntUnderFire
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 DtCeEntUnderFire : public DtSimCondExpr
00042 {
00043 public:
00044 
00046    DtCeEntUnderFire();
00047 
00049    DtCeEntUnderFire(DtReaderWriterRegistry* parentRegistry);
00050 
00052    DtCeEntUnderFire(const DtCeEntUnderFire& orig,
00053       DtReaderWriterRegistry* parentRegistry = NULL);
00054 
00056    virtual ~DtCeEntUnderFire();
00057 
00059    DtCeEntUnderFire& operator=(const DtCeEntUnderFire& orig);
00060 
00062    virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL);
00063 
00065    virtual int type() const;
00066 
00068    virtual void setEntityName(const DtString& name);
00070    virtual const DtString& entityName() const;
00071 
00078    virtual void setModifier(const DtString& arg);
00080    virtual const DtString& modifier() const;
00081 
00091    virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
00092 
00095    virtual int netRepSize() const;
00096 
00098    virtual bool setFromNet(const char* contentBuffer, 
00099       unsigned contentSize);
00100 
00103    virtual bool setToNet();
00104 
00106    static DtSimCondExpr * creator();
00107 
00108 protected:
00109    DtRwString myEntityName;
00110    DtRwString myModifier;
00111 };
00112 
00113 #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)