LibrePCB Developers Documentation
BomGenerator Class Referencefinal

The BomGenerator class. More...

#include <bomgenerator.h>

+ Collaboration diagram for BomGenerator:

Public Member Functions

 BomGenerator ()=delete
 
 BomGenerator (const BomGenerator &other)=delete
 
 BomGenerator (const Project &project) noexcept
 
 ~BomGenerator () noexcept
 
void setAdditionalAttributes (const QStringList &attributes) noexcept
 
std::shared_ptr< Bomgenerate (const Board *board, const Uuid &assemblyVariant) noexcept
 
BomGeneratoroperator= (const BomGenerator &rhs)=delete
 

Static Private Member Functions

static void removeSubString (QString &str, const QString &substr) noexcept
 

Private Attributes

const ProjectmProject
 
QStringList mAdditionalAttributes
 

Detailed Description

The BomGenerator class.

Constructor & Destructor Documentation

◆ BomGenerator() [1/3]

BomGenerator ( )
delete

◆ BomGenerator() [2/3]

BomGenerator ( const BomGenerator other)
delete

◆ BomGenerator() [3/3]

BomGenerator ( const Project project)
explicitnoexcept

◆ ~BomGenerator()

~BomGenerator ( )
noexcept

Member Function Documentation

◆ setAdditionalAttributes()

void setAdditionalAttributes ( const QStringList &  attributes)
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generate()

std::shared_ptr< Bom > generate ( const Board board,
const Uuid assemblyVariant 
)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

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

◆ removeSubString()

void removeSubString ( QString &  str,
const QString &  substr 
)
staticprivatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mProject

const Project& mProject
private

◆ mAdditionalAttributes

QStringList mAdditionalAttributes
private

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