LibrePCB Developers Documentation
BI_Base Class Reference

The Board Item Base (BI_Base) class. More...

#include <bi_base.h>

+ Inheritance diagram for BI_Base:
+ Collaboration diagram for BI_Base:

Public Member Functions

 BI_Base ()=delete
 
 BI_Base (const BI_Base &other)=delete
 
 BI_Base (Board &board) noexcept
 
virtual ~BI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
BoardgetBoard () const noexcept
 
virtual bool isAddedToBoard () const noexcept
 
virtual void addToBoard ()
 
virtual void removeFromBoard ()
 
BI_Baseoperator= (const BI_Base &rhs)=delete
 

Protected Attributes

BoardmBoard
 

Private Attributes

bool mIsAddedToBoard
 

Detailed Description

The Board Item Base (BI_Base) class.

Constructor & Destructor Documentation

◆ BI_Base() [1/3]

BI_Base ( )
delete

◆ BI_Base() [2/3]

BI_Base ( const BI_Base other)
delete

◆ BI_Base() [3/3]

BI_Base ( Board board)
noexcept

◆ ~BI_Base()

~BI_Base ( )
virtualnoexcept

Member Function Documentation

◆ getProject()

Project & getProject ( ) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCircuit()

Circuit & getCircuit ( ) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBoard()

Board & getBoard ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isAddedToBoard()

virtual bool isAddedToBoard ( ) const
inlinevirtualnoexcept
+ Here is the caller graph for this function:

◆ addToBoard()

void addToBoard ( )
virtual

Reimplemented in BI_AirWire, BI_Device, BI_FootprintPad, BI_Hole, BI_NetLine, BI_NetPoint, BI_NetSegment, BI_Plane, BI_Polygon, BI_StrokeText, BI_Via, and BI_Zone.

+ Here is the caller graph for this function:

◆ removeFromBoard()

void removeFromBoard ( )
virtual

Reimplemented in BI_AirWire, BI_Device, BI_FootprintPad, BI_Hole, BI_NetLine, BI_NetPoint, BI_NetSegment, BI_Plane, BI_Polygon, BI_StrokeText, BI_Via, and BI_Zone.

+ Here is the caller graph for this function:

◆ operator=()

BI_Base & operator= ( const BI_Base rhs)
delete

Member Data Documentation

◆ mBoard

Board& mBoard
protected

◆ mIsAddedToBoard

bool mIsAddedToBoard
private

The documentation for this class was generated from the following files: