Net. More...
#include <struct.h>
Collaboration diagram for RNet:
Public Member Functions | |
RNet (const R::RString &name, RCell *owner) | |
int | Compare (const RNet &net) const |
int | Compare (const R::RString &name) const |
void | InsertRef (const R::RString &port, const R::RString &instance) |
~RNet (void) | |
Private Attributes | |
R::RString | Name |
RCell * | Owner |
R::RContainer< RPortRef, true, false > | Refs |
Detailed Description
Net.
the RNet class provides a representation of a net involving different instance ports.
Constructor & Destructor Documentation
RNet | ( | const R::RString & | name, |
RCell * | owner | ||
) |
Construct a net.
- Parameters
-
name Name of the net. owner Owner of the net.
~RNet | ( | void | ) |
Destructor of the net.
Member Function Documentation
int Compare | ( | const RNet & | net | ) | const |
int Compare | ( | const R::RString & | name | ) | const |
Compare the name of the net with another one.
- Parameters
-
name Name to compare with.
- Returns
- a value compatible with R::RContainer.
void InsertRef | ( | const R::RString & | port, |
const R::RString & | instance | ||
) |
Insert a particular port.
- Parameters
-
port Name of the port. instance Name of the instance.
Member Data Documentation
|
private |
Name of the net.
|
private |
Cell owning the net.
|
private |
Ports involved in the net.