VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 "vrfutil/rwList.h"
16 #include "vrfutil/vrfutilDefines.h"
17 #include "vrfutil/rwReal.h"
18 #include "vrfutil/rwString.h"
19 
21 {
22 public:
23 
25  DtReaderWriterRegistry* const parentRegistry = NULL);
26  DtRwSoilSpeedFactorListEntry(const DtSymbolString& name,
27  DtReaderWriterRegistry* const parentRegistry = NULL);
28 
30 
32  const DtRwSoilSpeedFactorListEntry& orig,
33  DtReaderWriterRegistry* parentRegistry = NULL);
34  DtRwSoilSpeedFactorListEntry(const DtSymbolString& name,
35  const DtRwSoilSpeedFactorListEntry& orig,
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
39  const DtRwSoilSpeedFactorListEntry & orig);
40 
44  virtual const char* readerWriterType() const;
45 
48 };
49 
53 
55 {
56 public:
57 
60 
62  DtRwSoilSpeedFactorList(const DtString& name, DtReaderWriterRegistry* const parentRegistry = NULL);
63  DtRwSoilSpeedFactorList(const DtSymbolString& name,
64  DtReaderWriterRegistry* const parentRegistry = NULL);
65 
68 
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)