16 #ifndef __OMNETPP_CXMLPARIMPL_H 17 #define __OMNETPP_CXMLPARIMPL_H 77 virtual void parsimPack(
cCommBuffer *buffer)
const override;
82 virtual void parsimUnpack(
cCommBuffer *buffer)
override;
91 virtual void setBoolValue(
bool b)
override;
96 virtual void setIntValue(
intpar_t l)
override;
101 virtual void setDoubleValue(
double d)
override;
106 virtual void setStringValue(
const char *s)
override;
111 virtual void setXMLValue(
cXMLElement *node)
override;
117 virtual void setExpression(
cExpression *e)
override;
126 virtual bool boolValue(
cComponent *context)
const override;
136 virtual double doubleValue(
cComponent *context)
const override;
141 virtual const char *stringValue(
cComponent *context)
const override;
146 virtual std::string stdstringValue(
cComponent *context)
const override;
156 virtual cExpression *getExpression()
const override;
165 virtual Type getType()
const override;
170 virtual bool isNumeric()
const override;
180 virtual void convertToConst(
cComponent *context)
override;
185 virtual std::string str()
const override;
190 virtual void parse(
const char *text)
override;
195 virtual int compare(
const cParImpl *other)
const override;
cXMLParImpl(const cXMLParImpl &other)
Definition: cxmlparimpl.h:53
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
Enables traversing the tree of (cObject-rooted) simulation objects.
Definition: cvisitor.h:56
A cParImpl subclass that stores a module/channel parameter of type XML.
Definition: cxmlparimpl.h:28
Definition: cabstracthistogram.h:21
Abstract base class for expression evaluators.
Definition: cexpression.h:33
virtual cXMLParImpl * dup() const override
Definition: cxmlparimpl.h:72
Internal class that stores values for cPar objects.
Definition: cparimpl.h:44