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

Go to the source code of this file.

Classes

struct  SimpleStringVerifier
 
struct  SimpleStringConstraint
 

Namespaces

namespace  librepcb
 

Typedefs

using SimpleString = type_safe::constrained_type< QString, SimpleStringConstraint, SimpleStringVerifier >
 

Functions

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