LibrePCB Developers Documentation
BoardPolygonData Class Referencefinal

The BoardPolygonData class. More...

#include <boardpolygondata.h>

+ Collaboration diagram for BoardPolygonData:

Public Member Functions

 BoardPolygonData ()=delete
 
 BoardPolygonData (const BoardPolygonData &other) noexcept
 
 BoardPolygonData (const Uuid &uuid, const BoardPolygonData &other) noexcept
 
 BoardPolygonData (const Uuid &uuid, const Layer &layer, const UnsignedLength &lineWidth, const Path &path, bool fill, bool isGrabArea, bool locked) noexcept
 
 BoardPolygonData (const SExpression &node)
 
 ~BoardPolygonData () noexcept
 
const UuidgetUuid () const noexcept
 
const LayergetLayer () const noexcept
 
const UnsignedLengthgetLineWidth () const noexcept
 
const PathgetPath () const noexcept
 
bool isFilled () const noexcept
 
bool isGrabArea () const noexcept
 
bool isLocked () const noexcept
 
bool setLayer (const Layer &layer) noexcept
 
bool setLineWidth (const UnsignedLength &width) noexcept
 
bool setPath (const Path &path) noexcept
 
bool setIsFilled (bool isFilled) noexcept
 
bool setIsGrabArea (bool isGrabArea) noexcept
 
bool setLocked (bool locked) noexcept
 
void serialize (SExpression &root) const
 Serialize into librepcb::SExpression node. More...
 
bool operator== (const BoardPolygonData &rhs) const noexcept
 
bool operator!= (const BoardPolygonData &rhs) const noexcept
 
BoardPolygonDataoperator= (const BoardPolygonData &rhs)=default
 

Private Attributes

Uuid mUuid
 
const LayermLayer
 
UnsignedLength mLineWidth
 
Path mPath
 
bool mIsFilled
 
bool mIsGrabArea
 
bool mLocked
 

Detailed Description

The BoardPolygonData class.

Constructor & Destructor Documentation

◆ BoardPolygonData() [1/5]

BoardPolygonData ( )
delete

◆ BoardPolygonData() [2/5]

BoardPolygonData ( const BoardPolygonData other)
noexcept

◆ BoardPolygonData() [3/5]

BoardPolygonData ( const Uuid uuid,
const BoardPolygonData other 
)
noexcept

◆ BoardPolygonData() [4/5]

BoardPolygonData ( const Uuid uuid,
const Layer layer,
const UnsignedLength lineWidth,
const Path path,
bool  fill,
bool  isGrabArea,
bool  locked 
)
noexcept

◆ BoardPolygonData() [5/5]

BoardPolygonData ( const SExpression node)
explicit

◆ ~BoardPolygonData()

~BoardPolygonData ( )
noexcept

Member Function Documentation

◆ getUuid()

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

◆ getLayer()

const Layer & getLayer ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getLineWidth()

const UnsignedLength & getLineWidth ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getPath()

const Path & getPath ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isFilled()

bool isFilled ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isGrabArea()

bool isGrabArea ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isLocked()

bool isLocked ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setLayer()

bool setLayer ( const Layer layer)
noexcept

◆ setLineWidth()

bool setLineWidth ( const UnsignedLength width)
noexcept

◆ setPath()

bool setPath ( const Path path)
noexcept
+ Here is the caller graph for this function:

◆ setIsFilled()

bool setIsFilled ( bool  isFilled)
noexcept

◆ setIsGrabArea()

bool setIsGrabArea ( bool  isGrabArea)
noexcept

◆ setLocked()

bool setLocked ( bool  locked)
noexcept

◆ serialize()

void serialize ( SExpression root) const

Serialize into librepcb::SExpression node.

Parameters
rootRoot node to serialize into.
+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const BoardPolygonData rhs) const
noexcept

◆ operator!=()

bool operator!= ( const BoardPolygonData rhs) const
inlinenoexcept

◆ operator=()

BoardPolygonData & operator= ( const BoardPolygonData rhs)
default

Member Data Documentation

◆ mUuid

Uuid mUuid
private

◆ mLayer

const Layer* mLayer
private

◆ mLineWidth

UnsignedLength mLineWidth
private

◆ mPath

Path mPath
private

◆ mIsFilled

bool mIsFilled
private

◆ mIsGrabArea

bool mIsGrabArea
private

◆ mLocked

bool mLocked
private

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