digiKam
config_parameters Class Reference

Public Member Functions

void LIBDE265_API add_option (option_base *o)
 
 config_parameters ()
 
std::vector< std::string > get_parameter_choices (const char *param) const
 
const char ** get_parameter_choices_table (const char *param) const
 
std::vector< std::string > get_parameter_IDs () const
 
const char ** get_parameter_string_table () const
 
enum en265_parameter_type get_parameter_type (const char *param) const
 
bool LIBDE265_API parse_command_line_params (int *argc, char **argv, int *first_idx=NULL, bool ignore_unknown_options=false)
 
void LIBDE265_API print_params () const
 
bool set_bool (const char *param, bool value)
 
bool set_choice (const char *param, const char *value)
 
bool set_int (const char *param, int value)
 
bool set_string (const char *param, const char *value)
 
 ~config_parameters ()
 

Constructor & Destructor Documentation

◆ config_parameters()

config_parameters::config_parameters ( )
inline

◆ ~config_parameters()

config_parameters::~config_parameters ( )
inline

Member Function Documentation

◆ add_option()

◆ get_parameter_choices()

std::vector<std::string> config_parameters::get_parameter_choices ( const char *  param) const

◆ get_parameter_choices_table()

const char** config_parameters::get_parameter_choices_table ( const char *  param) const

◆ get_parameter_IDs()

std::vector<std::string> config_parameters::get_parameter_IDs ( ) const

◆ get_parameter_string_table()

const char** config_parameters::get_parameter_string_table ( ) const

◆ get_parameter_type()

enum en265_parameter_type config_parameters::get_parameter_type ( const char *  param) const

◆ parse_command_line_params()

bool LIBDE265_API config_parameters::parse_command_line_params ( int *  argc,
char **  argv,
int *  first_idx = NULL,
bool  ignore_unknown_options = false 
)

◆ print_params()

void LIBDE265_API config_parameters::print_params ( ) const

◆ set_bool()

bool config_parameters::set_bool ( const char *  param,
bool  value 
)

◆ set_choice()

bool config_parameters::set_choice ( const char *  param,
const char *  value 
)

◆ set_int()

bool config_parameters::set_int ( const char *  param,
int  value 
)

◆ set_string()

bool config_parameters::set_string ( const char *  param,
const char *  value 
)

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