LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
attributekey.h File Reference
#include "../fileio/sexpression.h"
#include "../toolbox.h"
#include <type_safe/constrained_type.hpp>
#include <QtCore>
+ Include dependency graph for attributekey.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AttributeKeyVerifier
 
struct  AttributeKeyConstraint
 

Namespaces

 librepcb
 

Typedefs

using AttributeKey = type_safe::constrained_type< QString, AttributeKeyConstraint, AttributeKeyVerifier >
 

Functions

static QString cleanAttributeKey (const QString &userInput) noexcept
 
bool operator== (const AttributeKey &lhs, const QString &rhs) noexcept
 
bool operator== (const QString &lhs, const AttributeKey &rhs) noexcept
 
bool operator!= (const AttributeKey &lhs, const QString &rhs) noexcept
 
bool operator!= (const QString &lhs, const AttributeKey &rhs) noexcept
 
template<>
SExpression serializeToSExpression (const AttributeKey &obj)
 
template<>
AttributeKey deserializeFromSExpression (const SExpression &sexpr, bool throwIfEmpty)
 
QDataStream & operator<< (QDataStream &stream, const AttributeKey &obj)
 
QDebug operator<< (QDebug stream, const AttributeKey &obj)
 
uint qHash (const AttributeKey &key, uint seed=0) noexcept