torc-master
|
This class is used within simulationInfo construct to define a logic value to use for modeling. More...
#include <LogicValueAttributes.hpp>
Data Structures | |
struct | LogicMap |
This structure is for logicRef and libraryRef used in logicMapInput/logicMapOutput. More... | |
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 |
This class is used within simulationInfo construct to define a logic value to use for modeling.
Definition at line 34 of file LogicValueAttributes.hpp.
torc::generic::LogicValueAttributes::LogicValueAttributes | ( | ) |
Definition at line 166 of file LogicValueAttributes.cpp.
torc::generic::LogicValueAttributes::~LogicValueAttributes | ( | ) | ||
throw | ( | |||
) |
Definition at line 170 of file LogicValueAttributes.cpp.
torc::generic::LogicValueAttributes::LogicValueAttributes | ( | const LogicValueAttributes & | source | ) |
Definition at line 180 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 142 of file LogicValueAttributes.cpp.
|
inline |
Get the boolean value(true/false) for this logic value.
Definition at line 315 of file LogicValueAttributes.hpp.
|
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 333 of file LogicValueAttributes.hpp.
|
inline |
Get the current value for this logic value.
Definition at line 297 of file LogicValueAttributes.hpp.
|
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 343 of file LogicValueAttributes.hpp.
|
inline |
Get whether this object is defined with a inSource, or is undefined.
Definition at line 324 of file LogicValueAttributes.hpp.
|
inline |
Get whether this object is defined with a inSource, or is undefined.
Definition at line 306 of file LogicValueAttributes.hpp.
|
inline |
Get whether the logic value is isolated or not.
Definition at line 353 of file LogicValueAttributes.hpp.
|
inline |
Get whether this object is defined with a inSource, or is undefined.
Definition at line 288 of file LogicValueAttributes.hpp.
|
inline |
Get the list of logic maps.
[out] | outLogicMaps | List of logic maps to be appended to |
Definition at line 372 of file LogicValueAttributes.hpp.
|
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 362 of file LogicValueAttributes.hpp.
|
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 260 of file LogicValueAttributes.hpp.
|
inline |
Get the voltage value for this logic value.
Definition at line 279 of file LogicValueAttributes.hpp.
|
inline |
Get the logic value, which is used to indicate that the current logic value is weaker than this logic value.
Definition at line 270 of file LogicValueAttributes.hpp.
LogicValueAttributes & torc::generic::LogicValueAttributes::operator= | ( | const LogicValueAttributes & | source | ) |
Definition at line 188 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setBooleanMap | ( | const Value::Boolean & | value | ) |
Set the boolean value(true/false) for this logic value.
[in] | value | Boolean value. Must be Value::Boolean |
Definition at line 67 of file LogicValueAttributes.cpp.
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 77 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setCurrentMap | ( | const Value::MiNoMax & | value | ) |
Set the current value for this logic value.
[in] | value | Current value. Must be Value::MiNoMax |
Definition at line 57 of file LogicValueAttributes.cpp.
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 95 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setIsIsolated | ( | const bool & | inSource | ) |
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 113 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setLogicMaps | ( | const std::list< LogicMap * > & | inSource | ) |
Set the list of logic maps.
[in] | inSource | List of logic maps to be appended to |
Definition at line 122 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setResolvedLogicValues | ( | const std::list< LogicValueSharedPtr > & | inSource | ) |
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 154 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setStrongLogicValue | ( | const LogicValueSharedPtr & | inSource | ) |
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 28 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setVoltageMap | ( | const Value::MiNoMax & | value | ) |
Set the voltage value for this logic value.
[in] | value | Voltage value. Must be Value::MiNoMax |
Definition at line 47 of file LogicValueAttributes.cpp.
void torc::generic::LogicValueAttributes::setWeakLogicValue | ( | const LogicValueSharedPtr & | inSource | ) |
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 38 of file LogicValueAttributes.cpp.
|
private |
Definition at line 242 of file LogicValueAttributes.hpp.
|
private |
Definition at line 244 of file LogicValueAttributes.hpp.
|
private |
Definition at line 240 of file LogicValueAttributes.hpp.
|
private |
Definition at line 247 of file LogicValueAttributes.hpp.
|
private |
Definition at line 243 of file LogicValueAttributes.hpp.
|
private |
Definition at line 241 of file LogicValueAttributes.hpp.
|
private |
Definition at line 249 of file LogicValueAttributes.hpp.
|
private |
Definition at line 239 of file LogicValueAttributes.hpp.
|
private |
Definition at line 248 of file LogicValueAttributes.hpp.
|
private |
Definition at line 250 of file LogicValueAttributes.hpp.
|
private |
Definition at line 246 of file LogicValueAttributes.hpp.
|
private |
Definition at line 238 of file LogicValueAttributes.hpp.
|
private |
Definition at line 245 of file LogicValueAttributes.hpp.