LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
circuitidentifier.h File Reference
#include "fileio/sexpression.h"
#include "toolbox.h"
#include <type_safe/constrained_type.hpp>
#include <QtCore>
+ Include dependency graph for circuitidentifier.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CircuitIdentifierVerifier
 
struct  CircuitIdentifierConstraint
 

Namespaces

 librepcb
 

Typedefs

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

Functions

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 serializeToSExpression (const CircuitIdentifier &obj)
 
template<>
CircuitIdentifier deserializeFromSExpression (const SExpression &sexpr, bool throwIfEmpty)
 
QDataStream & operator<< (QDataStream &stream, const CircuitIdentifier &obj)
 
QDebug operator<< (QDebug stream, const CircuitIdentifier &obj)
 
uint qHash (const CircuitIdentifier &key, uint seed=0) noexcept