54 virtual void setHazardType(
const DtEntityType&);
55 virtual const DtEntityType& hazardType()
const;
57 virtual void setDescription(
const DtString&);
58 virtual const DtString& description()
const;
60 virtual void setDamagePerSecond(
int);
61 virtual const int damagePerSecond()
const;
63 virtual void setMinimumMOPP(
int);
64 virtual const int minimumMOPP()
const;
148 virtual void clear();
152 virtual bool load(
const DtFilename&);
155 virtual bool save()
const;
158 virtual bool save(
const DtFilename&)
const;
180 const std::vector<DtRwHazardType> hazardTypesFor(
const DtEntityType&)
const;
183 virtual DtString mapAgentTypeToDescription(
const DtEntityType& t,
const DtString& agentType)
const;
200 virtual DtString mapTopographyTypeToDescription(
const DtString& type)
const;
209 virtual DtString mapVegetationTypeToDescription(
const DtString& type)
const;
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual DtListItem * addToStart(DtReaderWriter *data)
Add element to the beginning of the list. Returns the DtListItem envelope object that contains your n...
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...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual DtListItem * addWithAlternateName(DtReaderWriter *data, const DtString &name)
Add element to the end of the list, but use the provided name in place of the object name on the data...
A hazard type contains hazard area information and the type it applies to.
Definition: rwHazardAreaInformation.h:33
DtRwString myDescription
Definition: rwHazardAreaInformation.h:85
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
Definition: rwHazardAreaInformation.h:90
DtRwInt myMinimumMOPP
Definition: rwHazardAreaInformation.h:87
virtual DtListItem * add(DtReaderWriter *item) override
Define this function to hide the DtRwList version, and accept only the specific DtReaderWriter subcla...
Definition: rwTemplatedList.h:90
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual const char * xmlType() const
Definition: rwHazardAreaInformation.h:74
File: rwEntType.h.
Definition: rwEntityType.h:23
Definition: rwTemplatedList.h:164
bool operator!=(const DtRwHazardType &rhs) const
Definition: rwHazardAreaInformation.h:81
virtual DtListItem * addToEnd(DtReaderWriter *data)
Add element to the end of the list. Returns the DtListItem envelope object that contains your new ele...
Definition: rwTemplatedList.h:34
#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
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DtRwInt myDamagePerSecond
Definition: rwHazardAreaInformation.h:86