|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_CBOOLPARIMPL_H
17 #define __OMNETPP_CBOOLPARIMPL_H
43 void deleteOld() {cParImpl::deleteOld(expr);}
85 virtual void setBoolValue(
bool b)
override;
90 virtual void setIntValue(
intval_t l)
override;
95 virtual void setDoubleValue(
double d)
override;
100 virtual void setStringValue(
const char *s)
override;
105 virtual void setObjectValue(
cObject *
object)
override;
110 virtual void setXMLValue(
cXMLElement *node)
override;
116 virtual void setExpression(
cExpression *e)
override;
125 virtual bool boolValue(
cComponent *context)
const override;
135 virtual double doubleValue(
cComponent *context)
const override;
140 virtual const char *stringValue(
cComponent *context)
const override;
145 virtual std::string stdstringValue(
cComponent *context)
const override;
160 virtual cExpression *getExpression()
const override;
169 virtual Type getType()
const override;
174 virtual bool isNumeric()
const override;
184 virtual void convertToConst(
cComponent *context)
override;
189 virtual std::string str()
const override;
194 virtual void parse(
const char *text,
FileLine loc)
override;
199 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
Definition: fileline.h:27
A cParImpl subclass that stores a module/channel parameter of the type bool.
Definition: cboolparimpl.h:30
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
cBoolParImpl(const cBoolParImpl &other)
Definition: cboolparimpl.h:57
virtual cBoolParImpl * dup() const override
Definition: cboolparimpl.h:76