#include <wireId.h>
◆ WireId()
WireId::WireId |
( |
size_t |
id, |
|
|
const std::string & |
name, |
|
|
WireManager * |
manager |
|
) |
| |
Basic constructor
- Parameters
-
id | Id of the wire |
name | Convenience name for the wire |
manager | the WireManager used to create this wire |
◆ ~WireId()
◆ adjacent_begin()
Get an iterator to the first adjacent circuit. Adjacent circuits are the circuits directly connected to this wire. Groups connected to this wire are considered (instead of considering the actual leaf the wire is connected to inside this group).
NOTE: the behaviour of this iterator is undefined when the parent WireId
is altered during the iteration. This includes connecting more gates, merging this wire, …
◆ adjacent_end()
Get a past-the-end iterator to adjacent circuits for this group. See adjacent_begin
.
◆ connect() [1/3]
Connect a circuit to this wire. Should be handled by circuit classes silently.
◆ connect() [2/3]
Connect a pin to this wire.
◆ connect() [3/3]
◆ connected()
Get the list of circuits connected to that wire, possibly through other wires. Must perform a DFS through connected wires and create the list on-the-fly, which might be a bit slow for heavy use.
◆ connectedCirc()
const std::vector< CircuitTree * > & WireId::connectedCirc |
( |
| ) |
|
Get the list of circuits connected to that wire. Fast.
◆ connectedCount()
size_t WireId::connectedCount |
( |
| ) |
|
|
inline |
Get the number of direct connections to this wire.
◆ connectedPins()
Get the list of wires connected to that wire. Fast.
◆ disconnect() [1/2]
◆ disconnect() [2/2]
void WireId::disconnect |
( |
IOPin * |
pin | ) |
|
Disconnect the given IOPin
◆ name() [1/2]
const std::string& WireId::name |
( |
| ) |
|
|
inline |
Get the name of this wire
◆ name() [2/2]
const std::string& WireId::name |
( |
| ) |
const |
|
inline |
Get the name of this wire (const version)
◆ operator!=() [1/2]
bool WireId::operator!= |
( |
const WireId & |
oth | ) |
const |
◆ operator!=() [2/2]
bool WireId::operator!= |
( |
WireId & |
oth | ) |
|
◆ operator<() [1/2]
bool WireId::operator< |
( |
const WireId & |
oth | ) |
const |
◆ operator<() [2/2]
bool WireId::operator< |
( |
WireId & |
oth | ) |
|
◆ operator==() [1/2]
bool WireId::operator== |
( |
const WireId & |
oth | ) |
const |
◆ operator==() [2/2]
bool WireId::operator== |
( |
WireId & |
oth | ) |
|
◆ uniqueName()
std::string WireId::uniqueName |
( |
| ) |
|
Get this wire's display unique name
◆ HashWirePtr
friend struct HashWirePtr |
|
friend |
◆ std::hash< WireId *>
friend struct std::hash< WireId * > |
|
friend |
◆ std::hash< WireId >
friend struct std::hash< WireId > |
|
friend |
◆ chain
◆ end
The documentation for this class was generated from the following files: