LibrePCB Developers Documentation
SchematicClipboardData::ComponentInstance Struct Reference

#include <schematicclipboarddata.h>

+ Collaboration diagram for SchematicClipboardData::ComponentInstance:

Public Member Functions

 ComponentInstance (const Uuid &uuid, const Uuid &libComponentUuid, const Uuid &libVariantUuid, const CircuitIdentifier &name, const QString &value, const AttributeList &attributes, const ComponentAssemblyOptionList &assemblyOptions, bool lockParts)
 
 ComponentInstance (const SExpression &node)
 
const UuidgetUuid () const noexcept
 Required for librepcb::SerializableObjectList::contains() More...
 
void serialize (SExpression &root) const
 
bool operator!= (const ComponentInstance &rhs) noexcept
 

Public Attributes

Uuid uuid
 
Uuid libComponentUuid
 
Uuid libVariantUuid
 
CircuitIdentifier name
 
QString value
 
AttributeList attributes
 
ComponentAssemblyOptionList assemblyOptions
 
bool lockAssembly
 
Signal< ComponentInstanceonEdited
 Dummy event, not used. More...
 

Static Public Attributes

static constexpr const char * tagname = "component"
 

Constructor & Destructor Documentation

◆ ComponentInstance() [1/2]

ComponentInstance ( const Uuid uuid,
const Uuid libComponentUuid,
const Uuid libVariantUuid,
const CircuitIdentifier name,
const QString &  value,
const AttributeList attributes,
const ComponentAssemblyOptionList assemblyOptions,
bool  lockParts 
)
inline

◆ ComponentInstance() [2/2]

ComponentInstance ( const SExpression node)
inlineexplicit

Member Function Documentation

◆ getUuid()

const Uuid& getUuid ( ) const
inlinenoexcept

◆ serialize()

void serialize ( SExpression root) const
inline
+ Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const ComponentInstance rhs)
inlinenoexcept

Member Data Documentation

◆ tagname

constexpr const char* tagname = "component"
static

◆ uuid

Uuid uuid

◆ libComponentUuid

Uuid libComponentUuid

◆ libVariantUuid

Uuid libVariantUuid

◆ name

◆ value

QString value

◆ attributes

AttributeList attributes

◆ assemblyOptions

ComponentAssemblyOptionList assemblyOptions

◆ lockAssembly

bool lockAssembly

◆ onEdited

Dummy event, not used.


The documentation for this struct was generated from the following file: