LibrePCB Developers Documentation
librepcb Namespace Reference

Namespaces

 application
 
 cli
 
 eagleimport
 
 library
 
 project
 
 Ui
 
 workspace
 

Classes

class  AboutDialog
 The AboutDialog class. More...
 
class  AirWiresBuilder
 The AirWiresBuilder class. More...
 
class  Alignment
 The Alignment class. More...
 
class  AlignmentSelector
 The AlignmentSelector class. More...
 
class  Angle
 The Angle class is used to represent an angle (for example 12.75 degrees) More...
 
class  AngleDelegate
 Subclass of QStyledItemDelegate to display/edit librepcb::Angle values. More...
 
class  AngleEdit
 The AngleEdit class is a widget to view/edit librepcb::Angle values. 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
 
class  AttributeListEditorWidget
 The AttributeListEditorWidget class. More...
 
class  AttributeListModel
 The AttributeListModel class. More...
 
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  AttributeTypeComboBox
 The AttributeTypeComboBox class. More...
 
class  AttributeUnit
 The AttributeUnit class. More...
 
class  AttributeUnitComboBox
 The AttributeUnitComboBox 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  BoardDesignRules
 The BoardDesignRules class. More...
 
class  BoardDesignRulesDialog
 The BoardDesignRulesDialog class. More...
 
class  Bom
 The Bom class represents a bill of materials list. More...
 
class  BomCsvWriter
 The BomCsvWriter class. More...
 
class  BomItem
 The BomItem class represents an item of a bill of materials list. More...
 
class  CenteredCheckBox
 The CenteredCheckBox class is a centered variant of the QCheckBox. More...
 
class  Circle
 The Circle class. More...
 
class  CircleGraphicsItem
 The CircleGraphicsItem class. More...
 
struct  CircleListNameProvider
 
class  CirclePropertiesDialog
 The CirclePropertiesDialog class. More...
 
struct  CircuitIdentifierConstraint
 
struct  CircuitIdentifierVerifier
 
class  ClipperHelpers
 The ClipperHelpers class. More...
 
class  CmdAttributeEdit
 The CmdAttributeEdit class. More...
 
class  CmdCircleEdit
 The CmdCircleEdit class. More...
 
class  CmdHoleEdit
 The CmdHoleEdit class. More...
 
class  CmdListElementInsert
 The CmdListElementInsert class. More...
 
class  CmdListElementRemove
 The CmdListElementRemove class. More...
 
class  CmdListElementsSwap
 The CmdListElementsSwap class. More...
 
class  CmdPolygonEdit
 The CmdPolygonEdit class. More...
 
class  CmdStrokeTextEdit
 The CmdStrokeTextEdit class. More...
 
class  CmdTextEdit
 The CmdTextEdit class. More...
 
class  ComboBoxDelegate
 Subclass of QStyledItemDelegate which uses QComboBox as item editor. More...
 
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  DirectoryLock
 This class can be used to implement file-based directory locks. More...
 
class  DoubleSpinBox
 The DoubleSpinBox class is a customized QDoubleSpinBox widget. More...
 
class  EditableListModel
 A generic QAbstractTableModel subclass to view and edit list of various data types. More...
 
class  EditableTableWidget
 A QTableView subclass which adds buttons to edit the underlying model. More...
 
struct  ElementNameConstraint
 
struct  ElementNameVerifier
 
class  ExcellonGenerator
 The ExcellonGenerator class. More...
 
class  Exception
 The Exception class. More...
 
class  ExclusiveActionGroup
 The ExclusiveActionGroup class groups multiple QAction's together. More...
 
class  FileDialog
 Wrapper around QFileDialog to slightly change its behaviour. 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  GerberApertureList
 The GerberApertureList class. More...
 
class  GerberGenerator
 The GerberGenerator class. More...
 
class  GraphicsLayer
 The GraphicsLayer class represents a graphical layer used in schematics and boards. More...
 
class  GraphicsLayerComboBox
 The GraphicsLayerComboBox class. More...
 
struct  GraphicsLayerNameConstraint
 
struct  GraphicsLayerNameVerifier
 
class  GraphicsLayerStackAppearanceSettings
 The GraphicsLayerStackAppearanceSettings class. More...
 
class  GraphicsScene
 The GraphicsScene class. More...
 
class  GraphicsView
 The GraphicsView class. More...
 
class  GridProperties
 The GridProperties class. More...
 
