16 #ifndef __OMNETPP_CINTPARIMPL_H 17 #define __OMNETPP_CINTPARIMPL_H 79 virtual void parsimPack(
cCommBuffer *buffer)
const override;
84 virtual void parsimUnpack(
cCommBuffer *buffer)
override;
93 virtual void setBoolValue(
bool b)
override;
98 virtual void setIntValue(
intpar_t l)
override;
103 virtual void setDoubleValue(
double d)
override;
108 virtual void setStringValue(
const char *s)
override;
113 virtual void setXMLValue(
cXMLElement *node)
override;
119 virtual void setExpression(
cExpression *e)
override;
128 virtual bool boolValue(
cComponent *context)
const override;
138 virtual double doubleValue(
cComponent *context)
const override;
143 virtual const char *stringValue(
cComponent *context)
const override;
148 virtual std::string stdstringValue(
cComponent *context)
const override;
158 virtual cExpression *getExpression()
const override;
167 virtual Type getType()
const override;
172 virtual bool isNumeric()
const override;
182 virtual void convertToConst(
cComponent *context)
override;
187 virtual std::string str()
const override;
192 virtual void parse(
const char *text)
override;
197 virtual int compare(
const cParImpl *other)
const override;
Common base for module and channel classes.
Definition: ccomponent.h:48
cIntParImpl(const cIntParImpl &other)
Definition: cintparimpl.h:55
virtual cIntParImpl * dup() const override
Definition: cintparimpl.h:74
Represents an XML element in an XML configuration file.
Definition: cxmlelement.h:73
A cParImpl subclass that stores an integer module/channel parameter.
Definition: cintparimpl.h:28
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
Definition: cabstracthistogram.h:21
Abstract base class for expression evaluators.
Definition: cexpression.h:33
Internal class that stores values for cPar objects.
Definition: cparimpl.h:44