Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

DLogic Class Reference

#include <DLogic.h>

Collaboration diagram for DLogic:

Collaboration graph
[legend]
List of all members.

Public Methods

 DLogic ()
 DLogic (const DLogic &objref)
 DLogic (const string &estr)
 DLogic (const int ival)
short GetInt () const DLogic_THROW_DECL
bool valid () const
DLogic & operator= (const DLogic &objref)
bool operator== (const DLogic &objref) const DLogic_THROW_DECL
bool operator!= (const DLogic &objref) const DLogic_THROW_DECL
bool operator< (const DLogic &objref) const DLogic_THROW_DECL
bool operator<= (const DLogic &objref) const DLogic_THROW_DECL
bool operator> (const DLogic &objref) const DLogic_THROW_DECL
bool operator>= (const DLogic &objref) const DLogic_THROW_DECL
DLogic operator++ ()
DLogic operator++ (int)
DLogic operator-- ()
DLogic operator-- (int)
const char * GetLabel () const
string GetString () const
const DLogic & operator && (const DLogic &rhs) const
const DLogic & operator|| (const DLogic &rhs) const
const DLogic & operator! () const

Static Public Methods

DLogic first ()
DLogic last ()
int count ()

Static Public Attributes

const DLogic ZERO
const DLogic ONE
const DLogic D
const DLogic _D
const DLogic X
const DLogic _UNDEFINED
const DLogic DLogicAnd [5][5]
const DLogic DLogicOr [5][5]
const DLogic DLogicNot [5] = {ONE,ZERO,_D,D,X}

Friends

OSTREAMoperator<< (OSTREAM &ostr, const DLogic &objref)
ISTREAMoperator>> (ISTREAM &ostr, DLogic &objref)

Constructor & Destructor Documentation

DLogic::DLogic   [inline]
 

Definition at line 59 of file DLogic.h.

References m_defPtr.

DLogic::DLogic const DLogic &    objref [inline]
 

Definition at line 62 of file DLogic.h.

References m_defPtr.

DLogic::DLogic const string &    estr [explicit]
 

Definition at line 57 of file DLogic.cpp.

References _UNDEFINED, and m_defPtr.

DLogic::DLogic const int    ival [explicit]
 

Definition at line 68 of file DLogic.cpp.

References _UNDEFINED, and m_defPtr.


Member Function Documentation

int DLogic::count   [inline, static]
 

Definition at line 140 of file DLogic.h.

DLogic DLogic::first   [inline, static]
 

Definition at line 138 of file DLogic.h.

short DLogic::GetInt   const [inline]
 

Definition at line 69 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

const char * DLogic::GetLabel   const
 

Definition at line 79 of file DLogic.cpp.

References _UNDEFINED, and m_defPtr.

string DLogic::GetString   const
 

Definition at line 92 of file DLogic.cpp.

References _UNDEFINED, and m_defPtr.

Referenced by operator<<(), RunGraph< GraphType >::propagateChange(), and setOutputEdges().

DLogic DLogic::last   [inline, static]
 

Definition at line 139 of file DLogic.h.

const DLogic& DLogic::operator && const DLogic &    rhs const [inline]
 

Definition at line 128 of file DLogic.h.

References DLogicAnd, and m_defPtr.

const DLogic& DLogic::operator!   const [inline]
 

Definition at line 134 of file DLogic.h.

References DLogicNot.

bool DLogic::operator!= const DLogic &    objref const [inline]
 

Definition at line 89 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

DLogic DLogic::operator++ int   
 

Definition at line 110 of file DLogic.cpp.

References operator++().

DLogic DLogic::operator++  
 

Definition at line 100 of file DLogic.cpp.

References _UNDEFINED, and m_defPtr.

Referenced by operator++().

DLogic DLogic::operator-- int   
 

Definition at line 130 of file DLogic.cpp.

References operator--().

DLogic DLogic::operator--  
 

Definition at line 117 of file DLogic.cpp.

References _UNDEFINED, and m_defPtr.

Referenced by operator--().

bool DLogic::operator< const DLogic &    objref const [inline]
 

Definition at line 95 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

bool DLogic::operator<= const DLogic &    objref const [inline]
 

Definition at line 101 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

DLogic& DLogic::operator= const DLogic &    objref [inline]
 

Definition at line 78 of file DLogic.h.

References m_defPtr.

bool DLogic::operator== const DLogic &    objref const [inline]
 

Definition at line 83 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

bool DLogic::operator> const DLogic &    objref const [inline]
 

Definition at line 107 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

bool DLogic::operator>= const DLogic &    objref const [inline]
 

Definition at line 113 of file DLogic.h.

References DLogic_THROW_DECL, DLogic_THROW_EXEC, and m_defPtr.

const DLogic& DLogic::operator|| const DLogic &    rhs const [inline]
 

Definition at line 131 of file DLogic.h.

References DLogicOr, and m_defPtr.

bool DLogic::valid   const [inline]
 

Definition at line 75 of file DLogic.h.

References m_defPtr.


Friends And Related Function Documentation

OSTREAM& operator<< OSTREAM   ostr,
const DLogic &    objref
[friend]
 

Definition at line 137 of file DLogic.cpp.

ISTREAM& operator>> ISTREAM   istr,
DLogic &    objref
[friend]
 

Definition at line 143 of file DLogic.cpp.


Member Data Documentation

const DLogic DLogic::_D [static]
 

Referenced by DPassable(), isDTypeFunctor::operator()(), and RunGraph< GraphType >::processOutput().

const DLogic DLogic::_UNDEFINED [static]
 

Referenced by DLogic(), GetLabel(), GetString(), operator++(), and operator--().

const DLogic DLogic::D [static]
 

Referenced by DPassable(), isDTypeFunctor::operator()(), and RunGraph< GraphType >::processOutput().

const DLogic DLogic::DLogicAnd [static]
 

Initial value:

{ {ZERO,ZERO,ZERO,ZERO,ZERO},
                                        {ZERO,ONE ,D   ,_D  ,X},
                                        {ZERO,D   ,ZERO,ZERO,X},
                                        {ZERO,_D  ,ZERO,_D  ,X},
                                        {ZERO,X   ,X   ,X   ,X},
                                        }

Definition at line 38 of file DLogic.cpp.

Referenced by operator &&().

const DLogic DLogic::DLogicNot = {ONE,ZERO,_D,D,X} [static]
 

Definition at line 50 of file DLogic.cpp.

Referenced by operator!().

const DLogic DLogic::DLogicOr [static]
 

Initial value:

{  {ZERO,ONE ,D   ,_D  ,X},
                                        {ONE ,ONE ,ONE ,ONE ,ONE},
                                        {D   ,ONE ,D   ,ONE ,X},
                                        {_D  ,ONE ,ONE ,_D  ,X},
                                        {X   ,ONE ,X   ,X   ,X},
                                        }

Definition at line 44 of file DLogic.cpp.

Referenced by operator||().

const DLogic DLogic::ONE [static]
 

const DLogic DLogic::X [static]
 

Referenced by isXTypeFunctor::operator()(), RunGraph< GraphType >::processOutput(), and RunGraph< GraphType >::propagateChange().

const DLogic DLogic::ZERO [static]
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 20 11:54:40 2003 for ATPG by doxygen1.3-rc1