class  GridSettingsDialog
 This class provides a Dialog (GUI) to change the grid settings of a librepcb::GraphicsView. More...
 
class  HAlign
 The HAlign class. More...
 
class  HAlignActionGroup
 The HAlignActionGroup class is a helper to add librepcb::HAlign chooser toolbuttons to a toolbar. More...
 
class  Hole
 The Hole class. More...
 
class  HoleGraphicsItem
 The HoleGraphicsItem class is the graphical representation of a librepcb::Hole. More...
 
struct  HoleListNameProvider
 
class  HolePropertiesDialog
 The HolePropertiesDialog class. More...
 
class  IF_GraphicsLayerProvider
 The IF_GraphicsLayerProvider class defines an interface for classes which provide layers. More...
 
class  IF_GraphicsViewEventHandler
 The IF_GraphicsViewEventHandler class. 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  LengthDelegate
 Subclass of QStyledItemDelegate to display/edit librepcb::Length values. More...
 
class  LengthEdit
 The LengthEdit class is a widget to view/edit librepcb::Length values. More...
 
class  LengthEditBase
 The LengthEditBase class. More...
 
class  LengthUnit
 The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful methods to make the life easier. More...
 
class  LineGraphicsItem
 The LineGraphicsItem class. More...
 
struct  LocalizedDescriptionMapPolicy
 
struct  LocalizedKeywordsMapPolicy
 
struct  LocalizedNameMapPolicy
 
class  LogicError
 The LogicError class. More...
 
class  MainWindow
 
class  MathParser
 Mathematical expression parser. 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  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...
 
class  NumberEditBase
 The NumberEditBase class is a widget base class to edit various kinds of numbers. More...
 
class  OriginCrossGraphicsItem
 The OriginCrossGraphicsItem class. More...
 
class  Path
 The Path class represents a list of vertices connected by straight lines or circular arc segments. More...
 
class  PathEditorWidget
 The PathEditorWidget class. More...
 
class  PathModel
 The PathModel class implements QAbstractTableModel for librepcb::Path. 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  PlainTextEdit
 The PlainTextEdit class is a customized QPlainTextEdit. 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
 
class  PolygonPropertiesDialog
 The PolygonPropertiesDialog class. More...
 
class  PolygonSimplifier
 The PolygonSimplifier class. More...
 
struct  PositiveLengthConstraint
 
class  PositiveLengthEdit
 The PositiveLengthEdit class is a widget to view/edit librepcb::PositiveLength values. More...
 
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  RangeError
 The RangeError class. More...
 
class  Ratio
 The Ratio class is used to represent a ratio number (e.g. 13.37%) More...
 
class  RatioEdit
 The RatioEdit class is a widget to view/edit librepcb::Ratio values. More...
 
class  Repository
 The Repository class provides access to a LibrePCB API server. More...
 
class  RuntimeError
 The RuntimeError 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  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  SignalRoleComboBox
 The SignalRoleComboBox class. More...
 
class  Slot
 The Slot class is used to receive signals from non-QObject derived classes. More...
 
class  SortFilterProxyModel
 A QSortFilterProxyModel subclass to implement custom sort behavior. More...
 
class  SQLiteDatabase
 The SQLiteDatabase class. More...
 
class  StatusBar
 The StatusBar class extends QStatusBar for some commonly used fields. 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  StrokeTextPropertiesDialog
 The StrokeTextPropertiesDialog class. More...
 
class  StrokeTextSpacing
 The StrokeTextSpacing class. More...
 
class  SystemInfo
 This class provides some methods to get information from the operating system. More...
 
class  TabWidget
 A QTabWidget subclass that allows closing closable tabs with the middle mouse button. More...
 
class  Text
 The Text class. More...
 
class  TextGraphicsItem
 The TextGraphicsItem class is the graphical representation of a librepcb::Text. More...
 
struct  TextListNameProvider
 
class  TextPropertiesDialog
 The TextPropertiesDialog class. More...
 
class  ToolBarProxy
 The ToolBarProxy class allows to map a list of QAction's to one QToolBar. More...
 
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...
 
class  UndoCommand
 The UndoCommand class represents a command which you can undo/redo. More...
 
class  UndoCommandGroup
 The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a parent of it's child commands) More...
 
class  UndoStack
 The UndoStack class holds UndoCommand objects and provides undo/redo commands. More...
 
class  UndoStackActionGroup
 The UndoStackActionGroup class groups an undo-QAction and redo-QAction together and optionally connects them with a librepcb::UndoStack. More...
 
