LibrePCB Developers Documentation
Loading...
Searching...
No Matches
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, bool mount) noexcept
 
 BomItem (const BomItem &other) noexcept
 
 ~BomItem () noexcept
 
const QStringList & getDesignators () const noexcept
 
const QStringList & getAttributes () const noexcept
 
bool isMount () const noexcept
 
void addDesignator (const QString &designator) noexcept
 
BomItemoperator= (const BomItem &rhs) noexcept
 

Private Attributes

QStringList mDesignators
 
QStringList mAttributes
 
bool mMount
 False means "do not mount".
 

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,
bool  mount 
)
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:

◆ isMount()

bool isMount ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ addDesignator()

void addDesignator ( const QString &  designator)
noexcept
+ Here is the call graph for this function:

◆ operator=()

BomItem & operator= ( const BomItem rhs)
inlinenoexcept

Member Data Documentation

◆ mDesignators

QStringList mDesignators
private

◆ mAttributes

QStringList mAttributes
private

◆ mMount

bool mMount
private

False means "do not mount".


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