LibrePCB Developers Documentation
Bom Class Referencefinal

The Bom class represents a bill of materials list. More...

#include <bom.h>

+ Collaboration diagram for Bom:

Public Member Functions

 Bom ()=delete
 
 Bom (const Bom &other) noexcept=delete
 
 Bom (const QStringList &columns) noexcept
 
 ~Bom () noexcept
 
const QStringList & getColumns () const noexcept
 
const QList< BomItem > & getItems () const noexcept
 
void addItem (const QString &designator, const QStringList &attributes) noexcept
 
Bomoperator= (const Bom &rhs) noexcept=delete
 

Private Attributes

QStringList mColumns
 
QList< BomItemmItems
 

Detailed Description

The Bom class represents a bill of materials list.

Constructor & Destructor Documentation

◆ Bom() [1/3]

Bom ( )
delete

◆ Bom() [2/3]

Bom ( const Bom other)
deletenoexcept

◆ Bom() [3/3]

Bom ( const QStringList &  columns)
explicitnoexcept

◆ ~Bom()

~Bom ( )
noexcept

Member Function Documentation

◆ getColumns()

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

◆ getItems()

const QList<BomItem>& getItems ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addItem()

void addItem ( const QString &  designator,
const QStringList &  attributes 
)
noexcept
+ Here is the call graph for this function:

◆ operator=()

Bom& operator= ( const Bom rhs)
deletenoexcept

Member Data Documentation

◆ mColumns

QStringList mColumns
private

◆ mItems

QList<BomItem> mItems
private

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