LibrePCB Developers Documentation
librepcb Namespace Reference

Namespaces

 cli
 
 eagleimport
 
 editor
 

Classes

class  AirWiresBuilder
 The AirWiresBuilder class. More...
 
class  AirWiresBuilderImpl
 
class  Alignment
 The Alignment class. More...
 
class  Angle
 The Angle class is used to represent an angle (for example 12.75 degrees) More...
 
class  Application
 The Application class extends the QApplication with the exception-safe method notify() More...
 
class  AsyncCopyOperation
 High-level helper class to asynchronously and recursively copy directories with progress indicator. More...
 
class  Attribute
 The Attribute class. More...
 
struct  AttributeKeyConstraint
 
struct  AttributeKeyVerifier
 
struct  AttributeListNameProvider
 
class  AttributeProvider
 The AttributeProvider class defines an interface for classes which provides some attributes which can be used as variables in texts (like "{{NAME}}") More...
 
class  AttributeSubstitutor
 The AttributeSubstitutor class substitutes attribute keys in strings with their actual values (e.g. replace "{{NAME}}" by "U42", a component's name) More...
 
class  AttributeType
 The AttributeType class. More...
 
class  AttributeUnit
 The AttributeUnit class. More...
 
class  AttrTypeCapacitance
 The AttrTypeCapacitance class. More...
 
class  AttrTypeCurrent
 The AttrTypeCurrent class. More...
 
class  AttrTypeFrequency
 The AttrTypeFrequency class. More...
 
class  AttrTypeInductance
 The AttrTypeInductance class. More...
 
class  AttrTypePower
 The AttrTypePower class. More...
 
class  AttrTypeResistance
 The AttrTypeResistance class. More...
 
class  AttrTypeString
 The AttrTypeString class. More...
 
class  AttrTypeVoltage
 The AttrTypeVoltage class. More...
 
class  BGI_AirWire
 The BGI_AirWire class. More...
 
class  BGI_Base
 The Board Graphics Item Base (BGI_Base) class. More...
 
class  BGI_Footprint
 The BGI_Footprint class. More...
 
class  BGI_FootprintPad
 The BGI_FootprintPad class. More...
 
class  BGI_NetLine
 The BGI_NetLine class. More...
 
class  BGI_NetPoint
 The BGI_NetPoint class. More...
 
class  BGI_Plane
 The BGI_Plane class. More...
 
class  BGI_Via
 The BGI_Via class. More...
 
class  BI_AirWire
 The BI_AirWire class. More...
 
class  BI_Base
 The Board Item Base (BI_Base) class. More...
 
class  BI_Device
 The BI_Device class. More...
 
class  BI_Footprint
 The BI_Footprint class. More...
 
class  BI_FootprintPad
 The BI_FootprintPad class. More...
 
class  BI_Hole
 The BI_Hole class. More...
 
class  BI_NetLine
 The BI_NetLine class. More...
 
class  BI_NetLineAnchor
 
class  BI_NetPoint
 The BI_NetPoint class. More...
 
class  BI_NetSegment
 The BI_NetSegment class. More...
 
class  BI_Plane
 The BI_Plane class. More...
 
class  BI_Polygon
 The BI_Polygon class. More...
 
class  BI_StrokeText
 The BI_StrokeText class. More...
 
class  BI_Via
 The BI_Via class. More...
 
class  Board
 The Board class represents a PCB of a project and is always part of a circuit. More...
 
class  BoardAirWiresBuilder
 The BoardAirWiresBuilder class. More...
 
class  BoardClipperPathGenerator
 The BoardClipperPathGenerator class creates a Clipper path from a librepcb::Board. More...
 
class  BoardDesignRuleCheck
 The BoardDesignRuleCheck class checks a librepcb::Board for design rule violations. More...
 
class  BoardDesignRuleCheckMessage
 The BoardDesignRuleCheckMessage class represents a message produced by the design rule check (DRC) More...
 
class  BoardDesignRules
 The BoardDesignRules class. More...
 
class  BoardFabricationOutputSettings
 The BoardFabricationOutputSettings class. More...
 
class  BoardGerberExport
 The BoardGerberExport class. More...
 
class  BoardLayerStack
 The BoardLayerStack class provides and manages all available layers of a board. More...
 
class  BoardPickPlaceGenerator
 The BoardPickPlaceGenerator class. More...
 
class  BoardPlaneFragmentsBuilder
 The BoardPlaneFragmentsBuilder class. More...
 
class  BoardSelectionQuery
 The BoardSelectionQuery class. More...
 
class  BoardUserSettings
 The BoardUserSettings class. More...
 
class  Bom
 The Bom class represents a bill of materials list. More...
 
class  BomCsvWriter
 The BomCsvWriter class. More...
 
class  BomGenerator
 The BomGenerator class. More...
 
class  BomItem
 The BomItem class represents an item of a bill of materials list. More...
 
class  Circle
 The Circle class. More...
 
class  CircleGraphicsItem
 The CircleGraphicsItem class. More...
 
struct  CircleListNameProvider
 
class  Circuit
 The Circuit class represents all electrical connections in a project (drawn in the schematics) More...
 
struct  CircuitIdentifierConstraint
 
struct  CircuitIdentifierVerifier
 
class  ClipperHelpers
 The ClipperHelpers class. More...
 
class  CmpSigPinDisplayType
 The CmpSigPinDisplayType clas. More...
 
class  Component
 The Component class represents a "generic" device in the library. More...
 
class  ComponentCategory
 The ComponentCategory class. More...
 
class  ComponentCheck
 The ComponentCheck class. More...
 
class  ComponentInstance
 The ComponentInstance class. More...
 
class  ComponentPinSignalMapHelpers
 
class  ComponentPinSignalMapItem
 The ComponentPinSignalMapItem class maps a symbol pin to a component signal. More...
 
struct  ComponentPinSignalMapNameProvider
 
struct  ComponentPrefixConstraint
 
struct  ComponentPrefixVerifier
 
class  ComponentSignal
 The ComponentSignal class represents one signal of a component. More...
 
class  ComponentSignalInstance
 The ComponentSignalInstance class. More...
 
struct  ComponentSignalListNameProvider
 
class  ComponentSymbolVariant
 The ComponentSymbolVariant class represents a symbol variant of a component. More...
 
class  ComponentSymbolVariantItem
 The ComponentSymbolVariantItem class represents one symbol of a component symbol variant. More...
 
class  ComponentSymbolVariantItemListHelpers
 
struct  ComponentSymbolVariantItemListNameProvider
 
struct  ComponentSymbolVariantItemSuffixConstraint
 
struct  ComponentSymbolVariantItemSuffixVerifier
 
struct  ComponentSymbolVariantListNameProvider
 
class  CsvFile
 The CsvFile class represents a comma-separated values (CSV) file. More...
 
class  Debug
 The Debug class provides some methods for debugging/logging. More...
 
class  DefaultGraphicsLayerProvider
 The DefaultGraphicsLayerProvider class. More...
 
class  Device
 The Device class represents an instance of a component (a "real" component) More...
 
class  DeviceCheck
 The DeviceCheck class. More...
 
class  DevicePadSignalMapHelpers
 
class  DevicePadSignalMapItem
 The DevicePadSignalMapItem class. More...
 
struct  DevicePadSignalMapNameProvider
 
class  DirectoryLock
 This class can be used to implement file-based directory locks. More...
 
class  DxfReader
 Read DXF files into LibrePCB data structures. More...
 
class  DxfReaderImpl
 Private helper class to break dependency to dxflib. More...
 
struct  ElementNameConstraint
 
struct  ElementNameVerifier
 
class  ErcMsg
 The ErcMsg class represents a message in the ERC (Electrical Rule Check) list. More...
 
class  ErcMsgList
 The ErcMsgList class contains a list of ERC messages which are visible for the user. More...
 
class  ExcellonGenerator
 The ExcellonGenerator class. More...
 
class  Exception
 The Exception class. More...
 
class  FileDownload
 This class is used to download a file asynchronously in a separate thread. More...
 
class  FileParseError
 The FileParseError class. More...
 
class  FilePath
 This class represents absolute, well-formatted paths to files or directories. More...
 
class  FileSystem
 Base class / interface for all file system implementations. More...
 
class  FileUtils
 The FileUtils class provides some static methods to execute file operations. More...
 
class  Footprint
 The Footprint class represents one footprint variant of a package. More...
 
class  FootprintGraphicsItem
 The FootprintGraphicsItem class. More...
 
struct  FootprintListNameProvider
 
class  FootprintPad
 The FootprintPad class represents a pad of a footprint. More...
 
class  FootprintPadGraphicsItem
 The FootprintPadGraphicsItem class. More...
 
struct  FootprintPadListNameProvider
 
class  GerberApertureList
 A helper class to generate the aperture definitions for a Gerber file. More...
 
class  GerberAttribute
 A Gerber X2 attribute. More...
 
class  GerberAttributeWriter
 A helper class to generate Gerber X2 attributes. More...
 
class  GerberGenerator
 The GerberGenerator class. More...
 
class  GraphicsLayer
 The GraphicsLayer class represents a graphical layer used in schematics and boards. More...
 
struct  GraphicsLayerNameConstraint
 
struct  GraphicsLayerNameVerifier
 
class  GraphicsLayerStackAppearanceSettings
 The GraphicsLayerStackAppearanceSettings class. More...
 
class  GraphicsScene
 The GraphicsScene class. More...
 
class  GridProperties
 The GridProperties class. More...
 
class  HAlign
 The HAlign class. More...
 
class  Hole
 The Hole class. More...
 
class  HoleGraphicsItem
 The HoleGraphicsItem class is the graphical representation of a librepcb::Hole. More...
 
struct  HoleListNameProvider
 
class  IF_ErcMsgProvider
 The IF_ErcMsgProvider class. More...
 
class  IF_GraphicsLayerProvider
 The IF_GraphicsLayerProvider class defines an interface for classes which provide layers. More...
 
class  Junction
 The Junction class represents the connection point between netlines or traces. More...
 
struct  JunctionListNameProvider
 
class  Length
 The Length class is used to represent a length (for example 12.75 millimeters) More...
 
class  LengthUnit
 The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful methods to make the life easier. More...
 
class  Library
 The Library class represents a library directory. More...
 
class  LibraryBaseElement
 The LibraryBaseElement class. More...
 
class  LibraryBaseElementCheck
 The LibraryBaseElementCheck class. More...
 
class  LibraryCategory
 The LibraryCategory class extends the LibraryBaseElement class with some attributes and methods which are used for all library category classes. More...
 
class  LibraryElement
 The LibraryElement class extends the LibraryBaseElement class with some attributes and methods which are used for all library classes except categories. More...
 
class  LibraryElementCheck
 The LibraryElementCheck class. More...
 
class  LibraryElementCheckMessage
 The LibraryElementCheckMessage class. More...
 
class  LineGraphicsItem
 The LineGraphicsItem class. More...
 
struct  LocalizedDescriptionMapPolicy
 
struct  LocalizedKeywordsMapPolicy
 
struct  LocalizedNameMapPolicy
 
class  LogicError
 The LogicError class. More...
 
class  MathParser
 Mathematical expression parser. More...
 
class  MsgDuplicatePadName
 The MsgDuplicatePadName class. More...
 
class  MsgDuplicatePinName
 The MsgDuplicatePinName class. More...
 
class  MsgDuplicateSignalName
 The MsgDuplicateSignalName class. More...
 
class  MsgMissingAuthor
 The MsgMissingAuthor class. More...
 
class  MsgMissingCategories
 The MsgMissingCategories class. More...
 
class  MsgMissingComponentDefaultValue
 The MsgMissingComponentDefaultValue class. More...
 
class  MsgMissingComponentPrefix
 The MsgMissingComponentPrefix class. More...
 
class  MsgMissingFootprint
 The MsgMissingFootprint class. More...
 
class  MsgMissingFootprintName
 The MsgMissingFootprintName class. More...
 
class  MsgMissingFootprintValue
 The MsgMissingFootprintValue class. More...
 
class  MsgMissingSymbolName
 The MsgMissingSymbolName class. More...
 
class  MsgMissingSymbolValue
 The MsgMissingSymbolValue class. More...
 
class  MsgMissingSymbolVariant
 The MsgMissingSymbolVariant class. More...
 
class  MsgMissingSymbolVariantItem
 The MsgMissingSymbolVariantItem class. More...
 
class  MsgNameNotTitleCase
 The MsgNameNotTitleCase class. More...
 
class  MsgNoPadsInDeviceConnected
 The MsgNoPadsInDeviceConnected class. More...
 
class  MsgOverlappingSymbolPins
 The MsgOverlappingSymbolPins class. More...
 
class  MsgPadClearanceViolation
 The MsgPadClearanceViolation class. More...
 
class  MsgPadOverlapsWithPlacement
 The MsgPadOverlapsWithPlacement class. More...
 
class  MsgSymbolPinNotOnGrid
 The MsgSymbolPinNotOnGrid class. More...
 
class  MsgWrongFootprintTextLayer
 The MsgWrongFootprintTextLayer class. More...
 
class  MsgWrongSymbolTextLayer
 The MsgWrongSymbolTextLayer class. More...
 
class  NetClass
 The NetClass class. More...
 
class  NetLabel
 The NetLabel class represents a net text label of a schematic. More...
 
struct  NetLabelListNameProvider
 
class  NetLine
 The NetLine class represents a net line within a schematic. More...
 
class  NetLineAnchor
 The NetLineAnchor class. More...
 
struct  NetLineListNameProvider
 
class  NetSignal
 The NetSignal class. More...
 
class  NetworkAccessManager
 A network access manager which processes network requests in a separate thread. More...
 
class  NetworkRequest
 This class is used to process general purpose network requests (up to 100MB) More...
 
class  NetworkRequestBase
 Base class for network requests which are processed in the network access manager. More...
 
struct  NormDependentPrefixMapPolicy
 
class  OrderPcbApiRequest
 Order a PCB via a LibrePCB API server. More...
 
class  OriginCrossGraphicsItem
 The OriginCrossGraphicsItem class. More...
 
class  Package
 The Package class represents a package of a component (including footprint and 3D model) More...
 
class  PackageCategory
 The PackageCategory class. More...
 
class  PackageCheck
 The PackageCheck class. More...
 
class  PackagePad
 The PackagePad class represents one logical pad of a package. More...
 
struct  PackagePadListNameProvider
 
class  Path
 The Path class represents a list of vertices connected by straight lines or circular arc segments. More...
 
class  PickPlaceCsvWriter
 The PickPlaceCsvWriter class. More...
 
class  PickPlaceData
 The librepcb::PickPlaceData class represents the content of a pick&place file. More...
 
class  PickPlaceDataItem
 The librepcb::PickPlaceDataItem class represents one item of a pick&place file. More...
 
class  Point
 The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5.6mm) for X=1.2mm and Y=5.6mm. More...
 
