LibrePCB Developers Documentation
Loading...
Searching...
No Matches
componentprefix.h File Reference
#include "../../exceptions.h"
#include "../../serialization/sexpression.h"
#include "../../utils/toolbox.h"
#include <type_safe/constrained_type.hpp>
#include <QtCore>
+ Include dependency graph for componentprefix.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ComponentPrefixVerifier
 
struct  ComponentPrefixConstraint
 

Namespaces

namespace  librepcb
 

Typedefs

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

Functions

static QString cleanComponentPrefix (const QString &userInput) noexcept
 
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<>
std::unique_ptr< SExpressionserialize (const ComponentPrefix &obj)
 
template<>
ComponentPrefix deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const ComponentPrefix &obj)
 
QDebug operator<< (QDebug stream, const ComponentPrefix &obj)
 
std::size_t qHash (const ComponentPrefix &key, std::size_t seed=0) noexcept