![]() |
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 std::optional< Uuid > & | tryGetJunction () const noexcept |
const std::optional< Uuid > & | tryGetVia () const noexcept |
const std::optional< PadAnchor > & | tryGetPad () const noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
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 std::optional< Uuid > &junction, const std::optional< Uuid > &via, const std::optional< PadAnchor > &pad) noexcept | |
Private Attributes | |
std::optional< Uuid > | mJunction |
std::optional< Uuid > | mVia |
std::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 |