Cell Port. More...
#include <struct.h>
Collaboration diagram for RPort:
Public Member Functions | |
RPort (const R::RString &name, char dir) | |
int | Compare (const RPort &port) const |
int | Compare (const R::RString &name) const |
R::RString | GetName (void) const |
Private Attributes | |
R::RString | Name |
RCell * | Owner |
char | Dir |
Detailed Description
Cell Port.
The RPort class provides a representation for a port of a given cell.
Constructor & Destructor Documentation
RPort | ( | const R::RString & | name, |
char | dir | ||
) |
Constructor of the cell.
- Parameters
-
name Name of the port. dir Direction of the port.
Member Function Documentation
int Compare | ( | const RPort & | port | ) | const |
Compare two ports.
- Parameters
-
port Port to compare with.
- Returns
- a value compatible with R::RContainer.
int Compare | ( | const R::RString & | name | ) | const |
Compare the name of a port with a given name.
- Parameters
-
name Name to compare with.
- Returns
- a value compatible with R::RContainer.
R::RString GetName | ( | void | ) | const |
- Returns
- the name of the port.
Member Data Documentation
|
private |
Name of the port.
|
private |
Cell owning the port.
|
private |
Direction of the port.