VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
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
>
13
#include <
vrfutil/rwTemplatedList.h
>
14
#include "
vrfobjparam/vrfobjparamDefines.h
"
15
16
class
DT_DLL_vrfobjparam
DtRwCombatAdjustment
:
public
DtReaderWriter
17
{
18
public
:
20
DtRwCombatAdjustment
();
21
23
DtRwCombatAdjustment
(
const
DtString
& name,
DtReaderWriterRegistry
*
24
parentRegistry = NULL);
25
26
DtRwCombatAdjustment
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
27
parentRegistry = NULL);
28
30
DtRwCombatAdjustment
(
const
DtString
& name,
const
DtRwCombatAdjustment
& orig,
31
DtReaderWriterRegistry
* parentRegistry = NULL);
32
33
DtRwCombatAdjustment
(
const
DtSymbolString
& name,
const
DtRwCombatAdjustment
& orig,
34
DtReaderWriterRegistry
* parentRegistry = NULL);
35
37
const
DtRwCombatAdjustment
&
operator=
(
const
DtRwCombatAdjustment
& orig);
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
117
DtRwString
myAdjustmentName
;
118
122
DtRwReal
myAdjustment
;
123
128
DtRwString
myDamageCategory
;
129
134
DtRwString
myGuidanceSystem
;
135
139
DtRwString
myRequiredResource
;
140
144
DtRwReal
myResourceAmount
;
145
150
DtRwString
myCalculationFunction
;
151
153
};
154
155
typedef
DtRwTemplatedListPtr<DtRwCombatAdjustment, true>
DtRwCombatAdjustmentList
;
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
)