45 #ifndef BAMBUPARAMETER_HPP 46 #define BAMBUPARAMETER_HPP 77 void PrintHelp(std::ostream& os)
const override;
char **const argv
The input parameters;.
void add_bambu_library(std::string lib)
add the library to the raw to be considered
int Exec() override
Execute parameter parsing.
void PrintHelp(std::ostream &os) const override
Print the usage of this tool.
void SetDefaults() override
Sets default values.
REF_FORWARD_DECL(BambuParameter)
std::shared_ptr< BambuParameter > BambuParameterRef
void add_experimental_setup_compiler_options(bool kill_printf)
add the following GCC options: -fwhole-program -fno-ipa-cp -fno-ipa-cp-clone and -D'printf(fmt, ...)='
Template definition of refcount.
BambuParameter(const std::string &program_name, int argc, char **const argv)
Constructor.
void CheckParameters() override
Check the compatibility among the different parameters and compute implicated parameters.
~BambuParameter() override=default
Destructor.
void PrintProgramName(std::ostream &os) const override
Print the name of the program to be included in the header.
this class is used to manage the command-line or XML options.
int argc
The number of input paramters.