class  Polygon
 The Polygon class. More...
 
class  PolygonGraphicsItem
 The PolygonGraphicsItem class. More...
 
struct  PolygonListNameProvider
 
struct  PositiveLengthConstraint
 
struct  PositiveLengthVerifier
 
class  PrimitiveCircleGraphicsItem
 The PrimitiveCircleGraphicsItem class. More...
 
class  PrimitivePathGraphicsItem
 The PrimitivePathGraphicsItem class. More...
 
class  PrimitiveTextGraphicsItem
 The PrimitiveTextGraphicsItem class is the graphical representation of a text. More...
 
class  Project
 The Project class represents a whole (opened) project with all its content. More...
 
class  ProjectLibrary
 The ProjectLibrary class. More...
 
class  ProjectMetadata
 The ProjectMetadata class. More...
 
class  ProjectSettings
 The ProjectSettings class. More...
 
class  RangeError
 The RangeError class. More...
 
class  Ratio
 The Ratio class is used to represent a ratio number (e.g. 13.37%) More...
 
class  Repository
 The Repository class provides access to a LibrePCB API server. More...
 
class  RuntimeError
 The RuntimeError class. More...
 
class  Schematic
 The Schematic class represents one schematic page of a project and is always part of a circuit. More...
 
class  SchematicLayerProvider
 The SchematicLayerProvider class provides and manages all available schematic layers which are used in the librepcb::editor::SchematicEditor class. More...
 
