cStringParImpl Class Reference
[Internal classes]

A cParImpl subclass that stores a module/channel parameter of the type string. More...

#include <cstringparimpl.h>

Inheritance diagram for cStringParImpl:
cParImpl cNamedObject cObject

List of all members.

Public Member Functions

Constructors, destructor, assignment.

 cStringParImpl ()
 cStringParImpl (const cStringParImpl &other)
virtual ~cStringParImpl ()
void operator= (const cStringParImpl &otherpar)
Redefined cObject member functions

virtual cStringParImpldup () 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 cXMLElementxmlValue (cComponent *context) const
virtual cExpressiongetExpression () 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

Detailed Description

A cParImpl subclass that stores a module/channel parameter of the type string.


Member Function Documentation

virtual void cStringParImpl::setExpression ( cExpression e  )  [virtual]

Sets the value to the given expression.

This object will assume the responsibility to delete the expression object.

Implements cParImpl.

virtual void cStringParImpl::setStringValue ( const char *  s  )  [virtual]

Sets the value to the given string.

NULL is accepted as "".

Implements cParImpl.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:30 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3