VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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,
79
const
DtReaderWriter::SearchPaths
& searchPaths =
SearchPaths
());
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)