LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( )
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

Member Function Documentation

const QSet<BI_Device*>& getDeviceInstances ( ) const
inlinenoexcept
const QSet<BI_NetPoint*>& getNetPoints ( ) const
inlinenoexcept
const QSet<BI_NetLine*>& getNetLines ( ) const
inlinenoexcept
const QSet<BI_Via*>& getVias ( ) const
inlinenoexcept
const QSet<BI_Plane*>& getPlanes ( ) const
inlinenoexcept
const QSet<BI_Polygon*>& getPolygons ( ) const
inlinenoexcept
const QSet<BI_StrokeText*>& getStrokeTexts ( ) const
inlinenoexcept
const QSet<BI_Hole*>& getHoles ( ) const
inlinenoexcept
int getResultCount ( ) const
noexcept

+ Here is the caller graph for this function:

bool isResultEmpty ( ) const
inlinenoexcept

+ Here is the call graph for this function:

void addDeviceInstancesOfSelectedFootprints ( )
noexcept

+ Here is the call graph for this function:

void addSelectedVias ( )
noexcept

+ Here is the call graph for this function:

void addSelectedNetPoints ( )
noexcept

+ Here is the call graph for this function:

void addSelectedNetLines ( )
noexcept

+ Here is the call graph for this function:

void addSelectedPlanes ( )
noexcept

+ Here is the call graph for this function:

void addSelectedPolygons ( )
noexcept

+ Here is the call graph for this function:

void addSelectedBoardStrokeTexts ( )
noexcept

+ Here is the call graph for this function:

void addSelectedFootprintStrokeTexts ( )
noexcept

+ Here is the call graph for this function:

void addSelectedHoles ( )
noexcept

+ Here is the call graph for this function:

void addNetPointsOfNetLines ( )
noexcept

+ Here is the call graph for this function:

BoardSelectionQuery& operator= ( const BoardSelectionQuery rhs)
delete

Member Data Documentation

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

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