LibrePCB Developers Documentation
|
The TraceAnchor class. More...
#include <trace.h>
Classes | |
struct | PadAnchor |
Public Member Functions | |
TraceAnchor ()=delete | |
TraceAnchor (const TraceAnchor &other) noexcept | |
TraceAnchor (const SExpression &node) | |
~TraceAnchor () noexcept | |
const tl::optional< Uuid > & | tryGetJunction () const noexcept |
const tl::optional< Uuid > & | tryGetVia () const noexcept |
const tl::optional< PadAnchor > & | tryGetPad () const noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
bool | operator== (const TraceAnchor &rhs) const noexcept |
bool | operator!= (const TraceAnchor &rhs) const noexcept |
TraceAnchor & | operator= (const TraceAnchor &rhs) noexcept |
Static Public Member Functions | |
static TraceAnchor | junction (const Uuid &junction) noexcept |
static TraceAnchor | via (const Uuid &via) noexcept |
static TraceAnchor | pad (const Uuid &device, const Uuid &pad) noexcept |
Private Member Functions | |
TraceAnchor (const tl::optional< Uuid > &junction, const tl::optional< Uuid > &via, const tl::optional< PadAnchor > &pad) noexcept | |
Private Attributes | |
tl::optional< Uuid > | mJunction |
tl::optional< Uuid > | mVia |
tl::optional< PadAnchor > | mPad |
The TraceAnchor class.
|
delete |
|
noexcept |
|
explicit |
|
noexcept |
|
privatenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
private |
|
private |
|
private |