VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
combatIdentificationLevelTable.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: combatIdentificationLevelTable.h,v $ $Revision: 1.8 $ $State: Exp $
7
** Created: 4/2/07 MEM
8
*******************************************************************************/
9
12
14
15
#ifndef combatIdentificationLevelTable_H_
16
#define combatIdentificationLevelTable_H_
17
18
#include "
vrfutil/csvReaderWriter.h
"
19
#include <vlutil/vlMachineTypes.h>
20
#include "
vrfutil/vrfutilDefines.h
"
21
#include <vector>
22
23
class
DtString
;
24
class
DtReaderWriterRegistry
;
25
class
DtCombatIdentificationLevelTableEntry
;
26
34
class
DT_DLL_vrfutil
DtCombatIdentificationLevelTable
:
public
DtCSVReaderWriter
35
{
36
public
:
37
38
typedef
std::vector<DtCombatIdentificationLevelTableEntry*>
DtCombatIdentificationEntryList
;
39
41
DtCombatIdentificationLevelTable
();
42
44
DtCombatIdentificationLevelTable
(
const
DtString
& name,
DtReaderWriterRegistry
*
45
parentRegistry = NULL);
46
47
DtCombatIdentificationLevelTable
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
48
parentRegistry = NULL);
49
51
DtCombatIdentificationLevelTable
(
const
DtString
& name,
const
52
DtCombatIdentificationLevelTable
& orig,
DtReaderWriterRegistry
*
53
parentRegistry = NULL);
54
55
DtCombatIdentificationLevelTable
(
const
DtSymbolString
& name,
const
56
DtCombatIdentificationLevelTable
& orig,
DtReaderWriterRegistry
*
57
parentRegistry = NULL);
58
59
const
DtCombatIdentificationLevelTable
&
operator=
(
const
60
DtCombatIdentificationLevelTable
& orig);
61
63
virtual
~
DtCombatIdentificationLevelTable
();
64
65
public
:
66
71
virtual
void
putSelf
(FILE* fp,
int
indentLevel = 0,
72
bool
writeUnspecified =
false
,
const
DtFilename& path =
73
DtFilename::nullFilename());
74
78
virtual
void
getSelf
( FILE* fp,
const
DtFilename& searchPath =
79
DtFilename::nullFilename());
80
83
virtual
int
getIdentificationLevel(DtReal& appSig, DtReal & detInterval)
const
;
84
86
virtual
const
DtCombatIdentificationLevelTableEntry
* getEntryForAppSignature(
87
double
& appSig,
bool
needmatch =
false
)
const
;
88
92
virtual
const
char
*
readerWriterType
()
const
;
93
94
virtual
DtCombatIdentificationEntryList
& identificationEntries();
95
virtual
const
DtCombatIdentificationEntryList
& identificationEntries()
const
;
96
99
virtual
void
addTableEntry(
DtCombatIdentificationLevelTableEntry
* entry);
100
101
protected
:
102
103
void
printTable();
106
void
clearTable();
110
void
copyTableFrom(
const
DtCombatIdentificationEntryList
& sourceTable);
111
112
protected
:
113
114
DtCombatIdentificationEntryList
myCombatIdentificationEntries
;
115
116
};
117
118
#endif
119
120
121
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)