#include <cboolparimpl.h>
List of all members.
Detailed Description
A
cParImpl subclass that stores a module/channel parameter of the type bool.
Constructor & Destructor Documentation
| cBoolParImpl::cBoolParImpl |
( |
|
) |
[explicit] |
| cBoolParImpl::cBoolParImpl |
( |
const cBoolParImpl & |
other |
) |
[inline] |
| virtual cBoolParImpl::~cBoolParImpl |
( |
|
) |
[virtual] |
Member Function Documentation
| void cBoolParImpl::operator= |
( |
const cBoolParImpl & |
otherpar |
) |
|
| virtual cBoolParImpl* cBoolParImpl::dup |
( |
|
) |
const [inline, virtual] |
Creates and returns an exact copy of this object.
Reimplemented from cParImpl.
| virtual void cBoolParImpl::parsimPack |
( |
cCommBuffer * |
buffer |
) |
[virtual] |
Serializes the object into a buffer.
Reimplemented from cParImpl.
| virtual void cBoolParImpl::parsimUnpack |
( |
cCommBuffer * |
buffer |
) |
[virtual] |
Deserializes the object from a buffer.
Reimplemented from cParImpl.
| virtual void cBoolParImpl::setBoolValue |
( |
bool |
b |
) |
[virtual] |
Sets the value to the given constant.
Implements cParImpl.
| virtual void cBoolParImpl::setLongValue |
( |
long |
l |
) |
[virtual] |
Raises an error: cannot convert long to bool.
Implements cParImpl.
| virtual void cBoolParImpl::setDoubleValue |
( |
double |
d |
) |
[virtual] |
Raises an error: cannot convert double to bool.
Implements cParImpl.
| virtual void cBoolParImpl::setStringValue |
( |
const char * |
s |
) |
[virtual] |
Raises an error: cannot convert string to bool.
Implements cParImpl.
| virtual void cBoolParImpl::setXMLValue |
( |
cXMLElement * |
node |
) |
[virtual] |
Raises an error: cannot convert XML to bool.
Implements cParImpl.
| virtual void cBoolParImpl::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 bool cBoolParImpl::boolValue |
( |
cComponent * |
context |
) |
const [virtual] |
Returns the value of the parameter.
Implements cParImpl.
| virtual long cBoolParImpl::longValue |
( |
cComponent * |
context |
) |
const [virtual] |
Raises an error: cannot convert bool to long.
Implements cParImpl.
| virtual double cBoolParImpl::doubleValue |
( |
cComponent * |
context |
) |
const [virtual] |
Raises an error: cannot convert bool to double.
Implements cParImpl.
| virtual const char* cBoolParImpl::stringValue |
( |
cComponent * |
context |
) |
const [virtual] |
Raises an error: cannot convert bool to string.
Implements cParImpl.
| virtual std::string cBoolParImpl::stdstringValue |
( |
cComponent * |
context |
) |
const [virtual] |
Raises an error: cannot convert bool to string.
Implements cParImpl.
Raises an error: cannot convert bool to XML.
Implements cParImpl.
| virtual cExpression* cBoolParImpl::getExpression |
( |
|
) |
const [virtual] |
Returns pointer to the expression stored by the object, or NULL.
Implements cParImpl.
| virtual Type cBoolParImpl::getType |
( |
|
) |
const [virtual] |
| virtual bool cBoolParImpl::isNumeric |
( |
|
) |
const [virtual] |
| virtual void cBoolParImpl::convertToConst |
( |
cComponent * |
context |
) |
[virtual] |
Replaces for non-const values, replaces the stored expression with its evaluation.
Implements cParImpl.
| virtual std::string cBoolParImpl::str |
( |
|
) |
const [virtual] |
Returns the value in text form.
Implements cParImpl.
| virtual void cBoolParImpl::parse |
( |
const char * |
text |
) |
[virtual] |
Converts from text.
Implements cParImpl.
| virtual int cBoolParImpl::compare |
( |
const cParImpl * |
other |
) |
const [virtual] |
Object comparison.
Reimplemented from cParImpl.
The documentation for this class was generated from the following file: