LibrePCB Developers Documentation
|
The NetLineAnchor class. More...
#include <netline.h>
Classes | |
struct | PinAnchor |
Public Member Functions | |
NetLineAnchor ()=delete | |
NetLineAnchor (const NetLineAnchor &other) noexcept | |
NetLineAnchor (const SExpression &node) | |
~NetLineAnchor () noexcept | |
const std::optional< Uuid > & | tryGetJunction () const noexcept |
const std::optional< PinAnchor > & | tryGetPin () const noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
bool | operator== (const NetLineAnchor &rhs) const noexcept |
bool | operator!= (const NetLineAnchor &rhs) const noexcept |
NetLineAnchor & | operator= (const NetLineAnchor &rhs) noexcept |
Static Public Member Functions | |
static NetLineAnchor | junction (const Uuid &junction) noexcept |
static NetLineAnchor | pin (const Uuid &symbol, const Uuid &pin) noexcept |
Private Member Functions | |
NetLineAnchor (const std::optional< Uuid > &junction, const std::optional< PinAnchor > &pin) noexcept | |
Private Attributes | |
std::optional< Uuid > | mJunction |
std::optional< PinAnchor > | mPin |
The NetLineAnchor class.
|
delete |
|
noexcept |
|
explicit |
|
noexcept |
|
privatenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
|
private |
|
private |