LibrePCB Developers Documentation
Loading...
Searching...
No Matches
fileproofname.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 fileproofname.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FileProofNameVerifier
 
struct  FileProofNameConstraint
 

Namespaces

namespace  librepcb
 

Typedefs

using FileProofName = type_safe::constrained_type< QString, FileProofNameConstraint, FileProofNameVerifier >
 

Functions

static QString cleanFileProofName (const QString &userInput) noexcept
 
bool operator== (const FileProofName &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const FileProofName &rhs) noexcept
 
bool operator!= (const FileProofName &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const FileProofName &rhs) noexcept
 
QString operator% (const FileProofName &lhs, const QString &rhs) noexcept
 
QString operator% (const QString &lhs, const FileProofName &rhs) noexcept
 
FileProofName operator% (const FileProofName &lhs, const FileProofName &rhs) noexcept
 
template<>
std::unique_ptr< SExpressionserialize (const FileProofName &obj)
 
template<>
FileProofName deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const FileProofName &obj)
 
QDebug operator<< (QDebug stream, const FileProofName &obj)
 
std::size_t qHash (const FileProofName &key, std::size_t seed=0) noexcept