vrq

CNet Class Reference

Declaration object for net types:

More...

#include <cnet.h>

Inheritance diagram for CNet:
CDecl CObject

List of all members.

Public Member Functions

 CNet (CSymbol *symbol, Coord_t *aLoc, Decl_t type, int undefined)
 Create a net declaration.
 CNet (const CNet &net)
 Create a net and copy contents from the given net.
void PortDir (CPortDir *p)
 Set portdir associated with net.
CPortDirPortDir ()
 Get portdir associated with net.
void SetDelay (CNode *aExp)
 Set net delay.
CNodeGetDelay (void)
 Get net delay.
int GetUndefined (void)
 Get undefined attribute.
void SetUndefined (int value)
 Set undefined attribute.
StrengthPair_t GetStrength ()
 Get drive strength.
void SetStrength (StrengthPair_t s)
 Set drive strength.
virtual void SetVectored (int v)
 Set vectored attribute.
virtual int GetVectored ()
 Get vectored attribute.
virtual void SetScalared (int v)
 Set scalared attribute.
virtual int GetScalared ()
 Get scalared attribute.
virtual void Dump (FILE *f)
 Dump net info to file descriptor.
virtual NodeType_t GetNodeType (void)
 Get node type.

Detailed Description

Declaration object for net types:


Constructor & Destructor Documentation

CNet::CNet ( CSymbol symbol,
Coord_t aLoc,
Decl_t  type,
int  undefined 
)

Create a net declaration.

Parameters:
symbol declaration name.
aLoc file descriptor.
type declaration type.
undefined non-zero if net is not explicitly defined in source.
CNet::CNet ( const CNet net  ) 

Create a net and copy contents from the given net.

Parameters:
net net declaration to copy.

Member Function Documentation

virtual void CNet::Dump ( FILE *  f  )  [virtual]

Dump net info to file descriptor.

Parameters:
f file descriptor.

Reimplemented from CDecl.

CNode* CNet::GetDelay ( void   )  [inline]

Get net delay.

Returns:
net delay expression.
virtual NodeType_t CNet::GetNodeType ( void   )  [inline, virtual]

Get node type.

Returns:
node type.

Reimplemented from CDecl.

virtual int CNet::GetScalared (  )  [inline, virtual]

Get scalared attribute.

Returns:
non-zero if net is scalared.

Reimplemented from CDecl.

StrengthPair_t CNet::GetStrength (  )  [inline]

Get drive strength.

Returns:
drive strength.
int CNet::GetUndefined ( void   )  [inline]

Get undefined attribute.

Returns:
non-zero if net is undeclared in source code.
virtual int CNet::GetVectored (  )  [inline, virtual]

Get vectored attribute.

Returns:
non-zero if net is vectored.

Reimplemented from CDecl.

CPortDir* CNet::PortDir (  )  [inline]

Get portdir associated with net.

Returns:
portdir associated with net.
void CNet::PortDir ( CPortDir p  )  [inline]

Set portdir associated with net.

Parameters:
p to associate with net.
void CNet::SetDelay ( CNode aExp  )  [inline]

Set net delay.

Parameters:
aExp net delay expression.
virtual void CNet::SetScalared ( int  v  )  [inline, virtual]

Set scalared attribute.

Parameters:
v non-zero if net is scalared.

Reimplemented from CDecl.

void CNet::SetStrength ( StrengthPair_t  s  )  [inline]

Set drive strength.

Parameters:
s drive strength.
void CNet::SetUndefined ( int  value  )  [inline]

Set undefined attribute.

Parameters:
value non-zero if net is undeclared in source code.
virtual void CNet::SetVectored ( int  v  )  [inline, virtual]

Set vectored attribute.

Parameters:
v non-zero if net is vectored.

Reimplemented from CDecl.


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

Generated on 16 Oct 2009 for vrq by  doxygen 1.6.1