LibrePCB Developers Documentation
circuitidentifier.h File Reference
#include "../exceptions.h"
#include "../qtcompat.h"
#include "../serialization/sexpression.h"
#include "../utils/toolbox.h"
#include <type_safe/constrained_type.hpp>
#include <QtCore>
#include <optional.hpp>
+ 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

namespace  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<>
std::unique_ptr< SExpression > serialize (const CircuitIdentifier &obj)
 
template<>
CircuitIdentifier deserialize (const SExpression &node)
 
template<>
std::unique_ptr< SExpression > serialize (const tl::optional< CircuitIdentifier > &obj)
 
template<>
tl::optional< CircuitIdentifier > deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const CircuitIdentifier &obj)
 
QDebug operator<< (QDebug stream, const CircuitIdentifier &obj)
 
QtCompat::Hash qHash (const CircuitIdentifier &key, QtCompat::Hash seed=0) noexcept