Defines a XDL net.
More...
#include <xdl/model/Net.hpp>
List of all members.
Public Member Functions |
| Net () |
| Constructs a new Net instance.
|
std::string & | name () |
| Gets name.
|
const std::string & | name () const |
| Gets name read only.
|
void | type (NetType::net_t type) |
| Sets type.
|
NetType::net_t | type () const |
| Gets type.
|
PinRefs & | pinRefs () |
| Gets pins the net is attached to.
|
const PinRefs & | pinRefs () const |
| Gets pins the net is attached to read only.
|
PIPRefs & | pipRefs () |
| Gets PIPs the net crosses.
|
const PIPRefs & | pipRefs () const |
| Gets PIPs the net crosses read only.
|
std::string & | attributes () |
| Gets attribute string.
|
const std::string & | attributes () const |
| Gets attribute string read only.
|
void | clear () |
| Resets all properties to default values.
|
Detailed Description
Defines a XDL net.
A net has got a name, a type, and lists of used pins and PIPs.
Definition at line 23 of file Net.hpp.
Constructor & Destructor Documentation
Constructs a new Net instance.
Definition at line 11 of file Net.cpp.
Member Function Documentation
std::string & Net::name |
( |
| ) |
|
Gets name.
- Returns:
- The name.
Definition at line 22 of file Net.cpp.
const std::string & Net::name |
( |
| ) |
const |
Gets name read only.
- Returns:
- The name.
Definition at line 28 of file Net.cpp.
Sets type.
- Parameters:
-
Definition at line 34 of file Net.cpp.
Gets type.
- Returns:
- The type.
Definition at line 40 of file Net.cpp.
Gets pins the net is attached to.
- Returns:
- The pin references.
Definition at line 46 of file Net.cpp.
const PinRefs & Net::pinRefs |
( |
| ) |
const |
Gets pins the net is attached to read only.
- Returns:
- The pin references.
Definition at line 52 of file Net.cpp.
Gets PIPs the net crosses.
- Returns:
- The PIP references.
Definition at line 58 of file Net.cpp.
const PIPRefs & Net::pipRefs |
( |
| ) |
const |
Gets PIPs the net crosses read only.
- Returns:
- The PIP references.
Definition at line 64 of file Net.cpp.
std::string & Net::attributes |
( |
| ) |
|
Gets attribute string.
- Returns:
- The attribute string.
Definition at line 70 of file Net.cpp.
const std::string & Net::attributes |
( |
| ) |
const |
Gets attribute string read only.
- Returns:
- The attribute string.
Definition at line 76 of file Net.cpp.
Resets all properties to default values.
Definition at line 82 of file Net.cpp.
The documentation for this class was generated from the following files: