![]() |
LibrePCB Developers Documentation
|
#include <part.h>
Collaboration diagram for Part:Public Types | |
| enum class | Event |
| typedef Slot< Part, Event > | OnEditedSlot |
Public Member Functions | |
| Part ()=delete | |
| Part (const Part &other) noexcept | |
| Part (const SExpression &node) | |
| Part (const SimpleString &mpn, const SimpleString &manufacturer, const AttributeList &attributes) noexcept | |
| ~Part () noexcept | |
| bool | isEmpty () const noexcept |
| const SimpleString & | getMpn () const noexcept |
| const SimpleString & | getManufacturer () const noexcept |
| AttributeList & | getAttributes () noexcept |
| const AttributeList & | getAttributes () const noexcept |
| QStringList | getAttributeValuesTr () const noexcept |
| QStringList | getAttributeKeyValuesTr () const noexcept |
| void | setMpn (const SimpleString &value) noexcept |
| void | setManufacturer (const SimpleString &value) noexcept |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| bool | operator== (const Part &rhs) const noexcept |
| bool | operator!= (const Part &rhs) const noexcept |
| Part & | operator= (const Part &rhs) noexcept |
Public Attributes | |
| Signal< Part, Event > | onEdited |
Private Member Functions | |
| void | attributeListEdited (const AttributeList &list, int index, const std::shared_ptr< const Attribute > &attribute, AttributeList::Event event) noexcept |
Private Attributes | |
| SimpleString | mMpn |
| SimpleString | mManufacturer |
| AttributeList | mAttributes |
| AttributeList::OnEditedSlot | mOnAttributesEditedSlot |
The Part class.
| typedef Slot<Part, Event> OnEditedSlot |
|
strong |
|
delete |
|
explicit |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |