14 #include <vlutil/vlMachineTypes.h>
40 parentRegistry = NULL);
43 parentRegistry = NULL);
64 virtual bool getProbabilities(DtReal value,
DtPrbValueList* entry)
const;
68 virtual double minInputValue()
const;
72 virtual double maxInputValue()
const;
75 virtual double solveForMaximum()
const;
78 virtual bool isValid()
const;
83 return !(*
this == rhs);
87 virtual bool removeValue(
double);
90 virtual double value(
int index)
const;
94 virtual DtPrbValueList* changeValue(
double oldValue,
double newValue,
int* newColumn = 0);
97 virtual DtPrbValueList* changeValueForColumn(
int col,
double newRange,
int* newColumn = 0);
100 virtual DtListItem* lookupValue(
double value)
const;
103 virtual int indexOfValue(
double)
const;
107 virtual void setRoundDown(
bool);
115 virtual DtPrbValueList* changeValue(DtListItem* item,
double newValue,
int* newColumn = 0);
135 virtual const char*
xmlType()
const override {
virtual void prePutSelf()
Called before either version of put self (file or environment). Default is no-op. ...
bool myRoundDown
Determines if step function should round input down or up to closest entry.
Definition: prbStepFunction.h:150
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
virtual const char * xmlType() const override
Routines to archive/dearchive from an XML Environment.
Definition: prbStepFunction.h:135
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Definition: prbStepFunction.h:24
static const char * theXmlType()
The type that is used when archiving to an XML stream.
Definition: readerWriterRegistry.h:39
DtPrbValueList.
Definition: prbValueList.h:19
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
bool operator!=(const DtPrbStepFunction &rhs) const
Definition: prbStepFunction.h:81
bool operator==(const DtRwList &rhs) const
Iterates over all items and calls the factory to compare.
bool roundDown() const
Accessor/mutator for myRoundDown.
Definition: prbStepFunction.h:108
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.
virtual void postPutSelf()
Called after either version of put self (file or environment). Default is no-op.