LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CommandLineInterface Class Referencefinal

The CommandLineInterface class. More...

#include <commandlineinterface.h>

+ Collaboration diagram for CommandLineInterface:

Public Member Functions

 CommandLineInterface ()=delete
 
 CommandLineInterface (const Application &app) noexcept
 
 ~CommandLineInterface () noexcept=default
 
int execute () noexcept
 

Private Member Functions

 Q_DECLARE_TR_FUNCTIONS (CommandLineInterface)
 
bool openProject (const QString &projectFile, bool runErc, const QStringList &exportSchematicsFiles, bool exportPcbFabricationData, const QStringList &boards, bool save) const noexcept
 

Static Private Member Functions

static QString prettyPath (const FilePath &path, const QString &style) noexcept
 
static void print (const QString &str, int newlines=1) noexcept
 
static void printErr (const QString &str, int newlines=1) noexcept
 

Private Attributes

const ApplicationmApp
 

Detailed Description

Constructor & Destructor Documentation

CommandLineInterface ( const Application app)
explicitnoexcept
~CommandLineInterface ( )
defaultnoexcept

Member Function Documentation

Q_DECLARE_TR_FUNCTIONS ( CommandLineInterface  )
private
int execute ( )
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool openProject ( const QString &  projectFile,
bool  runErc,
const QStringList &  exportSchematicsFiles,
bool  exportPcbFabricationData,
const QStringList &  boards,
bool  save 
) const
privatenoexcept

+ Here is the call graph for this function:

QString prettyPath ( const FilePath path,
const QString &  style 
)
staticprivatenoexcept
void print ( const QString &  str,
int  newlines = 1 
)
staticprivatenoexcept
void printErr ( const QString &  str,
int  newlines = 1 
)
staticprivatenoexcept

Member Data Documentation

const Application& mApp
private

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