LibrePCB Developers Documentation
simplestring.h File Reference
#include "../exceptions.h"
#include "../qtcompat.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< SExpression > serialize (const SimpleString &obj)
 
template<>
SimpleString deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const SimpleString &obj)
 
QDebug operator<< (QDebug stream, const SimpleString &obj)
 
QtCompat::Hash qHash (const SimpleString &key, QtCompat::Hash seed=0) noexcept