LibrePCB Developers Documentation
attribute.h File Reference
#include "../serialization/serializableobjectlist.h"
#include "attributekey.h"
#include <QtCore>
+ Include dependency graph for attribute.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Attribute
 The Attribute class. More...
 
struct  AttributeListNameProvider
 

Namespaces

namespace  librepcb
 

Typedefs

using AttributeList = SerializableObjectList< Attribute, AttributeListNameProvider, Attribute::Event >
 

Functions

librepcb::AttributeList operator| (const librepcb::AttributeList &lhs, const librepcb::AttributeList &rhs) noexcept
 Extend an librepcb::AttributeList with additional attributes. More...
 

Function Documentation

◆ operator|()

librepcb::AttributeList operator| ( const librepcb::AttributeList lhs,
const librepcb::AttributeList rhs 
)
inlinenoexcept

Extend an librepcb::AttributeList with additional attributes.

Parameters
lhsBase attribute list, will be kept as-is.
rhsAdditional attributes to append. Keys already contained in lhs will be omitted.
Returns
lhs with attributes from rhs appended.
+ Here is the call graph for this function: