LibrePCB Developers Documentation
SI_Polygon Class Referencefinal

The SI_Polygon class represents a polygon in a schematic. More...

#include <si_polygon.h>

+ Inheritance diagram for SI_Polygon:
+ Collaboration diagram for SI_Polygon:

Public Member Functions

 SI_Polygon ()=delete
 
 SI_Polygon (const SI_Polygon &other)=delete
 
 SI_Polygon (Schematic &schematic, const Polygon &polygon)
 
 ~SI_Polygon () noexcept
 
const UuidgetUuid () const noexcept
 
PolygongetPolygon () noexcept
 
const PolygongetPolygon () const noexcept
 
void addToSchematic () override
 
void removeFromSchematic () override
 
SI_Polygonoperator= (const SI_Polygon &rhs)=delete
 
- Public Member Functions inherited from SI_Base
 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
 

Private Attributes

QScopedPointer< PolygonmPolygon
 

Additional Inherited Members

- Protected Attributes inherited from SI_Base
SchematicmSchematic
 

Detailed Description

The SI_Polygon class represents a polygon in a schematic.

Constructor & Destructor Documentation

◆ SI_Polygon() [1/3]

SI_Polygon ( )
delete

◆ SI_Polygon() [2/3]

SI_Polygon ( const SI_Polygon other)
delete

◆ SI_Polygon() [3/3]

SI_Polygon ( Schematic schematic,
const Polygon polygon 
)

◆ ~SI_Polygon()

~SI_Polygon ( )
noexcept

Member Function Documentation

◆ getUuid()

const Uuid & getUuid ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getPolygon() [1/2]

Polygon & getPolygon ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getPolygon() [2/2]

const Polygon & getPolygon ( ) const
inlinenoexcept

◆ addToSchematic()

void addToSchematic ( )
overridevirtual

Reimplemented from SI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeFromSchematic()

void removeFromSchematic ( )
overridevirtual

Reimplemented from SI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

SI_Polygon & operator= ( const SI_Polygon rhs)
delete

Member Data Documentation

◆ mPolygon

QScopedPointer<Polygon> mPolygon
private

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