20#ifndef LIBREPCB_CORE_LIBRARYCATEGORY_H
21#define LIBREPCB_CORE_LIBRARYCATEGORY_H
26#include "../librarybaseelement.h"
51 const QString& longElementName,
const Uuid& uuid,
52 const Version& version,
const QString& author,
54 const QString& description_en_US,
55 const QString& keywords_en_US);
57 const QString& longElementName,
58 std::unique_ptr<TransactionalDirectory> directory,
The LibraryBaseElement class.
Definition librarybaseelement.h:48
The LibraryCategory class extends the LibraryBaseElement class with some attributes and methods which...
Definition librarycategory.h:43
void setParentUuid(const std::optional< Uuid > &parentUuid) noexcept
Definition librarycategory.h:68
virtual ~LibraryCategory() noexcept
Definition librarycategory.cpp:55
LibraryCategory & operator=(const LibraryCategory &rhs)=delete
std::optional< Uuid > mParentUuid
Definition librarycategory.h:78
const std::optional< Uuid > & getParentUuid() const noexcept
Definition librarycategory.h:63
virtual void serialize(SExpression &root) const override
Serialize into librepcb::SExpression node.
Definition librarycategory.cpp:62
LibraryCategory(const LibraryCategory &other)=delete
The SExpression class.
Definition sexpression.h:69
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The Version class represents a version number in the format "1.42.7".
Definition version.h:58
Definition occmodel.cpp:76
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition elementname.h:84