![]() |
LibrePCB Developers Documentation
|
#include <bi_hole.h>
Public Member Functions | |
BI_Hole ()=delete | |
BI_Hole (const BI_Hole &other)=delete | |
BI_Hole (Board &board, const BI_Hole &other) | |
BI_Hole (Board &board, const SExpression &node) | |
BI_Hole (Board &board, const Hole &hole) | |
~BI_Hole () noexcept | |
Hole & | getHole () noexcept |
const Hole & | getHole () const noexcept |
const Uuid & | getUuid () const noexcept |
bool | isSelectable () const noexceptoverride |
void | addToBoard () override |
void | removeFromBoard () override |
void | serialize (SExpression &root) const override |
Serialize the object into an existing S-Expression node. More... | |
Type_t | getType () const noexceptoverride |
const Point & | getPosition () const noexceptoverride |
bool | getIsMirrored () const noexceptoverride |
QPainterPath | getGrabAreaScenePx () const noexceptoverride |
void | setSelected (bool selected) noexceptoverride |
BI_Hole & | operator= (const BI_Hole &rhs)=delete |
![]() | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
virtual bool | isSelected () const noexcept |
BI_Base & | operator= (const BI_Base &rhs)=delete |
![]() | |
SerializableObject () noexcept | |
virtual | ~SerializableObject () noexcept |
SExpression | serializeToDomElement (const QString &name) const |
Serialize the object to a new S-Expression node. More... | |
Private Member Functions | |
void | init () |
Private Attributes | |
QScopedPointer< Hole > | mHole |
QScopedPointer< HoleGraphicsItem > | mGraphicsItem |
Additional Inherited Members | |
![]() | |
enum | Type_t |
![]() | |
template<typename T > | |
static void | serializeObjectContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainerUuidSorted (SExpression &root, const T &container, const QString &itemName) |
![]() | |
void | addToBoard (QGraphicsItem *item) noexcept |
void | removeFromBoard (QGraphicsItem *item) noexcept |
![]() | |
Board & | mBoard |
The BI_Hole class.
|
delete |
BI_Hole | ( | Board & | board, |
const SExpression & | node | ||
) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
overridevirtualnoexcept |
Implements BI_Base.
|
overridevirtual |
Implements BI_Base.
|
overridevirtual |
Implements BI_Base.
|
overridevirtual |
Serialize the object into an existing S-Expression node.
This method inserts/appends all attributes and childs of the object to an existing S-Expression node. The content which already exists in the given S-Expression node will not be removed.
root | The target DOM root node |
Exception | This method throws an exception if an error occurs. |
Implements SerializableObject.
|
overridevirtualnoexcept |
|
inlineoverridevirtualnoexcept |
Implements BI_Base.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from BI_Base.
|
private |
|
private |
|
private |