OMNeT++ Simulation Library
6.0.3
|
16 #ifndef __OMNETPP_CDOUBLEPARIMPL_H
17 #define __OMNETPP_CDOUBLEPARIMPL_H
85 virtual void setBoolValue(
bool b)
override;
90 virtual void setIntValue(
intval_t l)
override;
95 virtual void setDoubleValue(
double d)
override;
100 virtual void setStringValue(
const char *s)
override;
105 virtual void setObjectValue(
cObject *
object)
override;
110 virtual void setXMLValue(
cXMLElement *node)
override;
116 virtual void setExpression(
cExpression *e)
override;
125 virtual bool boolValue(
cComponent *context)
const override;
135 virtual double doubleValue(
cComponent *context)
const override;
140 virtual const char *stringValue(
cComponent *context)
const override;
145 virtual std::string stdstringValue(
cComponent *context)
const override;
160 virtual cExpression *getExpression()
const override;
169 virtual Type getType()
const override;
174 virtual bool isNumeric()
const override;
184 virtual void convertToConst(
cComponent *context)
override;
189 virtual std::string str()
const override;
194 virtual void parse(
const char *text,
FileLine loc)
override;
199 virtual int compare(
const cParImpl *other)
const override;
cObject is a lightweight class which serves as the root of the OMNeT++ class hierarchy....
Definition: cobject.h:92
Abstract base class for expression evaluators.
Definition: cexpression.h:33
Definition: fileline.h:27
A cParImpl subclass that stores a module/channel parameter of the type double.
Definition: cdoubleparimpl.h:30
int64_t intval_t
Signed integer type which is guaranteed to be at least 64 bits wide. It is used throughout the librar...
Definition: simkerneldefs.h:101
Internal class that stores values for cPar objects.
Definition: cparimpl.h:46
Represents an XML element in an XML configuration file.
Definition: cxmlelement.h:75
Common base for module and channel classes.
Definition: ccomponent.h:49
cDoubleParImpl(const cDoubleParImpl &other)
Definition: cdoubleparimpl.h:57
virtual cDoubleParImpl * dup() const override
Definition: cdoubleparimpl.h:76