LibrePCB Developers Documentation
SI_Base Class Reference

The Schematic Item Base (SI_Base) class. More...

#include <si_base.h>

+ Inheritance diagram for SI_Base:
+ Collaboration diagram for SI_Base:

Public Member Functions

 SI_Base ()=delete
 
 SI_Base (const SI_Base &other)=delete
 
 SI_Base (Schematic &schematic) noexcept
 
virtual ~SI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
SchematicgetSchematic () const noexcept
 
virtual bool isAddedToSchematic () const noexcept
 
virtual void addToSchematic ()
 
virtual void removeFromSchematic ()
 
SI_Baseoperator= (const SI_Base &rhs)=delete
 

Protected Attributes

SchematicmSchematic
 

Private Attributes

bool mIsAddedToSchematic
 

Detailed Description

The Schematic Item Base (SI_Base) class.

Constructor & Destructor Documentation

◆ SI_Base() [1/3]

SI_Base ( )
delete

◆ SI_Base() [2/3]

SI_Base ( const SI_Base other)
delete

◆ SI_Base() [3/3]

SI_Base ( Schematic schematic)
noexcept

◆ ~SI_Base()

~SI_Base ( )
virtualnoexcept

Member Function Documentation

◆ getProject()

Project & getProject ( ) const
noexcept
+ Here is the call 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:

◆ getSchematic()

Schematic& getSchematic ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isAddedToSchematic()

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

◆ addToSchematic()

void addToSchematic ( )
virtual

Reimplemented in SI_SymbolPin, SI_Symbol, SI_NetLine, SI_NetSegment, SI_NetLabel, SI_NetPoint, SI_Text, and SI_Polygon.

+ Here is the caller graph for this function:

◆ removeFromSchematic()

void removeFromSchematic ( )
virtual

Reimplemented in SI_SymbolPin, SI_Symbol, SI_NetLine, SI_NetSegment, SI_NetLabel, SI_NetPoint, SI_Text, and SI_Polygon.

+ Here is the caller graph for this function:

◆ operator=()

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

Member Data Documentation

◆ mSchematic

Schematic& mSchematic
protected

◆ mIsAddedToSchematic

bool mIsAddedToSchematic
private

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