LibrePCB Developers Documentation
Loading...
Searching...
No Matches
OrganizationPcbDesignRules Class Referencefinal

The OrganizationPcbDesignRules class. More...

#include <organizationpcbdesignrules.h>

+ Collaboration diagram for OrganizationPcbDesignRules:

Public Member Functions

 OrganizationPcbDesignRules () noexcept=delete
 
 OrganizationPcbDesignRules (const Uuid &uuid, const ElementName &name, const QString &description, const QUrl &url, const BoardDesignRuleCheckSettings &settings) noexcept
 
 OrganizationPcbDesignRules (const OrganizationPcbDesignRules &other) noexcept
 
 OrganizationPcbDesignRules (const SExpression &node)
 
 ~OrganizationPcbDesignRules () noexcept
 
const UuidgetUuid () const noexcept
 
const LocalizedNameMapgetNames () const noexcept
 
const LocalizedDescriptionMapgetDescriptions () const noexcept
 
const QUrl & getUrl () const noexcept
 
BoardDesignRuleCheckSettings getDrcSettings (bool cleanOptions) const noexcept
 
void setUuid (const Uuid &uuid) noexcept
 
void setNames (const LocalizedNameMap &names) noexcept
 
void setDescriptions (const LocalizedDescriptionMap &descriptions) noexcept
 
void setDrcSettings (const BoardDesignRuleCheckSettings &s) noexcept
 
void serialize (SExpression &root) const
 Serialize into librepcb::SExpression node.
 
OrganizationPcbDesignRulesoperator= (const OrganizationPcbDesignRules &rhs) noexcept
 
bool operator== (const OrganizationPcbDesignRules &rhs) const noexcept=default
 

Private Attributes

Uuid mUuid
 
LocalizedNameMap mNames
 
LocalizedDescriptionMap mDescriptions
 
QUrl mUrl
 
BoardDesignRuleCheckSettings mDrcSettings
 

Detailed Description

Constructor & Destructor Documentation

◆ OrganizationPcbDesignRules() [1/4]

OrganizationPcbDesignRules ( )
deletenoexcept

◆ OrganizationPcbDesignRules() [2/4]

OrganizationPcbDesignRules ( const Uuid uuid,
const ElementName name,
const QString &  description,
const QUrl &  url,
const BoardDesignRuleCheckSettings settings 
)
noexcept

◆ OrganizationPcbDesignRules() [3/4]

◆ OrganizationPcbDesignRules() [4/4]

OrganizationPcbDesignRules ( const SExpression node)
explicit
+ Here is the call graph for this function:

◆ ~OrganizationPcbDesignRules()

Member Function Documentation

◆ getUuid()

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

◆ getNames()

const LocalizedNameMap & getNames ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getDescriptions()

const LocalizedDescriptionMap & getDescriptions ( ) const
inlinenoexcept

◆ getUrl()

const QUrl & getUrl ( ) const
inlinenoexcept

◆ getDrcSettings()

BoardDesignRuleCheckSettings getDrcSettings ( bool  cleanOptions) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setUuid()

void setUuid ( const Uuid uuid)
inlinenoexcept

◆ setNames()

void setNames ( const LocalizedNameMap names)
inlinenoexcept

◆ setDescriptions()

void setDescriptions ( const LocalizedDescriptionMap descriptions)
inlinenoexcept

◆ setDrcSettings()

void setDrcSettings ( const BoardDesignRuleCheckSettings s)
inlinenoexcept
+ Here is the call graph for this function:

◆ 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=()

OrganizationPcbDesignRules & operator= ( const OrganizationPcbDesignRules rhs)
noexcept

◆ operator==()

bool operator== ( const OrganizationPcbDesignRules rhs) const
defaultnoexcept

Member Data Documentation

◆ mUuid

Uuid mUuid
private

◆ mNames

LocalizedNameMap mNames
private

◆ mDescriptions

LocalizedDescriptionMap mDescriptions
private

◆ mUrl

QUrl mUrl
private

◆ mDrcSettings

BoardDesignRuleCheckSettings mDrcSettings
private

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