class  SchematicSelectionQuery
 The SchematicSelectionQuery class. More...
 
class  ScopeGuard
 
class  ScopeGuardBase
 
class  ScopeGuardList
 Keeps a list of functions to call. More...
 
class  SerializableKeyValueMap
 The SerializableKeyValueMap class provides an easy way to serialize and deserialize ordered key value pairs. More...
 
class  SerializableObject
 The SerializableObject class is the base class for all classes which need to be serializable/deserializable from/to librepcb::SExpression nodes. More...
 
class  SerializableObjectList
 The SerializableObjectList class implements a list of librepcb::SerializableObject. More...
 
class  SExpression
 The SExpression class. More...
 
class  SGI_Base
 The Schematic Graphics Item Base (SGI_Base) class. More...
 
class  SGI_NetLabel
 The SGI_NetLabel class. More...
 
class  SGI_NetLine
 The SGI_NetLine class. More...
 
class  SGI_NetPoint
 The SGI_NetPoint class. More...
 
class  SGI_Symbol
 The SGI_Symbol class. More...
 
class  SGI_SymbolPin
 The SGI_SymbolPin class. More...
 
class  SI_Base
 The Schematic Item Base (SI_Base) class. More...
 
class  SI_NetLabel
 The SI_NetLabel class. More...
 
class  SI_NetLine
 The SI_NetLine class. More...
 
class  SI_NetLineAnchor
 
class  SI_NetPoint
 The SI_NetPoint class. More...
 
class  SI_NetSegment
 The SI_NetSegment class. More...
 
class  SI_Polygon
 The SI_Polygon class represents a polygon in a schematic. More...
 
class  SI_Symbol
 The SI_Symbol class. More...
 
class  SI_SymbolPin
 The SI_SymbolPin class. More...
 
class  SI_Text
 The SI_Text class represents a text label in a schematic. More...
 
class  Signal
 The Signal class is used to emit signals on non-QObject derived classes. More...
 
class  SignalRole
 The SignalRole class provides all supported electrical signal roles. More...
 
class  Slot
 The Slot class is used to receive signals from non-QObject derived classes. More...
 
class  SQLiteDatabase
 The SQLiteDatabase class. More...
 
class  StrokeFont
 The StrokeFont class. More...
 
class  StrokeFontPool
 The StrokeFontPool class. More...
 
class  StrokeText
 The StrokeText class. More...
 
class  StrokeTextGraphicsItem
 The StrokeTextGraphicsItem class is the graphical representation of a librepcb::StrokeText. More...
 
struct  StrokeTextListNameProvider
 
class  StrokeTextSpacing
 The StrokeTextSpacing class. More...
 
class  Symbol
 The Symbol class represents the part of a component which is added to schematics. More...
 
class  SymbolCheck
 The SymbolCheck class. More...
 
class  SymbolGraphicsItem
 The SymbolGraphicsItem class. More...
 
class  SymbolPin
 The SymbolPin class represents one pin of a symbol. More...
 
class  SymbolPinGraphicsItem
 The SymbolPinGraphicsItem class. More...
 
struct  SymbolPinListNameProvider
 
class  SystemInfo
 This class provides some methods to get information from the operating system. More...
 
class  TangentPathJoiner
 Helper class to join tangent paths (polylines) together. More...
 
class  Text
 The Text class. More...
 
class  TextGraphicsItem
 The TextGraphicsItem class is the graphical representation of a librepcb::Text. More...
 
struct  TextListNameProvider
 
class  Toolbox
 The Toolbox class provides some useful general purpose methods. More...
 
class  Trace
 The Trace class represents a trace within a board. More...
 
class  TraceAnchor
 The TraceAnchor class. More...
 
struct  TraceListNameProvider
 
class  TransactionalDirectory
 Helper class to access a subdirectory of TransactionalFileSystem. More...
 
class  TransactionalFileSystem
 Transactional librepcb::FileSystem implementation. More...
 
struct  UnsignedLengthConstraint
 
struct  UnsignedLengthVerifier
 
struct  UnsignedRatioConstraint
 
struct  UnsignedRatioVerifier
 
class  UserCanceled
 The UserCanceled class. More...
 
class  Uuid
 The Uuid class is a replacement for QUuid to get UUID strings without {} braces. More...
 
class  VAlign
 The VAlign class. More...
 
class  Version
 The Version class represents a version number in the format "1.42.7". More...
 
class  VersionFile
 Class for reading and writing version files from/to QByteArray. More...
 
class  Vertex
 The Vertex class. More...
 
class  Via
 The Via class represents a via of a board. More...
 
struct  ViaListNameProvider
 
class  Workspace
 The Workspace class represents a workspace with all its data (library, projects, settings, ...) More...
 
class  WorkspaceLibraryDb
 The WorkspaceLibraryDb class. More...
 
class  WorkspaceLibraryScanner
 The WorkspaceLibraryScanner class. More...
 
class  WorkspaceSettings
 Container for all workspace related settings. More...
 
class  WorkspaceSettingsItem
 Base class for all workspace settings items. More...
 
class  WorkspaceSettingsItem_GenericValue
 Generic implementation of librepcb::WorkspaceSettingsItem for simple, value-type settings. More...
 
class  WorkspaceSettingsItem_GenericValueList
 Generic implementation of librepcb::WorkspaceSettingsItem for simple, value-in-list-type settings. More...
 

Typedefs

using AttributeList = SerializableObjectList< Attribute, AttributeListNameProvider, Attribute::Event >
 
using AttributeKey = type_safe::constrained_type< QString, AttributeKeyConstraint, AttributeKeyVerifier >
 
using CircleList = SerializableObjectList< Circle, CircleListNameProvider, Circle::Event >
 
using HoleList = SerializableObjectList< Hole, HoleListNameProvider, Hole::Event >
 
using JunctionList = SerializableObjectList< Junction, JunctionListNameProvider, Junction::Event >
 
using NetLabelList = SerializableObjectList< NetLabel, NetLabelListNameProvider, NetLabel::Event >
 
using NetLineList = SerializableObjectList< NetLine, NetLineListNameProvider, NetLine::Event >
 
using PolygonList = SerializableObjectList< Polygon, PolygonListNameProvider, Polygon::Event >
 
using StrokeTextList = SerializableObjectList< StrokeText, StrokeTextListNameProvider, StrokeText::Event >
 
using TextList = SerializableObjectList< Text, TextListNameProvider, Text::Event >
 
using TraceList = SerializableObjectList< Trace, TraceListNameProvider, Trace::Event >
 
using ViaList = SerializableObjectList< Via, ViaListNameProvider, Via::Event >
 
using GraphicsLayerName = type_safe::constrained_type< QString, GraphicsLayerNameConstraint, GraphicsLayerNameVerifier >
 
using NormDependentPrefixMap = SerializableKeyValueMap< NormDependentPrefixMapPolicy >
 
using ComponentPinSignalMap = SerializableObjectList< ComponentPinSignalMapItem, ComponentPinSignalMapNameProvider, ComponentPinSignalMapItem::Event >
 
using ComponentPrefix = type_safe::constrained_type< QString, ComponentPrefixConstraint, ComponentPrefixVerifier >
 
using ComponentSignalList = SerializableObjectList< ComponentSignal, ComponentSignalListNameProvider, ComponentSignal::Event >
 
using ComponentSymbolVariantList = SerializableObjectList< ComponentSymbolVariant, ComponentSymbolVariantListNameProvider, ComponentSymbolVariant::Event >
 
using ComponentSymbolVariantItemList = SerializableObjectList< ComponentSymbolVariantItem, ComponentSymbolVariantItemListNameProvider, ComponentSymbolVariantItem::Event >
 
