LibrePCB Developers Documentation
BomItem Class Referencefinal

The BomItem class represents an item of a bill of materials list. More...

#include <bom.h>

+ Collaboration diagram for BomItem:

Public Member Functions

 BomItem ()=delete
 
 BomItem (const QString &designator, const QStringList &attributes) noexcept
 
 BomItem (const BomItem &other) noexcept
 
 ~BomItem () noexcept
 
const QStringList & getDesignators () const noexcept
 
const QStringList & getAttributes () const noexcept
 
void addDesignator (const QString &designator) noexcept
 
BomItemoperator= (const BomItem &rhs) noexcept
 

Private Attributes

QStringList mDesignators
 
QStringList mAttributes
 

Detailed Description

The BomItem class represents an item of a bill of materials list.

Constructor & Destructor Documentation

◆ BomItem() [1/3]

BomItem ( )
delete

◆ BomItem() [2/3]

BomItem ( const QString &  designator,
const QStringList &  attributes 
)
inlinenoexcept

◆ BomItem() [3/3]

BomItem ( const BomItem other)
inlinenoexcept

◆ ~BomItem()

~BomItem ( )
inlinenoexcept

Member Function Documentation

◆ getDesignators()

const QStringList& getDesignators ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getAttributes()

const QStringList& getAttributes ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ addDesignator()

void addDesignator ( const QString &  designator)
inlinenoexcept

◆ operator=()

BomItem& operator= ( const BomItem rhs)
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mDesignators

QStringList mDesignators
private

◆ mAttributes

QStringList mAttributes
private

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