class  UndoStackTransaction
 The UndoStackTransaction class helps to execute transactions on an UndoStack. More...
 
struct  UnsignedLengthConstraint
 
class  UnsignedLengthEdit
 The UnsignedLengthEdit class is a widget to view/edit librepcb::UnsignedLength values. More...
 
struct  UnsignedLengthVerifier
 
struct  UnsignedRatioConstraint
 
class  UnsignedRatioEdit
 The UnsignedRatioEdit class is a widget to view/edit librepcb::UnsignedRatio values. More...
 
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  VAlignActionGroup
 The VAlignActionGroup class is a helper to add librepcb::VAlign chooser toolbuttons to a toolbar. 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
 

Typedefs

using AttributeList = SerializableObjectList< Attribute, AttributeListNameProvider, Attribute::Event >
 
using CmdAttributeInsert = CmdListElementInsert< Attribute, AttributeListNameProvider, Attribute::Event >
 
using CmdAttributeRemove = CmdListElementRemove< Attribute, AttributeListNameProvider, Attribute::Event >
 
using CmdAttributesSwap = CmdListElementsSwap< Attribute, AttributeListNameProvider, Attribute::Event >
 
using AttributeKey = type_safe::constrained_type< QString, AttributeKeyConstraint, AttributeKeyVerifier >
 
using CircuitIdentifier = type_safe::constrained_type< QString, CircuitIdentifierConstraint, CircuitIdentifierVerifier >
 
using ElementName = type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier >
 
using LocalizedNameMap = SerializableKeyValueMap< LocalizedNameMapPolicy >
 
using LocalizedDescriptionMap = SerializableKeyValueMap< LocalizedDescriptionMapPolicy >
 
using LocalizedKeywordsMap = SerializableKeyValueMap< LocalizedKeywordsMapPolicy >
 
using CircleList = SerializableObjectList< Circle, CircleListNameProvider, Circle::Event >
 
using CmdCircleInsert = CmdListElementInsert< Circle, CircleListNameProvider, Circle::Event >
 
using CmdCircleRemove = CmdListElementRemove< Circle, CircleListNameProvider, Circle::Event >
 
using CmdCirclesSwap = CmdListElementsSwap< Circle, CircleListNameProvider, Circle::Event >
 
using HoleList = SerializableObjectList< Hole, HoleListNameProvider, Hole::Event >
 
using CmdHoleInsert = CmdListElementInsert< Hole, HoleListNameProvider, Hole::Event >
 
using CmdHoleRemove = CmdListElementRemove< Hole, HoleListNameProvider, Hole::Event >
 
using CmdHolesSwap = CmdListElementsSwap< Hole, HoleListNameProvider, Hole::Event >
 
using JunctionList = SerializableObjectList< Junction, JunctionListNameProvider, Junction::Event >
 
using CmdJunctionInsert = CmdListElementInsert< Junction, JunctionListNameProvider, Junction::Event >
 
using CmdJunctionRemove = CmdListElementRemove< Junction, JunctionListNameProvider, Junction::Event >
 
using CmdJunctionsSwap = CmdListElementsSwap< Junction, JunctionListNameProvider, Junction::Event >
 
using NetLabelList = SerializableObjectList< NetLabel, NetLabelListNameProvider, NetLabel::Event >
 
using CmdNetLabelInsert = CmdListElementInsert< NetLabel, NetLabelListNameProvider, NetLabel::Event >
 
using CmdNetLabelRemove = CmdListElementRemove< NetLabel, NetLabelListNameProvider, NetLabel::Event >
 
using CmdNetLabelsSwap = CmdListElementsSwap< NetLabel, NetLabelListNameProvider, NetLabel::Event >
 
using NetLineList = SerializableObjectList< NetLine, NetLineListNameProvider, NetLine::Event >
 
using CmdNetLineInsert = CmdListElementInsert< NetLine, NetLineListNameProvider, NetLine::Event >
 
using CmdNetLineRemove = CmdListElementRemove< NetLine, NetLineListNameProvider, NetLine::Event >
 
using CmdNetLinesSwap = CmdListElementsSwap< NetLine, NetLineListNameProvider, NetLine::Event >
 
using PolygonList = SerializableObjectList< Polygon, PolygonListNameProvider, Polygon::Event >
 
using CmdPolygonInsert = CmdListElementInsert< Polygon, PolygonListNameProvider, Polygon::Event >
 
