bpp-core3
3.0.0
|
#include <Bpp/App/BppApplication.h>
Public Member Functions | |
BppApplication (int argc, char *argv[], const std::string &name, bool verbose=true, int warningLevel=1) | |
virtual | ~BppApplication () |
virtual void | startTimer () |
virtual void | done () |
virtual const std::map< std::string, std::string > & | getParams () const |
virtual std::map< std::string, std::string > & | getParams () |
virtual const std::string & | getParam (const std::string &name) const |
virtual std::string & | getParam (const std::string &name) |
virtual bool | isVerbose () const |
virtual int | getWarningLevel () const |
virtual void | help (const std::string &program) const |
Protected Attributes | |
std::string | appName_ |
std::map< std::string, std::string > | params_ |
bool | timerStarted_ |
bool | verbose_ |
int | warn_ |
Definition at line 17 of file BppApplication.h.
BppApplication::BppApplication | ( | int | argc, |
char * | argv[], | ||
const std::string & | name, | ||
bool | verbose = true , |
||
int | warningLevel = 1 |
||
) |
Definition at line 16 of file BppApplication.cpp.
References bpp::ApplicationTools::displayResult(), bpp::ApplicationTools::getBooleanParameter(), bpp::ApplicationTools::getIntParameter(), bpp::ApplicationTools::interactive, params_, bpp::AttributesTools::parseOptions(), bpp::RandomTools::setSeed(), verbose_, and bpp::ApplicationTools::warningLevel.
|
inlinevirtual |
Definition at line 28 of file BppApplication.h.
References done(), and startTimer().
|
virtual |
Definition at line 40 of file BppApplication.cpp.
References appName_, bpp::ApplicationTools::displayTime(), timerStarted_, and verbose_.
Referenced by ~BppApplication().
|
inlinevirtual |
Definition at line 37 of file BppApplication.h.
|
inlinevirtual |
Definition at line 43 of file BppApplication.h.
|
inlinevirtual |
Definition at line 34 of file BppApplication.h.
References params_.
|
inlinevirtual |
Definition at line 35 of file BppApplication.h.
References params_.
|
inlinevirtual |
Definition at line 47 of file BppApplication.h.
|
virtual |
Definition at line 50 of file BppApplication.cpp.
References bpp::ApplicationTools::message.
Referenced by getWarningLevel().
|
inlinevirtual |
Definition at line 45 of file BppApplication.h.
References verbose_.
|
virtual |
Definition at line 34 of file BppApplication.cpp.
References bpp::ApplicationTools::startTimer(), and timerStarted_.
Referenced by ~BppApplication().
|
protected |
Definition at line 20 of file BppApplication.h.
Referenced by done().
|
mutableprotected |
Definition at line 21 of file BppApplication.h.
Referenced by BppApplication(), and getParams().
|
protected |
Definition at line 22 of file BppApplication.h.
Referenced by done(), and startTimer().
|
protected |
Definition at line 23 of file BppApplication.h.
Referenced by BppApplication(), done(), and isVerbose().
|
protected |
Definition at line 24 of file BppApplication.h.
Referenced by getWarningLevel().