oaNetTermPair Class Template Reference


Public Methods

 oaNetTermPair ()
const NetType getNet () const
const TermType & getTerm () const
TermType & getTerm ()
void setNet (const NetType &netIn)
void setTerm (const TermType &termIn)
oaUInt4 getNumBits () const
oaBoolean isMultiBit () const
oaBoolean operator== (const oaNetTermPair< NetType, TermType > &val) const
oaBoolean operator!= (const oaNetTermPair< NetType, TermType > &val) const

Detailed Description

template<class NetType, class TermType>
class oaNetTermPair< NetType, TermType >

The oaNetTermPair template class is only intended for use in the context of an oaNetTermArray.


Constructor & Destructor Documentation

template<class NetType, class TermType>
oaNetTermPair< NetType, TermType >::oaNetTermPair   [inline]
 


Member Function Documentation

template<class NetType, class TermType>
const NetType oaNetTermPair< NetType, TermType >::getNet   const [inline]
 

This function returns the net data members as a constant.

template<class NetType, class TermType>
oaUInt4 oaNetTermPair< NetType, TermType >::getNumBits   const [inline]
 

This function returns the number of bits in the connection specification.

template<class NetType, class TermType>
TermType & oaNetTermPair< NetType, TermType >::getTerm   [inline]
 

This function returns the term data members.

template<class NetType, class TermType>
const TermType & oaNetTermPair< NetType, TermType >::getTerm   const [inline]
 

This function returns the term data members as a constant.

template<class NetType, class TermType>
oaBoolean oaNetTermPair< NetType, TermType >::isMultiBit   const [inline]
 

This function returns true if the term specification is multi-bit.

template<class NetType, class TermType>
oaBoolean oaNetTermPair< NetType, TermType >::operator!= const oaNetTermPair< NetType, TermType > &    val const [inline]
 

This is the inequality operator for the oaNetTermPair class.

Parameters:
val The oaNetTermPair object to compare

template<class NetType, class TermType>
oaBoolean oaNetTermPair< NetType, TermType >::operator== const oaNetTermPair< NetType, TermType > &    val const [inline]
 

This is the equality operator for the oaNetTermPair class.

Parameters:
val The oaNetTermPair object to compare

template<class NetType, class TermType>
void oaNetTermPair< NetType, TermType >::setNet const NetType &    netIn [inline]
 

This function sets a net data member.

Parameters:
netIn A reference to the net data member to set.

template<class NetType, class TermType>
void oaNetTermPair< NetType, TermType >::setTerm const TermType &    termIn [inline]
 

This function sets a term data member.

Parameters:
termIn A reference to the term data member to set.


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

Return to top of page