LibrePCB Developers Documentation
|
#include <netclass.h>
Inherits QObject.
Public Member Functions | |
NetClass ()=delete | |
NetClass (const NetClass &other)=delete | |
NetClass (Circuit &circuit, const Uuid &uuid, const ElementName &name) | |
~NetClass () noexcept | |
Circuit & | getCircuit () const noexcept |
const Uuid & | getUuid () const noexcept |
const ElementName & | getName () const noexcept |
int | getNetSignalCount () const noexcept |
bool | isUsed () const noexcept |
void | setName (const ElementName &name) noexcept |
void | addToCircuit () |
void | removeFromCircuit () |
void | registerNetSignal (NetSignal &signal) |
void | unregisterNetSignal (NetSignal &signal) |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
NetClass & | operator= (const NetClass &rhs)=delete |
Private Attributes | |
Circuit & | mCircuit |
bool | mIsAddedToCircuit |
Uuid | mUuid |
ElementName | mName |
QHash< Uuid, NetSignal * > | mRegisteredNetSignals |
all registered netsignals More... | |
The NetClass class.
|
delete |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
void addToCircuit | ( | ) |
void removeFromCircuit | ( | ) |
void registerNetSignal | ( | NetSignal & | signal | ) |
void unregisterNetSignal | ( | NetSignal & | signal | ) |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
private |
|
private |
|
private |
|
private |