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
rwSoilSpeedFactorList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: rwSoilSpeedFactorList.h,v $ $Revision: 1.5 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef rwSoilSpeedFactorList_H_
13
#define rwSoilSpeedFactorList_H_
14
15
#include "
vrfutil/rwList.h
"
16
#include "
vrfutil/vrfutilDefines.h
"
17
#include "
vrfutil/rwReal.h
"
18
#include "
vrfutil/rwString.h
"
19
20
class
DT_DLL_vrfutil
DtRwSoilSpeedFactorListEntry
:
public
DtReaderWriter
21
{
22
public
:
23
24
DtRwSoilSpeedFactorListEntry
(
const
DtString
& name,
25
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
26
DtRwSoilSpeedFactorListEntry
(
const
DtSymbolString& name,
27
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
28
29
virtual
~
DtRwSoilSpeedFactorListEntry
();
30
31
DtRwSoilSpeedFactorListEntry
(
const
DtString
& name,
32
const
DtRwSoilSpeedFactorListEntry
& orig,
33
DtReaderWriterRegistry
* parentRegistry = NULL);
34
DtRwSoilSpeedFactorListEntry
(
const
DtSymbolString& name,
35
const
DtRwSoilSpeedFactorListEntry
& orig,
36
DtReaderWriterRegistry
* parentRegistry = NULL);
37
38
DtRwSoilSpeedFactorListEntry
&
operator=
(
39
const
DtRwSoilSpeedFactorListEntry
& orig);
40
44
virtual
const
char
*
readerWriterType
()
const
;
45
46
DtRwString
mySoilType
;
47
DtRwReal
myMaxSpeedFactor
;
48
};
49
53
54
class
DT_DLL_vrfutil
DtRwSoilSpeedFactorList
:
public
DtRwList
55
{
56
public
:
57
59
DtRwSoilSpeedFactorList
();
60
62
DtRwSoilSpeedFactorList
(
const
DtString
& name,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
63
DtRwSoilSpeedFactorList
(
const
DtSymbolString& name,
64
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
65
67
DtRwSoilSpeedFactorList
(
const
DtRwSoilSpeedFactorList
& orig);
68
70
DtRwSoilSpeedFactorList
&
operator=
(
const
DtRwSoilSpeedFactorList
& orig);
71
73
virtual
~
DtRwSoilSpeedFactorList
();
74
77
bool
lookup(
const
DtString
& soilType,
double
& speedFactor)
const
;
78
virtual
const
char
*
readerWriterType
()
const
;
79
82
void
clearList();
83
84
protected
:
85
88
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
89
const
DtVariableBindingsList
& variableBindings);
90
93
virtual
void
copyList(
const
DtRwSoilSpeedFactorList
& orig);
94
95
};
96
97
#endif
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
)