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 tl::optional< Uuid > & | tryGetJunction () const noexcept |
const tl::optional< PinAnchor > & | tryGetPin () const noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
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 tl::optional< Uuid > &junction, const tl::optional< PinAnchor > &pin) noexcept | |
Private Attributes | |
tl::optional< Uuid > | mJunction |
tl::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 |