using CmdPolygonRemove = CmdListElementRemove< Polygon, PolygonListNameProvider, Polygon::Event >
 
using CmdPolygonsSwap = CmdListElementsSwap< Polygon, PolygonListNameProvider, Polygon::Event >
 
using StrokeTextList = SerializableObjectList< StrokeText, StrokeTextListNameProvider, StrokeText::Event >
 
using CmdStrokeTextInsert = CmdListElementInsert< StrokeText, StrokeTextListNameProvider, StrokeText::Event >
 
using CmdStrokeTextRemove = CmdListElementRemove< StrokeText, StrokeTextListNameProvider, StrokeText::Event >
 
using CmdStrokeTextsSwap = CmdListElementsSwap< StrokeText, StrokeTextListNameProvider, StrokeText::Event >
 
using TextList = SerializableObjectList< Text, TextListNameProvider, Text::Event >
 
using CmdTextInsert = CmdListElementInsert< Text, TextListNameProvider, Text::Event >
 
using CmdTextRemove = CmdListElementRemove< Text, TextListNameProvider, Text::Event >
 
using CmdTextsSwap = CmdListElementsSwap< Text, TextListNameProvider, Text::Event >
 
using TraceList = SerializableObjectList< Trace, TraceListNameProvider, Trace::Event >
 
using CmdTraceInsert = CmdListElementInsert< Trace, TraceListNameProvider, Trace::Event >
 
using CmdTraceRemove = CmdListElementRemove< Trace, TraceListNameProvider, Trace::Event >
 
using CmdTracesSwap = CmdListElementsSwap< Trace, TraceListNameProvider, Trace::Event >
 
using ViaList = SerializableObjectList< Via, ViaListNameProvider, Via::Event >
 
using CmdViaInsert = CmdListElementInsert< Via, ViaListNameProvider, Via::Event >
 
using CmdViaRemove = CmdListElementRemove< Via, ViaListNameProvider, Via::Event >
 
using CmdViasSwap = CmdListElementsSwap< Via, ViaListNameProvider, Via::Event >
 
using GraphicsLayerName = type_safe::constrained_type< QString, GraphicsLayerNameConstraint, GraphicsLayerNameVerifier >
 
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 >
 

Enumerations

enum  EditableListModelType
 

Functions

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)
 
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)
 
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)
 
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
 
QDataStream & operator<< (QDataStream &stream, const FilePath &filepath)
 
QDebug & operator<< (QDebug &stream, const FilePath &filepath)
 
uint qHash (const FilePath &key, uint seed) noexcept
 
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)
 
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 GridProperties::Type_t &obj)
 
template<>
GridProperties::Type_t 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<class Fun >
ScopeGuard< Fun > scopeGuard (Fun f)
 
template<>
SExpression serialize (const SignalRole &obj)
 
template<>
SignalRole 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
 
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 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<>
SExpression serialize (const library::CmpSigPinDisplayType &obj)
 
template<>
const library::CmpSigPinDisplayTypedeserialize (const SExpression &sexpr, const Version &fileFormat)
 
bool operator== (const library::ComponentPrefix &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const library::ComponentPrefix &rhs) noexcept
 
bool operator!= (const library::ComponentPrefix &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const library::ComponentPrefix &rhs) noexcept
 
QString operator% (const library::ComponentPrefix &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const library::ComponentPrefix &rhs) noexcept
 
template<>
SExpression serialize (const library::ComponentPrefix &obj)
 
template<>
library::ComponentPrefix deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const library::ComponentPrefix &obj)
 
QDebug operator<< (QDebug stream, const library::ComponentPrefix &obj)
 
uint qHash (const library::ComponentPrefix &key, uint seed=0) noexcept
 
bool operator== (const library::ComponentSymbolVariantItemSuffix &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const library::ComponentSymbolVariantItemSuffix &rhs) noexcept
 
bool operator!= (const library::ComponentSymbolVariantItemSuffix &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const library::ComponentSymbolVariantItemSuffix &rhs) noexcept
 
QString operator% (const library::ComponentSymbolVariantItemSuffix &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const library::ComponentSymbolVariantItemSuffix &rhs) noexcept
 
template<>
SExpression serialize (const library::ComponentSymbolVariantItemSuffix &obj)
 
template<>
library::ComponentSymbolVariantItemSuffix deserialize (const SExpression &sexpr, const Version &fileFormat)
 
