|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_COBJECTPARIMPL_H
17 #define __OMNETPP_COBJECTPARIMPL_H
23 class cTemporaryOwner;
54 virtual void doSetObject(
cObject *
object);
55 virtual void checkType(
cObject *
object)
const;
56 virtual void checkOwnership(
cObject *obj, cTemporaryOwner& tmp)
const;
98 virtual void setBoolValue(
bool b)
override;
103 virtual void setIntValue(
intval_t l)
override;
108 virtual void setDoubleValue(
double d)
override;
113 virtual void setStringValue(
const char *s)
override;
118 virtual void setObjectValue(
cObject *
object)
override;
123 virtual void setXMLValue(
cXMLElement *node)
override;
129 virtual void setExpression(
cExpression *e)
override;
138 virtual bool boolValue(
cComponent *context)
const override;
148 virtual double doubleValue(
cComponent *context)
const override;
153 virtual const char *stringValue(
cComponent *context)
const override;
158 virtual std::string stdstringValue(
cComponent *context)
const override;
173 virtual cExpression *getExpression()
const override;
182 virtual Type getType()
const override;
187 virtual bool isNumeric()
const override;
192 virtual void setExpectedType(
const char *s);
201 virtual void convertToConst(
cComponent *context)
override;
206 virtual std::string str()
const override;
211 virtual void parse(
const char *text,
FileLine loc)
override;
216 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
virtual cObjectParImpl * dup() const override
Definition: cobjectparimpl.h:89
Abstract base class for expression evaluators.
Definition: cexpression.h:33
Enables traversing the tree of (cObject-rooted) simulation objects.
Definition: cvisitor.h:56
Definition: fileline.h:27
Definition: opp_pooledstring.h:29
A cParImpl subclass that stores a module/channel parameter of type "object".
Definition: cobjectparimpl.h:40
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
cObjectParImpl()
Definition: cobjectparimpl.h:65
cObjectParImpl(const cObjectParImpl &other)
Definition: cobjectparimpl.h:70