Cell Instance. More...
#include <struct.h>
Collaboration diagram for RInstance:
Public Member Functions | |
RInstance (const R::RString &name) | |
RInstance (const R::RString &name, RCell *cell) | |
int | Compare (const RInstance &inst) const |
int | Compare (const R::RString &name) const |
R::RString | GetName (void) const |
RCell * | GetCell (void) const |
Private Attributes | |
RCell * | Cell |
R::RContainer< RPortRef, true, true > * | PortRefs |
R::RString | Name |
Detailed Description
Cell Instance.
The RInstance class provides a representation for an instance of a cell.
Constructor & Destructor Documentation
RInstance | ( | const R::RString & | name | ) |
Constructor of the instance.
- Parameters
-
name Name of the instance.
RInstance | ( | const R::RString & | name, |
RCell * | cell | ||
) |
Constructor of the instance.
- Parameters
-
name Name of the instance. cell Cell owning the instance.
Member Function Documentation
int Compare | ( | const RInstance & | inst | ) | const |
Compare two instances.
- Parameters
-
inst Instance to compare with.
- Returns
- a value compatible with R::RContainer.
int Compare | ( | const R::RString & | name | ) | const |
Compare the name of an instance with another one.
- Parameters
-
name Name to compare with.
- Returns
- a value compatible with R::RContainer.
R::RString GetName | ( | void | ) | const |
- Returns
- the name of the instance.
RCell* GetCell | ( | void | ) | const |
- Returns
- pointer of the cell.
Member Data Documentation
|
private |
Corresponding cell.
|
private |
Reference to the ports.
|
private |
Name of the instance.