QDataStream & operator<< (QDataStream &stream, const library::ComponentSymbolVariantItemSuffix &obj)
 
QDebug operator<< (QDebug stream, const library::ComponentSymbolVariantItemSuffix &obj)
 
uint qHash (const library::ComponentSymbolVariantItemSuffix &key, uint seed=0) noexcept
 
template<>
SExpression serialize (const library::FootprintPad::BoardSide &obj)
 
template<>
library::FootprintPad::BoardSide deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const library::FootprintPad::Shape &obj)
 
template<>
library::FootprintPad::Shape deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const project::BI_Plane::ConnectStyle &obj)
 
template<>
project::BI_Plane::ConnectStyle deserialize (const SExpression &sexpr, const Version &fileFormat)
 
template<>
SExpression serialize (const workspace::WorkspaceSettings::PdfOpenBehavior &b)
 
template<>
workspace::WorkspaceSettings::PdfOpenBehavior deserialize (const SExpression &sexpr, const Version &fileFormat)
 

Typedef Documentation

◆ AttributeList

◆ CmdAttributeInsert

◆ CmdAttributeRemove

◆ CmdAttributesSwap

◆ 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.

◆ 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.

◆ LocalizedNameMap

◆ LocalizedDescriptionMap

◆ LocalizedKeywordsMap

◆ CircleList

◆ CmdCircleInsert

◆ CmdCircleRemove

◆ CmdCirclesSwap

◆ HoleList

◆ CmdHoleInsert

◆ CmdHoleRemove

◆ CmdHolesSwap

◆ JunctionList

◆ CmdJunctionInsert

◆ CmdJunctionRemove

◆ CmdJunctionsSwap

◆ NetLabelList

◆ CmdNetLabelInsert

◆ CmdNetLabelRemove

◆ CmdNetLabelsSwap

◆ NetLineList

◆ CmdNetLineInsert

◆ CmdNetLineRemove

◆ CmdNetLinesSwap

◆ PolygonList

◆ CmdPolygonInsert

◆ CmdPolygonRemove

◆ CmdPolygonsSwap

◆ StrokeTextList

◆ CmdStrokeTextInsert

◆ CmdStrokeTextRemove

◆ CmdStrokeTextsSwap

◆ TextList

◆ CmdTextInsert

◆ CmdTextRemove

◆ CmdTextsSwap

◆ TraceList

◆ CmdTraceInsert

◆ CmdTraceRemove

◆ CmdTracesSwap

◆ ViaList

◆ CmdViaInsert

◆ CmdViaRemove

◆ CmdViasSwap

◆ 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.

◆ 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!

Enumeration Type Documentation

◆ EditableListModelType

enum EditableListModelType
strong
Enumerator
DEFAULT 
LOCALE 

Function Documentation

◆ serialize() [1/38]

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

◆ deserialize() [1/36]

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.

◆ serialize() [2/38]

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

◆ deserialize() [2/36]

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:

◆ 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() [3/38]

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

◆ deserialize() [3/36]

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 call 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() [4/38]

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

◆ deserialize() [4/36]

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() [5/38]

SExpression librepcb::serialize ( const AttributeUnit obj)
inline
+ 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==() [3/18]

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

◆ operator==() [4/18]

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

◆ operator!=() [3/18]

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

◆ operator!=() [4/18]

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

◆ operator%() [1/10]

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

◆ operator%() [2/10]

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

◆ operator%() [3/10]

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

◆ serialize() [6/38]

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

◆ deserialize() [5/36]

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<<() [3/33]

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

◆ operator<<() [4/33]

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

