#include <LogicValueAttributes.hpp>
Public Member Functions | |
const LogicValueSharedPtr | getStrongLogicValue () const throw () |
void | setStrongLogicValue (const LogicValueSharedPtr &inSource) throw () |
const LogicValueSharedPtr | getWeakLogicValue () const throw () |
void | setWeakLogicValue (const LogicValueSharedPtr &inSource) throw () |
const Value::MiNoMax | getVoltageMap () const throw () |
void | setVoltageMap (const Value::MiNoMax &value) throw () |
const bool | getIsVoltageMapSet () const throw () |
const Value::MiNoMax | getCurrentMap () const throw () |
void | setCurrentMap (const Value::MiNoMax &value) throw () |
const bool | getIsCurrentMapSet () const throw () |
const Value::Boolean | getBooleanMap () const throw () |
void | setBooleanMap (const Value::Boolean &value) throw () |
const bool | getIsBooleanMapSet () const throw () |
void | getCompoundLogicValues (std::list< LogicValueSharedPtr > &outLogicValues) const throw () |
void | setCompoundLogicValues (const std::list< LogicValueSharedPtr > &inSource) throw (Error) |
void | getDominatedLogicValues (std::list< LogicValueSharedPtr > &outLogicValues) const throw () |
void | setDominatedLogicValues (const std::list< LogicValueSharedPtr > &inSource) throw (Error) |
const bool | getIsIsolated () const throw () |
void | setIsIsolated (const bool &inSource) throw () |
void | getLogicMaps (std::list< LogicMap * > &outLogicMaps) const throw () |
void | setLogicMaps (const std::list< LogicMap * > &inSource) throw () |
void | addLogicMap (LogicMap *&inLogicMap) throw (Error) |
void | getResolvedLogicValues (std::list< LogicValueSharedPtr > &outLogicValues) const throw () |
void | setResolvedLogicValues (const std::list< LogicValueSharedPtr > &inSource) throw () |
LogicValueAttributes (const LogicValueAttributes &source) | |
LogicValueAttributes & | operator= (const LogicValueAttributes &source) throw () |
Private Attributes | |
Value::MiNoMax | mVoltageMap |
bool | mIsVoltageMapSet |
Value::MiNoMax | mCurrentMap |
bool | mIsCurrentMapSet |
Value::Boolean | mBooleanMap |
bool | mIsBooleanMapSet |
std::list< LogicValueSharedPtr > | mCompounds |
LogicValueSharedPtr | mWeak |
LogicValueSharedPtr | mStrong |
std::list< LogicValueSharedPtr > | mDominates |
std::list< LogicMap * > | mLogicMaps |
bool | mIsIsolated |
std::list< LogicValueSharedPtr > | mResolves |
Classes | |
struct | LogicMap |
This structure is for logicRef and libraryRef used in logicMapInput/logicMapOutput. More... |
Definition at line 35 of file LogicValueAttributes.hpp.
const LogicValueSharedPtr torc::generic::LogicValueAttributes::getStrongLogicValue | ( | ) | const throw () [inline] |
Get the logic value, which is used to indicate that the current logic value is stronger than the return logic value.
Definition at line 297 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setStrongLogicValue | ( | const LogicValueSharedPtr & | inSource | ) | throw () |
Set the logic value, which is used to indicate that the current logic value is stronger than this logic value.
[in] | inSource | Pointer to the logic value |
Definition at line 30 of file LogicValueAttributes.cpp.
const LogicValueSharedPtr torc::generic::LogicValueAttributes::getWeakLogicValue | ( | ) | const throw () [inline] |
Get the logic value, which is used to indicate that the current logic value is weaker than this logic value.
Definition at line 308 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setWeakLogicValue | ( | const LogicValueSharedPtr & | inSource | ) | throw () |
Set the logic value, which is used to indicate that the current logic value is weaker than this logic value.
[in] | inSource | Pointer to the logic value |
Definition at line 41 of file LogicValueAttributes.cpp.
const Value::MiNoMax torc::generic::LogicValueAttributes::getVoltageMap | ( | ) | const throw () [inline] |
Get the voltage value for this logic value.
Definition at line 318 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setVoltageMap | ( | const Value::MiNoMax & | value | ) | throw () |
Set the voltage value for this logic value.
[in] | value | Voltage value. Must be Value::MiNoMax |
Definition at line 51 of file LogicValueAttributes.cpp.
const bool torc::generic::LogicValueAttributes::getIsVoltageMapSet | ( | ) | const throw () [inline] |
Get whether this object is defined with a inSource, or is undefined.
Definition at line 328 of file LogicValueAttributes.hpp.
const Value::MiNoMax torc::generic::LogicValueAttributes::getCurrentMap | ( | ) | const throw () [inline] |
Get the current value for this logic value.
Definition at line 338 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setCurrentMap | ( | const Value::MiNoMax & | value | ) | throw () |
Set the current value for this logic value.
[in] | value | Current value. Must be Value::MiNoMax |
Definition at line 62 of file LogicValueAttributes.cpp.
const bool torc::generic::LogicValueAttributes::getIsCurrentMapSet | ( | ) | const throw () [inline] |
Get whether this object is defined with a inSource, or is undefined.
Definition at line 348 of file LogicValueAttributes.hpp.
const Value::Boolean torc::generic::LogicValueAttributes::getBooleanMap | ( | ) | const throw () [inline] |
Get the boolean value(true/false) for this logic value.
Definition at line 358 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setBooleanMap | ( | const Value::Boolean & | value | ) | throw () |
Set the boolean value(true/false) for this logic value.
[in] | value | Boolean value. Must be Value::Boolean |
Definition at line 73 of file LogicValueAttributes.cpp.
const bool torc::generic::LogicValueAttributes::getIsBooleanMapSet | ( | ) | const throw () [inline] |
Get whether this object is defined with a inSource, or is undefined.
Definition at line 368 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::getCompoundLogicValues | ( | std::list< LogicValueSharedPtr > & | outLogicValues | ) | const throw () [inline] |
Get the list of compound logic values for this logic value.
[out] | outLogicValues | List of logic values to be appended to |
Definition at line 378 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setCompoundLogicValues | ( | const std::list< LogicValueSharedPtr > & | inSource | ) | throw (Error) |
Set the list of compound logic values for this logic value.
[in] | inSource | List of logic values to be appended to |
Definition at line 84 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::getDominatedLogicValues | ( | std::list< LogicValueSharedPtr > & | outLogicValues | ) | const throw () [inline] |
Get the list of logic values, which are dominated by the current logic value
[out] | outLogicValues | List of logic values to be appended to |
Definition at line 390 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setDominatedLogicValues | ( | const std::list< LogicValueSharedPtr > & | inSource | ) | throw (Error) |
Set the list of logic values, which are dominated by the current logic value
[in] | inSource | List of logic values to be appended to |
Definition at line 108 of file LogicValueAttributes.cpp.
const bool torc::generic::LogicValueAttributes::getIsIsolated | ( | ) | const throw () [inline] |
Get whether the logic value is isolated or not.
Definition at line 402 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setIsIsolated | ( | const bool & | inSource | ) | throw () |
Set the logic value is isolated or not, default is false
[in] | inSource | bool Whether the logic value is isolated or not. |
Definition at line 132 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::getLogicMaps | ( | std::list< LogicMap * > & | outLogicMaps | ) | const throw () [inline] |
Get the list of logic maps.
[out] | outLogicMaps | List of logic maps to be appended to |
Definition at line 424 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setLogicMaps | ( | const std::list< LogicMap * > & | inSource | ) | throw () |
Set the list of logic maps.
[in] | inSource | List of logic maps to be appended to |
Definition at line 142 of file LogicValueAttributes.cpp.
Add a logic map to the list of logic maps. If an empty pointer is supplied, it returns without doing anything.
[in] | inLogicMap | A pointer to a logic map object. |
Error | Logic map could not be added. |
Definition at line 168 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::getResolvedLogicValues | ( | std::list< LogicValueSharedPtr > & | outLogicValues | ) | const throw () [inline] |
Get the list of logic values, which are resolved by the current logic value
[out] | outLogicValues | List of logic values to be appended to |
Definition at line 412 of file LogicValueAttributes.hpp.
void torc::generic::LogicValueAttributes::setResolvedLogicValues | ( | const std::list< LogicValueSharedPtr > & | inSource | ) | throw () |
Set the list of logic values, which are resolved by the current logic value
[in] | inSource | List of logic values to be appended to |
Definition at line 182 of file LogicValueAttributes.cpp.