A cParImpl subclass that stores a module/channel parameter of the type long. More...
#include <clongparimpl.h>
Public Member Functions | |
Constructors, destructor, assignment. | |
cLongParImpl () | |
cLongParImpl (const cLongParImpl &other) | |
virtual | ~cLongParImpl () |
void | operator= (const cLongParImpl &otherpar) |
Redefined cObject member functions | |
virtual cLongParImpl * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) |
virtual void | parsimUnpack (cCommBuffer *buffer) |
Redefined cParImpl setter functions. | |
virtual void | setBoolValue (bool b) |
virtual void | setLongValue (long l) |
virtual void | setDoubleValue (double d) |
virtual void | setStringValue (const char *s) |
virtual void | setXMLValue (cXMLElement *node) |
virtual void | setExpression (cExpression *e) |
Redefined cParImpl getter functions. | |
virtual bool | boolValue (cComponent *context) const |
virtual long | longValue (cComponent *context) const |
virtual double | doubleValue (cComponent *context) const |
virtual const char * | stringValue (cComponent *context) const |
virtual std::string | stdstringValue (cComponent *context) const |
virtual cXMLElement * | xmlValue (cComponent *context) const |
virtual cExpression * | getExpression () const |
Type, prompt text, input flag, change flag. | |
virtual Type | getType () const |
virtual bool | isNumeric () const |
Redefined cParImpl misc functions. | |
virtual void | convertToConst (cComponent *context) |
virtual std::string | str () const |
virtual void | parse (const char *text) |
virtual int | compare (const cParImpl *other) const |
A cParImpl subclass that stores a module/channel parameter of the type long.
virtual void cLongParImpl::setExpression | ( | cExpression * | e | ) | [virtual] |
Sets the value to the given expression.
This object will assume the responsibility to delete the expression object.
Implements cParImpl.