◆ qHash() [2/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==() [5/18]

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

◆ operator==() [6/18]

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

◆ operator!=() [5/18]

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

◆ operator!=() [6/18]

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

◆ operator%() [4/10]

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

◆ operator%() [5/10]

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

◆ operator%() [6/10]

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

◆ serialize() [7/38]

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

◆ deserialize() [6/36]

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<<() [5/33]

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

◆ operator<<() [6/33]

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

◆ qHash() [3/19]

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

◆ operator<<() [7/33]

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

◆ operator<<() [8/33]

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

◆ qHash() [4/19]

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

◆ serialize() [8/38]

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() [7/36]

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() [9/38]

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

◆ serialize() [10/38]

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

◆ serialize() [11/38]

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

◆ serialize() [12/38]

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

◆ serialize() [13/38]

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

◆ serialize() [14/38]

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

◆ serialize() [15/38]

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

◆ serialize() [16/38]

SExpression librepcb::serialize ( const SExpression obj)
inline

◆ deserialize() [8/36]

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() [9/36]

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() [10/36]

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() [11/36]

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() [12/36]

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() [13/36]

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() [14/36]

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:

◆ qHash() [5/19]

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

◆ qHash() [6/19]

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

◆ serialize() [17/38]

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

◆ deserialize() [15/36]

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() [7/19]

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

◆ operator<<() [9/33]

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

◆ qHash() [8/19]

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

◆ serialize() [18/38]

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

◆ deserialize() [16/36]

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==() [7/18]

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

◆ operator==() [8/18]

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

◆ operator!=() [7/18]

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

◆ operator!=() [8/18]

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

◆ serialize() [19/38]

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

◆ deserialize() [17/36]

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<<() [10/33]

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

◆ operator<<() [11/33]

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

◆ qHash() [9/19]

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

◆ serialize() [20/38]

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

◆ deserialize() [18/36]

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:

◆ 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:

◆ scopeGuard()

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

Create a ScopeGuard using argument deduction.

+ Here is the caller graph for this function:

◆ serialize() [21/38]

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

◆ deserialize() [19/36]

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() [22/38]

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

◆ deserialize() [20/36]

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:

◆ serialize() [23/38]

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

◆ deserialize() [21/36]

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<<() [14/33]

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

◆ operator<<() [15/33]

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

◆ qHash() [11/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==() [9/18]

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

◆ operator==() [10/18]

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

◆ operator!=() [9/18]

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

◆ operator!=() [10/18]

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

◆ serialize() [24/38]

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

◆ deserialize() [22/36]

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<<() [16/33]

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

◆ operator<<() [17/33]

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

◆ qHash() [12/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==() [11/18]

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

◆ operator==() [12/18]

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

◆ operator==() [13/18]

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

◆ operator==() [14/18]

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

◆ operator!=() [11/18]

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

◆ operator!=() [12/18]

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

◆ operator!=() [13/18]

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

◆ operator!=() [14/18]

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

◆ serialize() [25/38]

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

◆ deserialize() [23/36]

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<<() [18/33]

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

◆ operator<<() [19/33]

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

◆ qHash() [13/19]

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

◆ serialize() [26/38]

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

◆ deserialize() [24/36]

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<<() [20/33]

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

◆ operator<<() [21/33]

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

◆ operator<<() [22/33]

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

◆ operator<<() [23/33]

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

◆ qHash() [14/19]

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

◆ serialize() [27/38]

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

◆ deserialize() [25/36]

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<<() [24/33]

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

◆ operator<<() [25/33]

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

◆ qHash() [15/19]

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

◆ serialize() [28/38]

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

◆ deserialize() [26/36]

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<<() [26/33]

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

◆ operator<<() [27/33]

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

◆ qHash() [16/19]

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

◆ serialize() [29/38]

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

◆ deserialize() [27/36]

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() [30/38]

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

◆ deserialize() [28/36]

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<<() [28/33]

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

◆ operator<<() [29/33]

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

◆ qHash() [17/19]

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

◆ serialize() [31/38]

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

◆ deserialize() [29/36]

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:

◆ serialize() [32/38]

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

◆ deserialize() [30/36]

const library::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==() [15/18]

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

◆ operator==() [16/18]

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

◆ operator!=() [15/18]

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

◆ operator!=() [16/18]

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

◆ operator%() [7/10]

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

◆ operator%() [8/10]

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

◆ serialize() [33/38]

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

◆ deserialize() [31/36]

library::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<<() [30/33]

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

◆ operator<<() [31/33]

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

◆ qHash() [18/19]

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

◆ operator==() [17/18]

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

◆ operator==() [18/18]

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

◆ operator!=() [17/18]

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

◆ operator!=() [18/18]

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

◆ operator%() [9/10]

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

◆ operator%() [10/10]

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

◆ serialize() [34/38]

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

◆ deserialize() [32/36]

library::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<<() [32/33]

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

◆ operator<<() [33/33]

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

◆ qHash() [19/19]

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

◆ serialize() [35/38]

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

◆ deserialize() [33/36]

library::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() [36/38]

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

◆ deserialize() [34/36]

library::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:

◆ serialize() [37/38]

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

◆ deserialize() [35/36]

project::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() [38/38]

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

◆ deserialize() [36/36]

workspace::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: