LibrePCB Developers Documentation
SchematicSelectionQuery Class Referencefinal

The SchematicSelectionQuery class. More...

#include <schematicselectionquery.h>

Inherits QObject.

+ Collaboration diagram for SchematicSelectionQuery:

Public Member Functions

 SchematicSelectionQuery ()=delete
 
 SchematicSelectionQuery (const SchematicSelectionQuery &other)=delete
 
 SchematicSelectionQuery (const QList< SI_Symbol *> &symbols, const QList< SI_NetSegment *> &netsegments, QObject *parent=nullptr)
 
 ~SchematicSelectionQuery () noexcept
 
const QSet< SI_Symbol * > & getSymbols () const noexcept
 
const QSet< SI_NetPoint * > & getNetPoints () const noexcept
 
const QSet< SI_NetLine * > & getNetLines () const noexcept
 
const QSet< SI_NetLabel * > & getNetLabels () const noexcept
 
int getResultCount () const noexcept
 
bool isResultEmpty () const noexcept
 
void addSelectedSymbols () noexcept
 
void addSelectedNetPoints () noexcept
 
void addSelectedNetLines () noexcept
 
void addSelectedNetLabels () noexcept
 
void addNetPointsOfNetLines () noexcept
 
void addNetLinesOfSymbolPins () noexcept
 
SchematicSelectionQueryoperator= (const SchematicSelectionQuery &rhs)=delete
 

Private Attributes

const QList< SI_Symbol * > & mSymbols
 
const QList< SI_NetSegment * > & mNetSegments
 
QSet< SI_Symbol * > mResultSymbols
 
QSet< SI_NetPoint * > mResultNetPoints
 
QSet< SI_NetLine * > mResultNetLines
 
QSet< SI_NetLabel * > mResultNetLabels
 

Detailed Description

Constructor & Destructor Documentation

◆ SchematicSelectionQuery() [1/3]

◆ SchematicSelectionQuery() [2/3]

◆ SchematicSelectionQuery() [3/3]

SchematicSelectionQuery ( const QList< SI_Symbol *> &  symbols,
const QList< SI_NetSegment *> &  netsegments,
QObject *  parent = nullptr 
)

◆ ~SchematicSelectionQuery()

~SchematicSelectionQuery ( )
noexcept

Member Function Documentation

◆ getSymbols()

const QSet<SI_Symbol*>& getSymbols ( ) const
inlinenoexcept

◆ getNetPoints()

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

◆ getNetLines()

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

◆ getNetLabels()

const QSet<SI_NetLabel*>& getNetLabels ( ) 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:

◆ addSelectedSymbols()

void addSelectedSymbols ( )
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:

◆ addSelectedNetLabels()

void addSelectedNetLabels ( )
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:

◆ addNetLinesOfSymbolPins()

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

◆ operator=()

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

Member Data Documentation

◆ mSymbols

const QList<SI_Symbol*>& mSymbols
private

◆ mNetSegments

const QList<SI_NetSegment*>& mNetSegments
private

◆ mResultSymbols

QSet<SI_Symbol*> mResultSymbols
private

◆ mResultNetPoints

QSet<SI_NetPoint*> mResultNetPoints
private

◆ mResultNetLines

QSet<SI_NetLine*> mResultNetLines
private

◆ mResultNetLabels

QSet<SI_NetLabel*> mResultNetLabels
private

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