LibrePCB Developers Documentation
Loading...
Searching...
No Matches
attributekey.h File Reference
#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< SExpressionserialize (const AttributeKey &obj)
 
template<>
AttributeKey deserialize (const SExpression &node)
 
QDataStream & operator<< (QDataStream &stream, const AttributeKey &obj)
 
QDebug operator<< (QDebug stream, const AttributeKey &obj)
 
std::size_t qHash (const AttributeKey &key, std::size_t seed=0) noexcept