using ComponentSymbolVariantItemSuffix = type_safe::constrained_type< QString, ComponentSymbolVariantItemSuffixConstraint, ComponentSymbolVariantItemSuffixVerifier >
 
using DevicePadSignalMap = SerializableObjectList< DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event >
 
typedef QVector< std::shared_ptr< const LibraryElementCheckMessage > > LibraryElementCheckMessageList
 
using FootprintList = SerializableObjectList< Footprint, FootprintListNameProvider, Footprint::Event >
 
using FootprintPadList = SerializableObjectList< FootprintPad, FootprintPadListNameProvider, FootprintPad::Event >
 
using PackagePadList = SerializableObjectList< PackagePad, PackagePadListNameProvider, PackagePad::Event >
 
using SymbolPinList = SerializableObjectList< SymbolPin, SymbolPinListNameProvider, SymbolPin::Event >
 
using LocalizedNameMap = SerializableKeyValueMap< LocalizedNameMapPolicy >
 
using LocalizedDescriptionMap = SerializableKeyValueMap< LocalizedDescriptionMapPolicy >
 
using LocalizedKeywordsMap = SerializableKeyValueMap< LocalizedKeywordsMapPolicy >
 
using CircuitIdentifier = type_safe::constrained_type< QString, CircuitIdentifierConstraint, CircuitIdentifierVerifier >
 
using ElementName = type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier >
 
typedef qint64 LengthBase_t
 This type is the ONLY base type to store all lengths (always in nanometers)! More...
 
using UnsignedLength = type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier >
 
using PositiveLength = type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier >
 
using UnsignedRatio = type_safe::constrained_type< Ratio, UnsignedRatioConstraint, UnsignedRatioVerifier >
 

Functions

static QString cleanAttributeKey (const QString &userInput) noexcept
 
bool operator== (const AttributeKey &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const AttributeKey &rhs) noexcept
 
bool operator!= (const AttributeKey &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const AttributeKey &rhs) noexcept
 
template<>
SExpression serialize (const AttributeKey &obj)
 
template<>
AttributeKey deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const AttributeKey &obj)
 
QDebug operator<< (QDebug stream, const AttributeKey &obj)
 
uint qHash (const AttributeKey &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const AttributeType &obj)
 
template<>
const AttributeTypedeserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const AttributeUnit &obj)
 
QDataStream & operator<< (QDataStream &stream, const FilePath &filepath)
 
QDebug & operator<< (QDebug &stream, const FilePath &filepath)
 
uint qHash (const FilePath &key, uint seed) noexcept
 
uint qHash (const NetLineAnchor &key, uint seed) noexcept
 
uint qHash (const Path &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const StrokeTextSpacing &obj)
 
template<>
StrokeTextSpacing deserialize (const SExpression &sexpr, const Version &fileFormat)
 
uint qHash (const TraceAnchor &key, uint seed) noexcept
 
QDebug operator<< (QDebug stream, const Vertex &vertex)
 
uint qHash (const Vertex &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const Via::Shape &obj)
 
template<>
Via::Shape deserialize (const SExpression &sexpr, const Version &fileFormat)
 
bool operator== (const GraphicsLayerName &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const GraphicsLayerName &rhs) noexcept
 
bool operator!= (const GraphicsLayerName &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const GraphicsLayerName &rhs) noexcept
 
template<>
SExpression serialize (const GraphicsLayerName &obj)
 
template<>
GraphicsLayerName deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const GraphicsLayerName &obj)
 
QDebug operator<< (QDebug stream, const GraphicsLayerName &obj)
 
uint qHash (const GraphicsLayerName &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const CmpSigPinDisplayType &obj)
 
template<>
const CmpSigPinDisplayTypedeserialize (const SExpression &sexpr, const Version &fileFormat)
 
bool operator== (const ComponentPrefix &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const ComponentPrefix &rhs) noexcept
 
bool operator!= (const ComponentPrefix &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const ComponentPrefix &rhs) noexcept
 
QString operator% (const ComponentPrefix &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const ComponentPrefix &rhs) noexcept
 
template<>
SExpression serialize (const ComponentPrefix &obj)
 
template<>
ComponentPrefix deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const ComponentPrefix &obj)
 
QDebug operator<< (QDebug stream, const ComponentPrefix &obj)
 
uint qHash (const ComponentPrefix &key, uint seed=0) noexcept
 
static QString cleanComponentSymbolVariantItemSuffix (const QString &userInput) noexcept
 
bool operator== (const ComponentSymbolVariantItemSuffix &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const ComponentSymbolVariantItemSuffix &rhs) noexcept
 
bool operator!= (const ComponentSymbolVariantItemSuffix &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const ComponentSymbolVariantItemSuffix &rhs) noexcept
 
QString operator% (const ComponentSymbolVariantItemSuffix &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const ComponentSymbolVariantItemSuffix &rhs) noexcept
 
template<>
SExpression serialize (const ComponentSymbolVariantItemSuffix &obj)
 
template<>
ComponentSymbolVariantItemSuffix deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const ComponentSymbolVariantItemSuffix &obj)
 
QDebug operator<< (QDebug stream, const ComponentSymbolVariantItemSuffix &obj)
 
uint qHash (const ComponentSymbolVariantItemSuffix &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const FootprintPad::BoardSide &obj)
 
template<>
FootprintPad::BoardSide deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const FootprintPad::Shape &obj)
 
template<>
FootprintPad::Shape deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QStringList getAvailableNorms () noexcept
 Get a list of available "built-in" norms. More...
 
QIcon getNormIcon (const QString &norm) noexcept
 
template<>
SExpression serialize (const BI_Plane::ConnectStyle &obj)
 
template<>
BI_Plane::ConnectStyle deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<typename T >
SExpression serialize (const T &obj)
 
template<typename T >
deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const QString &obj)
 
template<>
SExpression serialize (const bool &obj)
 
template<>
SExpression serialize (const int &obj)
 
template<>
SExpression serialize (const uint &obj)
 
template<>
SExpression serialize (const QColor &obj)
 
template<>
SExpression serialize (const QUrl &obj)
 
template<>
SExpression serialize (const QDateTime &obj)
 
template<>
SExpression serialize (const SExpression &obj)
 
template<>
QString deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
bool deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
int deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
uint deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
QDateTime deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
QColor deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
QUrl deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const HAlign &obj)
 
template<>
HAlign deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const VAlign &obj)
 
template<>
VAlign deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const Angle &obj)
 
template<>
Angle deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const Angle &angle)
 
QDebug operator<< (QDebug stream, const Angle &angle)
 
uint qHash (const Angle &key, uint seed=0) noexcept
 
static QString cleanCircuitIdentifier (const QString &userInput) noexcept
 
bool operator== (const CircuitIdentifier &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const CircuitIdentifier &rhs) noexcept
 
bool operator!= (const CircuitIdentifier &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const CircuitIdentifier &rhs) noexcept
 
QString operator% (const CircuitIdentifier &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const CircuitIdentifier &rhs) noexcept
 
QString operator% (const CircuitIdentifier &lhs, const CircuitIdentifier &rhs) noexcept
 
template<>
SExpression serialize (const CircuitIdentifier &obj)
 
template<>
CircuitIdentifier deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const tl::optional< CircuitIdentifier > &obj)
 
template<>
tl::optional< CircuitIdentifierdeserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const CircuitIdentifier &obj)
 
QDebug operator<< (QDebug stream, const CircuitIdentifier &obj)
 
uint qHash (const CircuitIdentifier &key, uint seed=0) noexcept
 
static QString cleanElementName (const QString &userInput) noexcept
 
bool operator== (const ElementName &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const ElementName &rhs) noexcept
 
bool operator!= (const ElementName &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const ElementName &rhs) noexcept
 
QString operator% (const ElementName &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const ElementName &rhs) noexcept
 
ElementName operator% (const ElementName &lhs, const ElementName &rhs) noexcept
 
template<>
SExpression serialize (const ElementName &obj)
 
template<>
ElementName deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const ElementName &obj)
 
QDebug operator<< (QDebug stream, const ElementName &obj)
 
uint qHash (const ElementName &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const GridProperties::Type_t &obj)
 
