28 parentRegistry = NULL);
31 parentRegistry = NULL);
56 virtual void putSelf(std::string& fp,
int indentLevel = 0,
bool writeUnspecified =
false,
57 const DtFilename& path = DtFilename::nullFilename())
override;
61 virtual const DtString& damageFilename()
const;
70 virtual bool getProbabilities(
const DtString& surface, DtReal angleOfIncidence,
74 virtual double getMaximumInputValue()
const;
77 virtual double getMinimumInputValue()
const;
80 virtual bool isValid()
const;
97 return !(*
this == rhs);
103 virtual const char*
xmlType()
const override {
bool operator==(const DtReaderWriter &) const
Equivalence operator.
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...
const DtDmgSurfaceTable & damageTable() const
Return the damage table.
Definition: damageProbabilityTable.h:83
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Instances of DtDmgSurfaceTable are (readable/writable) lists of DtDmgSurfaceEntrys. A string hash index is maintained for quick lookup. Given a surface, angle, and some input value, this class's getProbabilities() method will fill in the supplied DtPrbValueList.
Definition: dmgSurfaceTable.h:25
bool operator!=(const DtDamageProbabilityTable &rhs) const
Definition: damageProbabilityTable.h:95
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
This file contains the class declaration for the.
DtDmgSurfaceTable & damageTable()
Definition: damageProbabilityTable.h:88
DtPrbValueList.
Definition: prbValueList.h:19
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtDmgSurfaceTable myDamageTable
Parameter Name: damage-table Parameter Description: The damage table used to determine damage based o...
Definition: damageProbabilityTable.h:126
DtDamageProbabilityTable.
Definition: damageProbabilityTable.h:20
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
virtual void putSelf(std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
Top level call to write itself to file. If write unspecified is true, will write entries that are uns...
static const DtVariableBindingsList & nullVariableReference()
virtual const char * xmlType() const override
Definition: damageProbabilityTable.h:103
DtDmgSurfaceEntry is a readable/writable list of angle of incidence tables; the name of the list is a...
Definition: dmgSurfaceEntry.h:29
DtReaderWriterFile myDamageFile
Parameter Name: damage-file Parameter Description: The damage file to read in from Parameter Default ...
Definition: damageProbabilityTable.h:121
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
Using a DtReaderWriterFile allows a DtReaderWriter object to be read in from an MTL stream contained ...
Definition: readerWriterFile.h:35