LibrePCB Developers Documentation
|
The AssemblyVariant class. More...
#include <assemblyvariant.h>
Public Types | |
enum class | Event |
typedef Slot< AssemblyVariant, Event > | OnEditedSlot |
Public Member Functions | |
AssemblyVariant ()=delete | |
AssemblyVariant (const AssemblyVariant &other) noexcept | |
AssemblyVariant (const SExpression &node) | |
AssemblyVariant (const Uuid &uuid, const FileProofName &name, const QString &description) | |
~AssemblyVariant () noexcept | |
const Uuid & | getUuid () const noexcept |
const FileProofName & | getName () const noexcept |
const QString & | getDescription () const noexcept |
QString | getDisplayText () const noexcept |
void | setName (const FileProofName &name) noexcept |
void | setDescription (const QString &description) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
AssemblyVariant & | operator= (const AssemblyVariant &rhs)=delete |
bool | operator== (const AssemblyVariant &rhs)=delete |
Public Attributes | |
Signal< AssemblyVariant, Event > | onEdited |
Private Attributes | |
Uuid | mUuid |
FileProofName | mName |
QString | mDescription |
The AssemblyVariant class.
typedef Slot<AssemblyVariant, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
explicit |
AssemblyVariant | ( | const Uuid & | uuid, |
const FileProofName & | name, | ||
const QString & | description | ||
) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
delete |
|
delete |
Signal<AssemblyVariant, Event> onEdited |
|
private |
|
private |
|
private |