OMNeT++ Simulation Library
6.0.3
|
16 #ifndef __OMNETPP_CXMLPARIMPL_H
17 #define __OMNETPP_CXMLPARIMPL_H
82 virtual void setBoolValue(
bool b)
override;
87 virtual void setIntValue(
intval_t l)
override;
92 virtual void setDoubleValue(
double d)
override;
97 virtual void setStringValue(
const char *s)
override;
102 virtual void setObjectValue(
cObject *
object)
override;
107 virtual void setXMLValue(
cXMLElement *node)
override;
113 virtual void setExpression(
cExpression *e)
override;
122 virtual bool boolValue(
cComponent *context)
const override;
132 virtual double doubleValue(
cComponent *context)
const override;
137 virtual const char *stringValue(
cComponent *context)
const override;
142 virtual std::string stdstringValue(
cComponent *context)
const override;
157 virtual cExpression *getExpression()
const override;
166 virtual Type getType()
const override;
171 virtual bool isNumeric()
const override;
181 virtual void convertToConst(
cComponent *context)
override;
186 virtual std::string str()
const override;
191 virtual void parse(
const char *text,
FileLine loc)
override;
196 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
A cParImpl subclass that stores a module/channel parameter of type XML.
Definition: cxmlparimpl.h:29
Enables traversing the tree of (cObject-rooted) simulation objects.
Definition: cvisitor.h:56
cXMLParImpl(const cXMLParImpl &other)
Definition: cxmlparimpl.h:54
virtual cXMLParImpl * dup() const override
Definition: cxmlparimpl.h:73
Definition: fileline.h:27
cXMLParImpl()
Definition: cxmlparimpl.h:49
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