LibrePCB Developers Documentation
BoardSelectionQuery Class Referencefinal

The BoardSelectionQuery class. More...

#include <boardselectionquery.h>

Inherits QObject.

+ Collaboration diagram for BoardSelectionQuery:

Public Member Functions

 BoardSelectionQuery ()=delete
 
 BoardSelectionQuery (const BoardSelectionQuery &other)=delete
 
 BoardSelectionQuery (const QMap< Uuid, BI_Device *> &deviceInstances, const QList< BI_NetSegment *> &netsegments, const QList< BI_Plane *> &planes, const QList< BI_Polygon *> &polygons, const QList< BI_StrokeText *> &strokeTexts, const QList< BI_Hole *> &holes, QObject *parent=nullptr)
 
 ~BoardSelectionQuery () noexcept
 
const QSet< BI_Device * > & getDeviceInstances () const noexcept
 
const QSet< BI_NetPoint * > & getNetPoints () const noexcept
 
const QSet< BI_NetLine * > & getNetLines () const noexcept
 
const QSet< BI_Via * > & getVias () const noexcept
 
const QSet< BI_Plane * > & getPlanes () const noexcept
 
const QSet< BI_Polygon * > & getPolygons () const noexcept
 
const QSet< BI_StrokeText * > & getStrokeTexts () const noexcept
 
const QSet< BI_Hole * > & getHoles () const noexcept
 
int getResultCount () const noexcept
 
bool isResultEmpty () const noexcept
 
void addDeviceInstancesOfSelectedFootprints () noexcept
 
void addSelectedVias () noexcept
 
void addSelectedNetPoints () noexcept
 
void addSelectedNetLines () noexcept
 
void addSelectedPlanes () noexcept
 
void addSelectedPolygons () noexcept
 
void addSelectedBoardStrokeTexts () noexcept
 
void addSelectedFootprintStrokeTexts () noexcept
 
void addSelectedHoles () noexcept
 
void addNetPointsOfNetLines () noexcept
 
BoardSelectionQueryoperator= (const BoardSelectionQuery &rhs)=delete
 

Private Attributes

const QMap< Uuid, BI_Device * > & mDevices
 
const QList< BI_NetSegment * > & mNetSegments
 
const QList< BI_Plane * > & mPlanes
 
const QList< BI_Polygon * > & mPolygons
 
const QList< BI_StrokeText * > & mStrokeTexts
 
const QList< BI_Hole * > & mHoles
 
QSet< BI_Device * > mResultDeviceInstances
 
QSet< BI_NetPoint * > mResultNetPoints
 
QSet< BI_NetLine * > mResultNetLines
 
QSet< BI_Via * > mResultVias
 
QSet< BI_Plane * > mResultPlanes
 
QSet< BI_Polygon * > mResultPolygons
 
QSet< BI_StrokeText * > mResultStrokeTexts
 
QSet< BI_Hole * > mResultHoles
 

Detailed Description

Constructor & Destructor Documentation

◆ BoardSelectionQuery() [1/3]

BoardSelectionQuery ( )
delete

◆ BoardSelectionQuery() [2/3]

BoardSelectionQuery ( const BoardSelectionQuery other)
delete

◆ BoardSelectionQuery() [3/3]

BoardSelectionQuery ( const QMap< Uuid, BI_Device *> &  deviceInstances,
const QList< BI_NetSegment *> &  netsegments,
const QList< BI_Plane *> &  planes,
const QList< BI_Polygon *> &  polygons,
const QList< BI_StrokeText *> &  strokeTexts,
const QList< BI_Hole *> &  holes,
QObject *  parent = nullptr 
)

◆ ~BoardSelectionQuery()

~BoardSelectionQuery ( )
noexcept

Member Function Documentation

◆ getDeviceInstances()

const QSet<BI_Device*>& getDeviceInstances ( ) const
inlinenoexcept

◆ getNetPoints()

const QSet<BI_NetPoint*>& getNetPoints ( ) const
inlinenoexcept

◆ getNetLines()

const QSet<BI_NetLine*>& getNetLines ( ) const
inlinenoexcept

◆ getVias()

const QSet<BI_Via*>& getVias ( ) const
inlinenoexcept

◆ getPlanes()

const QSet<BI_Plane*>& getPlanes ( ) const
inlinenoexcept

◆ getPolygons()

const QSet<BI_Polygon*>& getPolygons ( ) const
inlinenoexcept

◆ getStrokeTexts()

const QSet<BI_StrokeText*>& getStrokeTexts ( ) const
inlinenoexcept

◆ getHoles()

const QSet<BI_Hole*>& getHoles ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ getResultCount()

int getResultCount ( ) const
noexcept
+ Here is the caller graph for this function:

◆ isResultEmpty()

bool isResultEmpty ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ addDeviceInstancesOfSelectedFootprints()

void addDeviceInstancesOfSelectedFootprints ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedVias()

void addSelectedVias ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedNetPoints()

void addSelectedNetPoints ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedNetLines()

void addSelectedNetLines ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedPlanes()

void addSelectedPlanes ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedPolygons()

void addSelectedPolygons ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedBoardStrokeTexts()

void addSelectedBoardStrokeTexts ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedFootprintStrokeTexts()

void addSelectedFootprintStrokeTexts ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectedHoles()

void addSelectedHoles ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addNetPointsOfNetLines()

void addNetPointsOfNetLines ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

BoardSelectionQuery& operator= ( const BoardSelectionQuery rhs)
delete
+ Here is the caller graph for this function:

Member Data Documentation

◆ mDevices

const QMap<Uuid, BI_Device*>& mDevices
private

◆ mNetSegments

const QList<BI_NetSegment*>& mNetSegments
private

◆ mPlanes

const QList<BI_Plane*>& mPlanes
private

◆ mPolygons

const QList<BI_Polygon*>& mPolygons
private

◆ mStrokeTexts

const QList<BI_StrokeText*>& mStrokeTexts
private

◆ mHoles

const QList<BI_Hole*>& mHoles
private

◆ mResultDeviceInstances

QSet<BI_Device*> mResultDeviceInstances
private

◆ mResultNetPoints

QSet<BI_NetPoint*> mResultNetPoints
private

◆ mResultNetLines

QSet<BI_NetLine*> mResultNetLines
private

◆ mResultVias

QSet<BI_Via*> mResultVias
private

◆ mResultPlanes

QSet<BI_Plane*> mResultPlanes
private

◆ mResultPolygons

QSet<BI_Polygon*> mResultPolygons
private

◆ mResultStrokeTexts

QSet<BI_StrokeText*> mResultStrokeTexts
private

◆ mResultHoles

QSet<BI_Hole*> mResultHoles
private

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