VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwCombatAdjustment.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <readerWriter/rwReal.h>
12 #include <readerWriter/rwString.h>
15 
17 {
18 public:
21 
24  parentRegistry = NULL);
25 
27  parentRegistry = NULL);
28 
30  DtRwCombatAdjustment(const DtString& name, const DtRwCombatAdjustment& orig,
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
38 
39  virtual ~DtRwCombatAdjustment();
40 
41  virtual DtRwCombatAdjustment* clone(const DtString& name,
42  DtReaderWriterRegistry* parentRegistry = NULL) const;
43 
44  virtual DtRwCombatAdjustment* clone(const DtSymbolString& name,
45  DtReaderWriterRegistry* parentRegistry = NULL) const;
46 
49  virtual DtString adjustmentName() const;
50  virtual void setAdjustmentName(const DtString& val);
52 
55  virtual double adjustment() const;
56  virtual void setAdjustment(double val);
58 
61  virtual DtString damageCategory() const;
62  virtual void setDamageCategory(const DtString& val);
64 
67  virtual DtString guidanceSystem() const;
68  virtual void setGuidanceSystem(const DtString& val);
70 
73  virtual DtString requiredResource() const;
74  virtual void setRequiredResource(const DtString& val);
76 
79  virtual double resourceAmount() const;
80  virtual void setResourceAmount(double val);
82 
85  virtual DtString calculationFunction() const;
86  virtual void setCalculationFunction(const DtString& val);
88 
90  bool operator==(const DtRwCombatAdjustment& rhs) const;
91  bool operator!=(const DtRwCombatAdjustment& rhs) const
92  {
93  return !(*this == rhs);
94  }
95 
99  virtual const char* readerWriterType() const;
100 
102  static const char* theXmlType();
103 
104  virtual const char* xmlType() const
105  {
106  return theXmlType();
107  }
108 
109 protected:
113 
118 
123 
129 
135 
140 
145 
151 
153 };
154 
156 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)