VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ceEntUnderFire.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
11 #include <readerWriter/rwString.h>
12 #include "vrfutil/simCondExpr.h"
13 #include <vrfutil/rwUUID.h>
14 
15 const char DtCeEntUnderFireTypeName[] = "UnderFire";
16 
21 #include "vrfutil/vrfutilDefines.h"
23 {
24 public:
25 
28 
31 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  virtual ~DtCeEntUnderFire();
38 
41 
43  virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL) const;
44 
46  virtual int type() const;
47 
50  virtual void setEntity(const DtUUID&);
51 
53  virtual const DtUUID& entity() const;
54 
61  virtual void setModifier(const DtString& arg);
63  virtual const DtString& modifier() const;
64 
74  virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
75 
78  virtual int netRepSize() const;
79 
81  virtual bool setFromNet(const char* contentBuffer,
82  unsigned contentSize);
83 
86  virtual bool setToNet();
87 
89  static DtSimCondExpr * creator();
90 
91 protected:
94 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
const char DtCeEntUnderFireTypeName[]
Definition: ceEntUnderFire.h:15
DtSimCondExpr & operator=(const DtSimCondExpr &orig)
assignment operator
virtual DtSimCondExpr * clone(DtReaderWriterRegistry *parentRegistry=NULL) const =0
clone operator
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simCondExpr.h:148
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
Description: Readable, Writable uuid string. Use this class in order to convert from object marking t...
Definition: rwUUID.h:428
virtual int netRepSize() const
These 3 should become pure virtual functions.
Definition: simCondExpr.h:145
DtRwString myModifier
Definition: ceEntUnderFire.h:93
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
DtRwUUID myEntity
Definition: ceEntUnderFire.h:92
virtual DtString stringRep(int subExprIndex=DtSR_EXPR) const =0
Get a readable string representation of this level of this expression.
class DtCeEntUnderFire:
Definition: ceEntUnderFire.h:22
virtual bool setToNet()
Definition: simCondExpr.h:152
virtual int type() const =0
Returns the type of conditional expression defined in condExprTypes.h.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)