template<>
GridProperties::Type_t deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const Length &obj)
 
template<>
Length deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const Length &length)
 
QDebug operator<< (QDebug stream, const Length &length)
 
uint qHash (const Length &key, uint seed=0) noexcept
 
UnsignedLength operator+ (const UnsignedLength &lhs, const UnsignedLength &rhs) noexcept
 
UnsignedLengthoperator+= (UnsignedLength &lhs, const UnsignedLength &rhs) noexcept
 
Length operator* (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
Length operator/ (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
Length operator+ (const Length &lhs, const UnsignedLength &rhs) noexcept
 
Length operator+ (const UnsignedLength &lhs, const Length &rhs) noexcept
 
Length operator- (const Length &lhs, const UnsignedLength &rhs) noexcept
 
Length operator- (const UnsignedLength &lhs, const Length &rhs) noexcept
 
Length operator- (const UnsignedLength &lhs) noexcept
 
bool operator> (const UnsignedLength &lhs, const Length &rhs) noexcept
 
bool operator> (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
bool operator>= (const UnsignedLength &lhs, const Length &rhs) noexcept
 
bool operator>= (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
bool operator< (const UnsignedLength &lhs, const Length &rhs) noexcept
 
bool operator< (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
bool operator== (const UnsignedLength &lhs, const Length &rhs) noexcept
 
bool operator== (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
bool operator!= (const UnsignedLength &lhs, const Length &rhs) noexcept
 
bool operator!= (const UnsignedLength &lhs, LengthBase_t rhs) noexcept
 
template<>
SExpression serialize (const UnsignedLength &obj)
 
template<>
UnsignedLength deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const UnsignedLength &length)
 
QDebug operator<< (QDebug stream, const UnsignedLength &length)
 
uint qHash (const UnsignedLength &key, uint seed=0) noexcept
 
UnsignedLength positiveToUnsigned (const PositiveLength &l) noexcept
 
PositiveLength operator+ (const PositiveLength &lhs, const PositiveLength &rhs) noexcept
 
PositiveLength operator+ (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
PositiveLength operator+ (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
PositiveLengthoperator+= (PositiveLength &lhs, const PositiveLength &rhs) noexcept
 
PositiveLengthoperator+= (PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
UnsignedLengthoperator+= (UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
Length operator* (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
Length operator/ (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
Length operator+ (const Length &lhs, const PositiveLength &rhs) noexcept
 
Length operator+ (const PositiveLength &lhs, const Length &rhs) noexcept
 
Length operator- (const Length &lhs, const PositiveLength &rhs) noexcept
 
Length operator- (const PositiveLength &lhs, const Length &rhs) noexcept
 
Length operator- (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
Length operator- (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
Length operator- (const PositiveLength &lhs) noexcept
 
bool operator> (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
bool operator> (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
bool operator> (const PositiveLength &lhs, const Length &rhs) noexcept
 
bool operator> (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
bool operator>= (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
bool operator>= (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
bool operator>= (const PositiveLength &lhs, const Length &rhs) noexcept
 
bool operator>= (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
bool operator< (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
bool operator< (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
bool operator< (const PositiveLength &lhs, const Length &rhs) noexcept
 
bool operator< (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
bool operator== (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
bool operator== (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
bool operator== (const PositiveLength &lhs, const Length &rhs) noexcept
 
bool operator== (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
bool operator!= (const UnsignedLength &lhs, const PositiveLength &rhs) noexcept
 
bool operator!= (const PositiveLength &lhs, const UnsignedLength &rhs) noexcept
 
bool operator!= (const PositiveLength &lhs, const Length &rhs) noexcept
 
bool operator!= (const PositiveLength &lhs, LengthBase_t rhs) noexcept
 
template<>
SExpression serialize (const PositiveLength &obj)
 
template<>
PositiveLength deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const PositiveLength &length)
 
QDebug operator<< (QDebug stream, const PositiveLength &length)
 
uint qHash (const PositiveLength &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const LengthUnit &obj)
 
template<>
LengthUnit deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const LengthUnit &unit)
 
QDebug operator<< (QDebug stream, const LengthUnit &unit)
 
QDataStream & operator<< (QDataStream &stream, const Point &point)
 
QDebug operator<< (QDebug stream, const Point &point)
 
uint qHash (const Point &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const Ratio &obj)
 
template<>
Ratio deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const Ratio &ratio)
 
QDebug operator<< (QDebug stream, const Ratio &ratio)
 
uint qHash (const Ratio &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const UnsignedRatio &obj)
 
template<>
UnsignedRatio deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const UnsignedRatio &ratio)
 
QDebug operator<< (QDebug stream, const UnsignedRatio &ratio)
 
uint qHash (const UnsignedRatio &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const SignalRole &obj)
 
template<>
SignalRole deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const Uuid &obj)
 
template<>
Uuid deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const tl::optional< Uuid > &obj)
 
template<>
tl::optional< Uuiddeserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const Uuid &uuid) noexcept
 
QDebug operator<< (QDebug stream, const Uuid &uuid) noexcept
 
uint qHash (const Uuid &key, uint seed) noexcept
 
template<>
SExpression serialize (const Version &obj)
 
template<>
Version deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<class Fun >
ScopeGuard< Fun > scopeGuard (Fun f)
 
template<>
SExpression serialize (const WorkspaceSettings::PdfOpenBehavior &b)
 
template<>
WorkspaceSettings::PdfOpenBehavior deserialize (const SExpression &sexpr, const Version &fileFormat)
 

Typedef Documentation

◆ AttributeList

◆ AttributeKey

using AttributeKey = type_safe::constrained_type<QString, AttributeKeyConstraint, AttributeKeyVerifier>

AttributeKey is a wrapper around QString which guarantees to contain a valid key for librepcb::Attribute.

An attribute key is considered as valid if it:

  • contains minimum 1 and maximum 40 characters
  • only contains the characters [A-Z] (uppercase), [0-9] or [_] (underscore)

The constructor throws an exception if constructed from a QString which is not a valid attribute key according these rules.

◆ CircleList

◆ HoleList

◆ JunctionList

◆ NetLabelList

◆ NetLineList

◆ PolygonList

◆ StrokeTextList

◆ TextList

◆ TraceList

◆ ViaList

◆ GraphicsLayerName

using GraphicsLayerName = type_safe::constrained_type<QString, GraphicsLayerNameConstraint, GraphicsLayerNameVerifier>

GraphicsLayerName is a wrapper around QString which guarantees to contain a valid name for librepcb::GraphicsLayer

A string is considered as valid graphics layer name if:

  • it contains minimum 1 and maximum 40 characters
  • the first character is one of [a-z] (lowercase)
  • the following characters are [a-z] (lowercase), [0-9] or [_] (underscore)

The constructor throws an exception if constructed from a QString which is not a valid graphics layer name according these rules.

◆ NormDependentPrefixMap

◆ ComponentPinSignalMap

◆ ComponentPrefix

using ComponentPrefix = type_safe::constrained_type<QString, ComponentPrefixConstraint, ComponentPrefixVerifier>

ComponentPrefix is a wrapper around QString which guarantees to contain a valid prefix used for librepcb::Component (e.g. "R" for a resistor)

A component prefix is considered as valid if it:

  • contains only the characters [a-zA-Z_]
  • is not longer than 16 characters

The constructor throws an exception if constructed from a QString which is not a valid component prefix according these rules.

◆ ComponentSignalList

◆ ComponentSymbolVariantList

◆ ComponentSymbolVariantItemList

◆ ComponentSymbolVariantItemSuffix

ComponentSymbolVariantItemSuffix is a wrapper around QString which guarantees to contain a valid suffix used for librepcb::ComponentSymbolVariantItem

Such a suffix is considered as valid if it:

  • contains only the characters [0-9a-zA-Z_-]
  • is not longer than 16 characters

The constructor throws an exception if constructed from a QString which is not a valid suffix according these rules.

◆ DevicePadSignalMap

◆ LibraryElementCheckMessageList

typedef QVector<std::shared_ptr<const LibraryElementCheckMessage> > LibraryElementCheckMessageList

◆ FootprintList

◆ FootprintPadList

◆ PackagePadList

◆ SymbolPinList

◆ LocalizedNameMap

◆ LocalizedDescriptionMap

◆ LocalizedKeywordsMap

◆ CircuitIdentifier

using CircuitIdentifier = type_safe::constrained_type<QString, CircuitIdentifierConstraint, CircuitIdentifierVerifier>

CircuitIdentifier is a wrapper around QString which guarantees to contain a valid identifier used in circuits.

Circuit identifiers can be used for net names, component names or similar things. Such identifiers may be used in SPICE netlist exports, Gerber exports and so on. Because such file formats have pretty strict requirements on identifiers, we use similar restrictions in LibrePCB.

An circuit identifier is considered as valid if it:

  • contains minimum 1 and maximum 32 characters
  • contains only the characters [-a-zA-Z0-9_+/!?#$]

The constructor throws an exception if constructed from a QString which is not a valid circuit identifier according these rules.

◆ ElementName

using ElementName = type_safe::constrained_type<QString, ElementNameConstraint, ElementNameVerifier>

ElementName is a wrapper around QString which guarantees to contain a valid element name (used as name for several objects)

An element name is considered as valid if it:

  • contains minimum 1 and maximum 70 characters
  • contains only printable characters
  • does not start or end with whitespaces

The constructor throws an exception if constructed from a QString which is not a valid element name according these rules.

◆ LengthBase_t

typedef qint64 LengthBase_t

This type is the ONLY base type to store all lengths (always in nanometers)!

This is the base type of the class librepcb::Length.

This type is normally a 64bit signed integer. 32bit integers could handle these values also, but is limited to +/-2.147 meters. Maybe this is not enough for large PCBs or schematics, so it's better to use 64bit variables ;-)

Note
Set the define USE_32BIT_LENGTH_UNITS in the *.pro file if you want to use 32bit integers instead of 64bit integers for all length units (maybe your platform cannot handle 64bit as efficient as 32bit integers).
See also
librepcb::Length

◆ UnsignedLength

using UnsignedLength = type_safe::constrained_type<Length, UnsignedLengthConstraint, UnsignedLengthVerifier>

UnsignedLength is a wrapper around a librepcb::Length object which is guaranteed to always contain an unsigned (i.e. >= 0) value.

The constructor throws an exception if constructed from a librepcb::Length object with a negative value!

◆ PositiveLength

using PositiveLength = type_safe::constrained_type<Length, PositiveLengthConstraint, PositiveLengthVerifier>

PositiveLength is a wrapper around a librepcb::Length object which is guaranteed to always contain a positive (i.e. > 0) value.

The constructor throws an exception if constructed from a librepcb::Length object with a negative or zero value!

◆ UnsignedRatio

using UnsignedRatio = type_safe::constrained_type<Ratio, UnsignedRatioConstraint, UnsignedRatioVerifier>

UnsignedRatio is a wrapper around a librepcb::Ratio object which is guaranteed to always contain an unsigned (i.e. >= 0) value.

The constructor throws an exception if constructed from a librepcb::Ratio object with a negative value!

Function Documentation

◆ cleanAttributeKey()

static QString librepcb::cleanAttributeKey ( const QString &  userInput)
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==() [1/18]

bool librepcb::operator== ( const AttributeKey lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator==() [2/18]

bool librepcb::operator== ( const QString &  lhs,
const AttributeKey rhs 
)
inlinenoexcept

◆ operator!=() [1/18]

bool librepcb::operator!= ( const AttributeKey lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator!=() [2/18]

bool librepcb::operator!= ( const QString &  lhs,
const AttributeKey rhs 
)
inlinenoexcept

◆ serialize() [1/39]

SExpression librepcb::serialize ( const AttributeKey obj)
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deserialize() [1/37]

AttributeKey librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the caller graph for this function:

◆ operator<<() [1/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const AttributeKey obj 
)
inline

◆ operator<<() [2/33]

QDebug librepcb::operator<< ( QDebug  stream,
const AttributeKey obj 
)
inline

◆ qHash() [1/19]

uint librepcb::qHash ( const AttributeKey key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the caller graph for this function:

◆ serialize() [2/39]

SExpression librepcb::serialize ( const AttributeType obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [2/37]

const AttributeType& librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [3/39]

SExpression librepcb::serialize ( const AttributeUnit obj)
inline
+ Here is the call graph for this function:

◆ operator<<() [3/33]

QDataStream & operator<< ( QDataStream &  stream,
const FilePath filepath 
)
+ Here is the call graph for this function:

◆ operator<<() [4/33]

QDebug & operator<< ( QDebug &  stream,
const FilePath filepath 
)
+ Here is the call graph for this function:

◆ qHash() [2/19]

uint librepcb::qHash ( const FilePath key,
uint  seed 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ qHash() [3/19]

uint librepcb::qHash ( const NetLineAnchor key,
uint  seed 
)
inlinenoexcept

◆ qHash() [4/19]

uint librepcb::qHash ( const Path key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ serialize() [4/39]

SExpression librepcb::serialize ( const StrokeTextSpacing obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [3/37]

StrokeTextSpacing librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ qHash() [5/19]

uint librepcb::qHash ( const TraceAnchor key,
uint  seed 
)
inlinenoexcept

◆ operator<<() [5/33]

QDebug operator<< ( QDebug  stream,
const Vertex vertex 
)
+ Here is the call graph for this function:

◆ qHash() [6/19]

uint librepcb::qHash ( const Vertex key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ serialize() [5/39]

SExpression librepcb::serialize ( const Via::Shape obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [4/37]

Via::Shape librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator==() [3/18]

bool librepcb::operator== ( const GraphicsLayerName lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator==() [4/18]

bool librepcb::operator== ( const QString &  lhs,
const GraphicsLayerName rhs 
)
inlinenoexcept

◆ operator!=() [3/18]

bool librepcb::operator!= ( const GraphicsLayerName lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator!=() [4/18]

bool librepcb::operator!= ( const QString &  lhs,
const GraphicsLayerName rhs 
)
inlinenoexcept

◆ serialize() [6/39]

SExpression librepcb::serialize ( const GraphicsLayerName obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [5/37]

GraphicsLayerName librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [6/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const GraphicsLayerName obj 
)
inline

◆ operator<<() [7/33]

QDebug librepcb::operator<< ( QDebug  stream,
const GraphicsLayerName obj 
)
inline

◆ qHash() [7/19]

uint librepcb::qHash ( const GraphicsLayerName key,
uint  seed = 0 
)
inlinenoexcept

◆ serialize() [7/39]

SExpression librepcb::serialize ( const CmpSigPinDisplayType obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [6/37]

const CmpSigPinDisplayType& librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator==() [5/18]

bool librepcb::operator== ( const ComponentPrefix lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator==() [6/18]

bool librepcb::operator== ( const QString &  lhs,
const ComponentPrefix rhs 
)
inlinenoexcept

◆ operator!=() [5/18]

bool librepcb::operator!= ( const ComponentPrefix lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator!=() [6/18]

bool librepcb::operator!= ( const QString &  lhs,
const ComponentPrefix rhs 
)
inlinenoexcept

◆ operator%() [1/10]

QString librepcb::operator% ( const ComponentPrefix lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator%() [2/10]

QString librepcb::operator% ( const QString &  lhs,
const ComponentPrefix rhs 
)
inlinenoexcept

◆ serialize() [8/39]

SExpression librepcb::serialize ( const ComponentPrefix obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [7/37]

ComponentPrefix librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [8/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const ComponentPrefix obj 
)
inline

◆ operator<<() [9/33]

QDebug librepcb::operator<< ( QDebug  stream,
const ComponentPrefix obj 
)
inline

◆ qHash() [8/19]

uint librepcb::qHash ( const ComponentPrefix key,
uint  seed = 0 
)
inlinenoexcept

◆ cleanComponentSymbolVariantItemSuffix()

static QString librepcb::cleanComponentSymbolVariantItemSuffix ( const QString &  userInput)
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==() [7/18]

bool librepcb::operator== ( const ComponentSymbolVariantItemSuffix lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator==() [8/18]

bool librepcb::operator== ( const QString &  lhs,
const ComponentSymbolVariantItemSuffix rhs 
)
inlinenoexcept

◆ operator!=() [7/18]

bool librepcb::operator!= ( const ComponentSymbolVariantItemSuffix lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator!=() [8/18]

bool librepcb::operator!= ( const QString &  lhs,
const ComponentSymbolVariantItemSuffix rhs 
)
inlinenoexcept

◆ operator%() [3/10]

QString librepcb::operator% ( const ComponentSymbolVariantItemSuffix lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator%() [4/10]

QString librepcb::operator% ( const QString &  lhs,
const ComponentSymbolVariantItemSuffix rhs 
)
inlinenoexcept

◆ serialize() [9/39]

SExpression librepcb::serialize ( const ComponentSymbolVariantItemSuffix obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [8/37]

ComponentSymbolVariantItemSuffix librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [10/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const ComponentSymbolVariantItemSuffix obj 
)
inline

◆ operator<<() [11/33]

QDebug librepcb::operator<< ( QDebug  stream,
const ComponentSymbolVariantItemSuffix obj 
)
inline

◆ qHash() [9/19]

uint librepcb::qHash ( const ComponentSymbolVariantItemSuffix key,
uint  seed = 0 
)
inlinenoexcept

◆ serialize() [10/39]

SExpression librepcb::serialize ( const FootprintPad::BoardSide obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [9/37]

FootprintPad::BoardSide librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [11/39]

SExpression librepcb::serialize ( const FootprintPad::Shape obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [10/37]

FootprintPad::Shape librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ getAvailableNorms()

QStringList librepcb::getAvailableNorms ( )
inlinenoexcept

Get a list of available "built-in" norms.

These norms are used e.g. in the library editor and workspace/project settings dialogs.

Returns
List of norms
+ Here is the caller graph for this function:

◆ getNormIcon()

QIcon librepcb::getNormIcon ( const QString &  norm)
inlinenoexcept
+ Here is the caller graph for this function:

◆ serialize() [12/39]

SExpression librepcb::serialize ( const BI_Plane::ConnectStyle obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [11/37]

BI_Plane::ConnectStyle librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [13/39]

SExpression librepcb::serialize ( const T &  obj)

Serialize an object to a librepcb::SExpression

Template Parameters
TType of object to serialize.
Parameters
objObject to serialize.
Returns
Serialized S-Expression.
Exceptions
librepcb::Exceptionin case of an error.

◆ deserialize() [12/37]

T librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ serialize() [14/39]

SExpression librepcb::serialize ( const QString &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [15/39]

SExpression librepcb::serialize ( const bool &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [16/39]

SExpression librepcb::serialize ( const int &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [17/39]

SExpression librepcb::serialize ( const uint &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [18/39]

SExpression librepcb::serialize ( const QColor &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [19/39]

SExpression librepcb::serialize ( const QUrl &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [20/39]

SExpression librepcb::serialize ( const QDateTime &  obj)
inline
+ Here is the call graph for this function:

◆ serialize() [21/39]

SExpression librepcb::serialize ( const SExpression obj)
inline

◆ deserialize() [13/37]

QString librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ deserialize() [14/37]

bool librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ deserialize() [15/37]

int librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ deserialize() [16/37]

uint librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ deserialize() [17/37]

QDateTime librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ deserialize() [18/37]

QColor librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ deserialize() [19/37]

QUrl librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [22/39]

SExpression librepcb::serialize ( const HAlign obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [20/37]

HAlign librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [23/39]

SExpression librepcb::serialize ( const VAlign obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [21/37]

VAlign librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [24/39]

SExpression librepcb::serialize ( const Angle obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [22/37]

Angle librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [12/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const Angle angle 
)
inline
+ Here is the call graph for this function:

◆ operator<<() [13/33]

QDebug librepcb::operator<< ( QDebug  stream,
const Angle angle 
)
inline
+ Here is the call graph for this function:

◆ qHash() [10/19]

uint librepcb::qHash ( const Angle key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ cleanCircuitIdentifier()

static QString librepcb::cleanCircuitIdentifier ( const QString &  userInput)
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==() [9/18]

bool librepcb::operator== ( const CircuitIdentifier lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator==() [10/18]

bool librepcb::operator== ( const QString &  lhs,
const CircuitIdentifier rhs 
)
inlinenoexcept

◆ operator!=() [9/18]

bool librepcb::operator!= ( const CircuitIdentifier lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator!=() [10/18]

bool librepcb::operator!= ( const QString &  lhs,
const CircuitIdentifier rhs 
)
inlinenoexcept

◆ operator%() [5/10]

QString librepcb::operator% ( const CircuitIdentifier lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator%() [6/10]

QString librepcb::operator% ( const QString &  lhs,
const CircuitIdentifier rhs 
)
inlinenoexcept

◆ operator%() [7/10]

QString librepcb::operator% ( const CircuitIdentifier lhs,
const CircuitIdentifier rhs 
)
inlinenoexcept

◆ serialize() [25/39]

SExpression librepcb::serialize ( const CircuitIdentifier obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [23/37]

CircuitIdentifier librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [26/39]

SExpression librepcb::serialize ( const tl::optional< CircuitIdentifier > &  obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [24/37]

tl::optional<CircuitIdentifier> librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [14/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const CircuitIdentifier obj 
)
inline

◆ operator<<() [15/33]

QDebug librepcb::operator<< ( QDebug  stream,
const CircuitIdentifier obj 
)
inline

◆ qHash() [11/19]

uint librepcb::qHash ( const CircuitIdentifier key,
uint  seed = 0 
)
inlinenoexcept

◆ cleanElementName()

static QString librepcb::cleanElementName ( const QString &  userInput)
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ operator==() [11/18]

bool librepcb::operator== ( const ElementName lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator==() [12/18]

bool librepcb::operator== ( const QString &  lhs,
const ElementName rhs 
)
inlinenoexcept

◆ operator!=() [11/18]

bool librepcb::operator!= ( const ElementName lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator!=() [12/18]

bool librepcb::operator!= ( const QString &  lhs,
const ElementName rhs 
)
inlinenoexcept

◆ operator%() [8/10]

QString librepcb::operator% ( const ElementName lhs,
const QString &  rhs 
)
inlinenoexcept

◆ operator%() [9/10]

QString librepcb::operator% ( const QString &  lhs,
const ElementName rhs 
)
inlinenoexcept

◆ operator%() [10/10]

ElementName librepcb::operator% ( const ElementName lhs,
const ElementName rhs 
)
inlinenoexcept

◆ serialize() [27/39]

SExpression librepcb::serialize ( const ElementName obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [25/37]

ElementName librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [16/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const ElementName obj 
)
inline

◆ operator<<() [17/33]

QDebug librepcb::operator<< ( QDebug  stream,
const ElementName obj 
)
inline

◆ qHash() [12/19]

uint librepcb::qHash ( const ElementName key,
uint  seed = 0 
)
inlinenoexcept

◆ serialize() [28/39]

SExpression librepcb::serialize ( const GridProperties::Type_t obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [26/37]

GridProperties::Type_t librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [29/39]

SExpression librepcb::serialize ( const Length obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [27/37]

Length librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [18/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const Length length 
)
inline
+ Here is the call graph for this function:

◆ operator<<() [19/33]

QDebug librepcb::operator<< ( QDebug  stream,
const Length length 
)
inline
+ Here is the call graph for this function:

◆ qHash() [13/19]

uint librepcb::qHash ( const Length key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ operator+() [1/8]

UnsignedLength librepcb::operator+ ( const UnsignedLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator+=() [1/4]

UnsignedLength& librepcb::operator+= ( UnsignedLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator*() [1/2]

Length librepcb::operator* ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator/() [1/2]

Length librepcb::operator/ ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator+() [2/8]

Length librepcb::operator+ ( const Length lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator+() [3/8]

Length librepcb::operator+ ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator-() [1/8]

Length librepcb::operator- ( const Length lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator-() [2/8]

Length librepcb::operator- ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator-() [3/8]

Length librepcb::operator- ( const UnsignedLength lhs)
inlinenoexcept

◆ operator>() [1/6]

bool librepcb::operator> ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator>() [2/6]

bool librepcb::operator> ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator>=() [1/6]

bool librepcb::operator>= ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator>=() [2/6]

bool librepcb::operator>= ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator<() [1/6]

bool librepcb::operator< ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator<() [2/6]

bool librepcb::operator< ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator==() [13/18]

bool librepcb::operator== ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator==() [14/18]

bool librepcb::operator== ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator!=() [13/18]

bool librepcb::operator!= ( const UnsignedLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator!=() [14/18]

bool librepcb::operator!= ( const UnsignedLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ serialize() [30/39]

SExpression librepcb::serialize ( const UnsignedLength obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [28/37]

UnsignedLength librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.

◆ operator<<() [20/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const UnsignedLength length 
)
inline

◆ operator<<() [21/33]

QDebug librepcb::operator<< ( QDebug  stream,
const UnsignedLength length 
)
inline

◆ qHash() [14/19]

uint librepcb::qHash ( const UnsignedLength key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ positiveToUnsigned()

UnsignedLength librepcb::positiveToUnsigned ( const PositiveLength l)
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator+() [4/8]

PositiveLength librepcb::operator+ ( const PositiveLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator+() [5/8]

PositiveLength librepcb::operator+ ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator+() [6/8]

PositiveLength librepcb::operator+ ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator+=() [2/4]

PositiveLength& librepcb::operator+= ( PositiveLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator+=() [3/4]

PositiveLength& librepcb::operator+= ( PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator+=() [4/4]

UnsignedLength& librepcb::operator+= ( UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ operator*() [2/2]

Length librepcb::operator* ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator/() [2/2]

Length librepcb::operator/ ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator+() [7/8]

Length librepcb::operator+ ( const Length lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator+() [8/8]

Length librepcb::operator+ ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator-() [4/8]

Length librepcb::operator- ( const Length lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator-() [5/8]

Length librepcb::operator- ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator-() [6/8]

Length librepcb::operator- ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator-() [7/8]

Length librepcb::operator- ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator-() [8/8]

Length librepcb::operator- ( const PositiveLength lhs)
inlinenoexcept

◆ operator>() [3/6]

bool librepcb::operator> ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator>() [4/6]

bool librepcb::operator> ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator>() [5/6]

bool librepcb::operator> ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator>() [6/6]

bool librepcb::operator> ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator>=() [3/6]

bool librepcb::operator>= ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator>=() [4/6]

bool librepcb::operator>= ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator>=() [5/6]

bool librepcb::operator>= ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator>=() [6/6]

bool librepcb::operator>= ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator<() [3/6]

bool librepcb::operator< ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator<() [4/6]

bool librepcb::operator< ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator<() [5/6]

bool librepcb::operator< ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator<() [6/6]

bool librepcb::operator< ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator==() [15/18]

bool librepcb::operator== ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator==() [16/18]

bool librepcb::operator== ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator==() [17/18]

bool librepcb::operator== ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator==() [18/18]

bool librepcb::operator== ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ operator!=() [15/18]

bool librepcb::operator!= ( const UnsignedLength lhs,
const PositiveLength rhs 
)
inlinenoexcept

◆ operator!=() [16/18]

bool librepcb::operator!= ( const PositiveLength lhs,
const UnsignedLength rhs 
)
inlinenoexcept

◆ operator!=() [17/18]

bool librepcb::operator!= ( const PositiveLength lhs,
const Length rhs 
)
inlinenoexcept

◆ operator!=() [18/18]

bool librepcb::operator!= ( const PositiveLength lhs,
LengthBase_t  rhs 
)
inlinenoexcept

◆ serialize() [31/39]

SExpression librepcb::serialize ( const PositiveLength obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [29/37]

PositiveLength librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.

◆ operator<<() [22/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const PositiveLength length 
)
inline

◆ operator<<() [23/33]

QDebug librepcb::operator<< ( QDebug  stream,
const PositiveLength length 
)
inline

◆ qHash() [15/19]

uint librepcb::qHash ( const PositiveLength key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the caller graph for this function:

◆ serialize() [32/39]

SExpression librepcb::serialize ( const LengthUnit obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [30/37]

LengthUnit librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [24/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const LengthUnit unit 
)
inline
+ Here is the call graph for this function:

◆ operator<<() [25/33]

QDebug librepcb::operator<< ( QDebug  stream,
const LengthUnit unit 
)
inline
+ Here is the call graph for this function:

◆ operator<<() [26/33]

QDataStream & operator<< ( QDataStream &  stream,
const Point point 
)
+ Here is the call graph for this function:

◆ operator<<() [27/33]

QDebug operator<< ( QDebug  stream,
const Point point 
)
+ Here is the call graph for this function:

◆ qHash() [16/19]

uint librepcb::qHash ( const Point key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ serialize() [33/39]

SExpression librepcb::serialize ( const Ratio obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [31/37]

Ratio librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [28/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const Ratio ratio 
)
inline
+ Here is the call graph for this function:

◆ operator<<() [29/33]

QDebug librepcb::operator<< ( QDebug  stream,
const Ratio ratio 
)
inline
+ Here is the call graph for this function:

◆ qHash() [17/19]

uint librepcb::qHash ( const Ratio key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ serialize() [34/39]

SExpression librepcb::serialize ( const UnsignedRatio obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [32/37]

UnsignedRatio librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.

◆ operator<<() [30/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const UnsignedRatio ratio 
)
inline

◆ operator<<() [31/33]

QDebug librepcb::operator<< ( QDebug  stream,
const UnsignedRatio ratio 
)
inline

◆ qHash() [18/19]

uint librepcb::qHash ( const UnsignedRatio key,
uint  seed = 0 
)
inlinenoexcept
+ Here is the caller graph for this function:

◆ serialize() [35/39]

SExpression librepcb::serialize ( const SignalRole obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [33/37]

SignalRole librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [36/39]

SExpression librepcb::serialize ( const Uuid obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [34/37]

Uuid librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ serialize() [37/39]

SExpression librepcb::serialize ( const tl::optional< Uuid > &  obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [35/37]

tl::optional<Uuid> librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ operator<<() [32/33]

QDataStream& librepcb::operator<< ( QDataStream &  stream,
const Uuid uuid 
)
inlinenoexcept

◆ operator<<() [33/33]

QDebug librepcb::operator<< ( QDebug  stream,
const Uuid uuid 
)
inlinenoexcept

◆ qHash() [19/19]

uint librepcb::qHash ( const Uuid key,
uint  seed 
)
inlinenoexcept

◆ serialize() [38/39]

SExpression librepcb::serialize ( const Version obj)
inline
+ Here is the call graph for this function:

◆ deserialize() [36/37]

Version librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function:

◆ scopeGuard()

ScopeGuard<Fun> librepcb::scopeGuard ( Fun  f)

Create a ScopeGuard using argument deduction.

+ Here is the caller graph for this function:

◆ serialize() [39/39]

SExpression librepcb::serialize ( const WorkspaceSettings::PdfOpenBehavior b)
inline
+ Here is the call graph for this function:

◆ deserialize() [37/37]

WorkspaceSettings::PdfOpenBehavior librepcb::deserialize ( const SExpression sexpr,
const Version fileFormat 
)
inline

Deserialize an librepcb::SExpression to an object

Template Parameters
TType of object to deserialize.
Parameters
sexprS-Expression to deserialize.
fileFormatThe file format version of the passed S-Expression. If this is older than the latest file format version, a migration might need to be performed.
Returns
Deserialized object.
Exceptions
librepcb::Exceptionin case of an error.
+ Here is the call graph for this function: