![]() |
LibrePCB Developers Documentation
|
The ComponentAssemblyOption class. More...
#include <componentassemblyoption.h>
Collaboration diagram for ComponentAssemblyOption:Public Types | |
| enum class | Event |
| typedef Slot< ComponentAssemblyOption, Event > | OnEditedSlot |
Public Member Functions | |
| ComponentAssemblyOption ()=delete | |
| ComponentAssemblyOption (const ComponentAssemblyOption &other) noexcept | |
| ComponentAssemblyOption (const SExpression &node) | |
| ComponentAssemblyOption (const Uuid &device, const AttributeList &attributes, const QSet< Uuid > &assemblyVariants, const PartList &parts) | |
| ~ComponentAssemblyOption () noexcept | |
| const Uuid & | getDevice () const noexcept |
| const AttributeList & | getAttributes () const noexcept |
| const QSet< Uuid > & | getAssemblyVariants () const noexcept |
| PartList & | getParts () noexcept |
| const PartList & | getParts () const noexcept |
| void | setDevice (const Uuid &value) noexcept |
| void | setAttributes (const AttributeList &value) noexcept |
| void | setAssemblyVariants (const QSet< Uuid > &assemblyVariants) noexcept |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| ComponentAssemblyOption & | operator= (const ComponentAssemblyOption &rhs)=delete |
| bool | operator== (const ComponentAssemblyOption &rhs) const noexcept |
| bool | operator!= (const ComponentAssemblyOption &rhs) const noexcept |
Public Attributes | |
| Signal< ComponentAssemblyOption, Event > | onEdited |
Private Member Functions | |
| void | partListEdited (const PartList &list, int index, const std::shared_ptr< const Part > &obj, PartList::Event event) noexcept |
Private Attributes | |
| Uuid | mDevice |
| Compatible device. | |
| AttributeList | mAttributes |
| Default attributes to copy when adding new parts. | |
| QSet< Uuid > | mAssemblyVariants |
| UUIDs of librepcb::AssemblyVariant this option is available for. | |
| PartList | mParts |
| Parts available for assembly. | |
| PartList::OnEditedSlot | mOnPartsEditedSlot |
The ComponentAssemblyOption class.
| typedef Slot<ComponentAssemblyOption, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
explicit |
Here is the call graph for this function:| ComponentAssemblyOption | ( | const Uuid & | device, |
| const AttributeList & | attributes, | ||
| const QSet< Uuid > & | assemblyVariants, | ||
| const PartList & | parts | ||
| ) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
delete |
|
noexcept |
|
inlinenoexcept |
|
privatenoexcept |
| Signal<ComponentAssemblyOption, Event> onEdited |
|
private |
Compatible device.
|
private |
Default attributes to copy when adding new parts.
|
private |
UUIDs of librepcb::AssemblyVariant this option is available for.
|
private |
Parts available for assembly.
|
private |