|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_CINTPARIMPL_H
17 #define __OMNETPP_CINTPARIMPL_H
42 void deleteOld() {cParImpl::deleteOld(expr);}
84 virtual void setBoolValue(
bool b)
override;
89 virtual void setIntValue(
intval_t l)
override;
94 virtual void setDoubleValue(
double d)
override;
99 virtual void setStringValue(
const char *s)
override;
104 virtual void setObjectValue(
cObject *
object)
override;
109 virtual void setXMLValue(
cXMLElement *node)
override;
115 virtual void setExpression(
cExpression *e)
override;
124 virtual bool boolValue(
cComponent *context)
const override;
134 virtual double doubleValue(
cComponent *context)
const override;
139 virtual const char *stringValue(
cComponent *context)
const override;
144 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,
FileLine loc)
override;
198 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 an integer module/channel parameter.
Definition: cintparimpl.h:29
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
virtual cIntParImpl * dup() const override
Definition: cintparimpl.h:75
cIntParImpl(const cIntParImpl &other)
Definition: cintparimpl.h:56