LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( const QList< SI_Symbol * > &  symbols,
const QList< SI_NetSegment * > &  netsegments,
QObject *  parent = nullptr 
)
~SchematicSelectionQuery ( )
noexcept

Member Function Documentation

const QSet<SI_Symbol*>& getSymbols ( ) const
inlinenoexcept
const QSet<SI_NetPoint*>& getNetPoints ( ) const
inlinenoexcept
const QSet<SI_NetLine*>& getNetLines ( ) const
inlinenoexcept
const QSet<SI_NetLabel*>& getNetLabels ( ) 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 addSelectedSymbols ( )
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 addSelectedNetLabels ( )
noexcept

+ Here is the call graph for this function:

void addNetPointsOfNetLines ( )
noexcept

+ Here is the call graph for this function:

void addNetLinesOfSymbolPins ( )
noexcept

+ Here is the call graph for this function:

SchematicSelectionQuery& operator= ( const SchematicSelectionQuery rhs)
delete

Member Data Documentation

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

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