16 #ifndef __OMNETPP_CDOUBLEPARIMPL_H 17 #define __OMNETPP_CDOUBLEPARIMPL_H 80 virtual void parsimPack(
cCommBuffer *buffer)
const override;
85 virtual void parsimUnpack(
cCommBuffer *buffer)
override;
94 virtual void setBoolValue(
bool b)
override;
99 virtual void setIntValue(
intpar_t l)
override;
104 virtual void setDoubleValue(
double d)
override;
109 virtual void setStringValue(
const char *s)
override;
114 virtual void setXMLValue(
cXMLElement *node)
override;
120 virtual void setExpression(
cExpression *e)
override;
129 virtual bool boolValue(
cComponent *context)
const override;
139 virtual double doubleValue(
cComponent *context)
const override;
144 virtual const char *stringValue(
cComponent *context)
const override;
149 virtual std::string stdstringValue(
cComponent *context)
const override;
159 virtual cExpression *getExpression()
const override;
168 virtual Type getType()
const override;
173 virtual bool isNumeric()
const override;
183 virtual void convertToConst(
cComponent *context)
override;
188 virtual std::string str()
const override;
193 virtual void parse(
const char *text)
override;
198 virtual int compare(
const cParImpl *other)
const override;
Common base for module and channel classes.
Definition: ccomponent.h:48
Represents an XML element in an XML configuration file.
Definition: cxmlelement.h:73
int64_t intpar_t
Type for NED parameter values that store integers. It is guaranteed to be signed and at least as wide...
Definition: simkerneldefs.h:86
Buffer for the communications layer of parallel simulation.
Definition: ccommbuffer.h:41
cDoubleParImpl(const cDoubleParImpl &other)
Definition: cdoubleparimpl.h:56
Definition: cabstracthistogram.h:21
A cParImpl subclass that stores a module/channel parameter of the type double.
Definition: cdoubleparimpl.h:29
virtual cDoubleParImpl * dup() const override
Definition: cdoubleparimpl.h:75
Abstract base class for expression evaluators.
Definition: cexpression.h:33
Internal class that stores values for cPar objects.
Definition: cparimpl.h:44