torc::generic::LogicValueAttributes Class Reference

This class is used within simulationInfo construct to define a logic value to use for modeling. More...

#include <LogicValueAttributes.hpp>

Collaboration diagram for torc::generic::LogicValueAttributes:

Collaboration graph
[legend]

List of all members.

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)
LogicValueAttributesoperator= (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...


Detailed Description

This class is used within simulationInfo construct to define a logic value to use for modeling.

Definition at line 35 of file LogicValueAttributes.hpp.


Member Function Documentation

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.

Returns:
Pointer to the 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.

Parameters:
[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.

Returns:
Pointer to the 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.

Parameters:
[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.

Returns:
Value containing Value::MiNoMax

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.

Parameters:
[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.

Returns:
True if initialized.

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.

Returns:
Value containing Value::MiNoMax

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.

Parameters:
[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.

Returns:
True if initialized.

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.

Returns:
Value containing Value::Boolean

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.

Parameters:
[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.

Returns:
True if initialized.

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.

Parameters:
[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.

Parameters:
[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

Parameters:
[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

Parameters:
[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.

Returns:
bool 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

Parameters:
[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.

Parameters:
[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.

Parameters:
[in] inSource List of logic maps to be appended to

Definition at line 142 of file LogicValueAttributes.cpp.

void torc::generic::LogicValueAttributes::addLogicMap ( LogicMap *&  inLogicMap  )  throw (Error)

Add a logic map to the list of logic maps. If an empty pointer is supplied, it returns without doing anything.

Parameters:
[in] inLogicMap A pointer to a logic map object.
Exceptions:
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

Parameters:
[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

Parameters:
[in] inSource List of logic values to be appended to

Definition at line 182 of file LogicValueAttributes.cpp.


The documentation for this class was generated from the following files:

Generated on Thu Oct 13 16:50:09 2011 for TORC by  doxygen 1.5.6