LibrePCB Developers Documentation
componentprefix.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 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< SExpression > serialize (const ComponentPrefix &obj)
 
template<>
ComponentPrefix deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const ComponentPrefix &obj)
 
QDebug operator<< (QDebug stream, const ComponentPrefix &obj)
 
QtCompat::Hash qHash (const ComponentPrefix &key, QtCompat::Hash seed=0) noexcept