#include <LogicValue.hpp>
Public Types | |
typedef VisitorType< LogicValue > | Visitor |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const LogicValueAttributesSharedPtr | getAttributes () const throw () |
void | setAttributes (const LogicValueAttributesSharedPtr &inSource) throw () |
Private Attributes | |
LogicValueAttributesSharedPtr | mAttributes |
Friends | |
class | FactoryType< LogicValue > |
Classes | |
class | Factory |
Definition at line 44 of file LogicValue.hpp.
Convenience class to visit a LogicValue.
Reimplemented in torc::generic::LogicElement.
Definition at line 61 of file LogicValue.hpp.
void torc::generic::LogicValue::accept | ( | BaseVisitor & | inoutVisitor | ) | throw (Error) [virtual] |
Recive a visitor to this class. The visit method of the visitor is called and a reference to this object is passed as a parameter. It has to be noted however, that a dynamic_cast is performed inside this method. If the cast fails, an appropriate exception is thrown by this method. This sitation can arise when the passed Visitor object does not inherit from the appropriate visitor specialization. See Visitor documentation for more details.
[in,out] | inoutVisitor | A reference to the visitor object |
Error | Visitor type inappropriate for visiting this object or any other error thrown by the Visitor::throw() method. |
Implements torc::generic::Visitable.
Reimplemented in torc::generic::LogicElement.
Definition at line 74 of file LogicValue.cpp.
const LogicValueAttributesSharedPtr torc::generic::LogicValue::getAttributes | ( | ) | const throw () [inline] |
Get the attributes of the LogicValue. Attributes include voltageMap, currentMap, booleanMap, compound, weak, strong, dominates etc.
Definition at line 139 of file LogicValue.hpp.
void torc::generic::LogicValue::setAttributes | ( | const LogicValueAttributesSharedPtr & | inSource | ) | throw () |
Set the attributes of the LogicValue. Attributes include voltageMap, currentMap, booleanMap, compound, weak, strong, dominates etc.
[in] | inSource | Pointer to LogicValueAttributes object. |
Definition at line 68 of file LogicValue.cpp.