LibrePCB Developers Documentation
attributekey.h File Reference
#include "../qtcompat.h"
#include "../serialization/sexpression.h"
#include "../utils/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

namespace  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<>
std::unique_ptr< SExpression > serialize (const AttributeKey &obj)
 
template<>
AttributeKey deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const AttributeKey &obj)
 
QDebug operator<< (QDebug stream, const AttributeKey &obj)
 
QtCompat::Hash qHash (const AttributeKey &key, QtCompat::Hash seed=0) noexcept