LibrePCB Developers Documentation
Loading...
Searching...
No Matches
circuitidentifier.h File Reference
#include "../exceptions.h"
#include "../serialization/sexpression.h"
#include "../utils/toolbox.h"
#include <type_safe/constrained_type.hpp>
#include <QtCore>
#include <optional>
+ 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< SExpressionserialize (const CircuitIdentifier &obj)
 
template<>
CircuitIdentifier deserialize (const SExpression &node)
 
template<>
std::unique_ptr< SExpressionserialize (const std::optional< CircuitIdentifier > &obj)
 
template<>
std::optional< CircuitIdentifierdeserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const CircuitIdentifier &obj)
 
QDebug operator<< (QDebug stream, const CircuitIdentifier &obj)
 
std::size_t qHash (const CircuitIdentifier &key, std::size_t seed=0) noexcept