VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ceSurrender.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 
10 #include "vrfutil/simCondExpr.h"
11 #include "vrfutil/rwBoolean.h"
12 #include "vrfutil/rwString.h"
13 #include <vrfutil/rwUUID.h>
14 
15 const char DtCeSurrenderTypeName[] = "Surrender";
16 
23 
24 #include "vrfutil/vrfutilDefines.h"
26 {
27 public:
28 
30  DtCeSurrender();
31 
33  DtCeSurrender(DtReaderWriterRegistry* parentRegistry);
34 
36  DtCeSurrender(const DtCeSurrender& orig,
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
40  virtual ~DtCeSurrender();
41 
44 
46  virtual DtSimCondExpr* clone(
47  DtReaderWriterRegistry* parentRegistry = NULL) const;
48 
50  virtual int type() const;
51 
54  virtual void setEntity(const DtUUID&);
55 
57  virtual const DtUUID& entity() const;
58 
65  virtual void setModifier(const DtString& arg);
66  virtual const DtString& modifier() const;
67 
69  virtual void setSurrenderTestValue(DtBoolean yesNo);
70  virtual DtBoolean surrenderTestValue() const;
71 
81  virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
82 
85  virtual int netRepSize() const;
86 
88  virtual bool setFromNet(const char* contentBuffer,
89  unsigned contentSize);
90 
93  virtual bool setToNet();
94 
95  static DtSimCondExpr * creator();
96 
97 protected:
101 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)