VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 <readerWriter/rwList.h>
16 #include "vrfutil/vrfutilDefines.h"
17 #include <readerWriter/rwReal.h>
18 #include <readerWriter/rwString.h>
19 
21 {
22 public:
23 
25  DtReaderWriterRegistry* const parentRegistry = NULL);
27  DtReaderWriterRegistry* const parentRegistry = NULL);
28 
29  virtual ~DtRwSoilSpeedFactorListEntry() override;
30 
32  const DtRwSoilSpeedFactorListEntry& orig,
33  DtReaderWriterRegistry* parentRegistry = NULL);
35  const DtRwSoilSpeedFactorListEntry& orig,
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
39  const DtRwSoilSpeedFactorListEntry & orig);
40 
44  virtual const char* readerWriterType() const override;
45 
48 };
49 
53 
55 {
56 public:
57 
60 
62  DtRwSoilSpeedFactorList(const DtString& name, DtReaderWriterRegistry* const parentRegistry = NULL);
64  DtReaderWriterRegistry* const parentRegistry = NULL);
65 
68 
71 
73  virtual ~DtRwSoilSpeedFactorList() override;
74 
77  bool lookup(const DtString& soilType, double& speedFactor) const;
78  virtual const char* readerWriterType() const override;
79 
82  void clearList();
83 
84 protected:
85 
88  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
89  const DtVariableBindingsList& variableBindings) override;
90 
93  virtual void copyList(const DtRwSoilSpeedFactorList& orig);
94 
95 };
96 
97 #endif
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwReal myMaxSpeedFactor
Definition: rwSoilSpeedFactorList.h:47
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
class DtRwSoilSpeedFactorList:
Definition: rwSoilSpeedFactorList.h:54
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DtRwString mySoilType
Definition: rwSoilSpeedFactorList.h:46
Definition: rwSoilSpeedFactorList.h:20

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)