16 #ifndef __OMNETPP_CBOOLPARIMPL_H 17 #define __OMNETPP_CBOOLPARIMPL_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
virtual cBoolParImpl * dup() const override
Definition: cboolparimpl.h:75
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
A cParImpl subclass that stores a module/channel parameter of the type bool.
Definition: cboolparimpl.h:29
Definition: cabstracthistogram.h:21
cBoolParImpl(const cBoolParImpl &other)
Definition: cboolparimpl.h:56
Abstract base class for expression evaluators.
Definition: cexpression.h:33
Internal class that stores values for cPar objects.
Definition: cparimpl.h:44