![]() |
advgetopt 2.0.47
Parse complex command line arguments and configuration files in C++.
|
The advgetopt environment to parse command line options. More...
Namespaces | |
namespace | anonymous_namespace{advgetopt.cpp} |
namespace | anonymous_namespace{advgetopt_string.cpp} |
namespace | anonymous_namespace{conf_file.cpp} |
Private conf_file data. | |
namespace | anonymous_namespace{option_info.cpp} |
namespace | anonymous_namespace{utils.cpp} |
namespace | anonymous_namespace{validator.cpp} |
namespace | anonymous_namespace{validator_double.cpp} |
namespace | anonymous_namespace{validator_duration.cpp} |
namespace | anonymous_namespace{validator_email.cpp} |
namespace | anonymous_namespace{validator_integer.cpp} |
namespace | anonymous_namespace{validator_keywords.cpp} |
namespace | anonymous_namespace{validator_length.cpp} |
namespace | anonymous_namespace{validator_list.cpp} |
namespace | anonymous_namespace{validator_regex.cpp} |
namespace | anonymous_namespace{validator_size.cpp} |
Classes | |
class | Alias |
class | conf_file |
class | conf_file_setup |
class | DefaultValue |
class | EnvironmentVariableName |
class | Flags |
class | getopt |
Class used to parse command line options. More... | |
class | getopt_exit |
struct | group_description |
class | GroupDescription |
class | GroupName |
class | GroupNumber |
class | GroupValue |
class | Help |
class | Name |
struct | option |
Structure representing an option. More... | |
class | option_info |
class | option_info_ref |
struct | options_environment |
class | OptionValue |
class | parameter_value |
class | Separators |
class | ShortName |
class | usage_flag_traits |
class | usage_letter_traits |
class | Validator |
class | validator |
class | validator_double |
class | validator_duration |
class | validator_email |
class | validator_factory |
class | validator_integer |
class | validator_keywords |
class | validator_length |
class | validator_list |
class | validator_regex |
class | validator_size |
class | variables |
Typedefs | |
typedef std::uint_fast16_t | assignment_operator_t |
typedef std::uint_fast16_t | comment_t |
typedef std::uint32_t | flag_t |
typedef std::uint_fast16_t | name_separator_t |
typedef std::uint_fast16_t | section_operator_t |
typedef char32_t | short_name_t |
typedef std::vector< std::string > | string_list_t |
typedef std::set< std::string > | string_set_t |
Enumerations | |
enum class | assignment_t { ASSIGNMENT_NONE , ASSIGNMENT_SET , ASSIGNMENT_OPTIONAL , ASSIGNMENT_APPEND , ASSIGNMENT_NEW } |
enum class | callback_action_t { created , updated , erased } |
enum class | line_continuation_t { line_continuation_single_line , line_continuation_rfc_822 , line_continuation_msdos , line_continuation_unix , line_continuation_fortran , line_continuation_semicolon } |
enum class | option_source_t { SOURCE_COMMAND_LINE , SOURCE_CONFIGURATION , SOURCE_DIRECT , SOURCE_DYNAMIC , SOURCE_ENVIRONMENT_VARIABLE , SOURCE_UNDEFINED } |
Functions | |
template<flag_t ... args> | |
constexpr flag_t | all_flags () |
template<flag_t ... args> | |
constexpr flag_t | any_flags () |
std::string | breakup_line (std::string line, size_t const option_width, size_t const line_width) |
Breakup a string on multiple lines. | |
std::string | breakup_line (std::string line, std::size_t const option_width, std::size_t const line_width) |
template<flag_t flag, flag_t ... args> | |
constexpr flag_t | combine_option_flags () |
template<flag_t ... args> | |
constexpr flag_t | command_flags () |
template<flag_t ... args> | |
constexpr flag_t | config_flags () |
DECLARE_EXCEPTION (getopt_exception, getopt_defined_twice) | |
DECLARE_EXCEPTION (getopt_exception, getopt_initialization) | |
DECLARE_EXCEPTION (getopt_exception, getopt_invalid) | |
DECLARE_EXCEPTION (getopt_exception, getopt_invalid_default) | |
DECLARE_EXCEPTION (getopt_exception, getopt_invalid_parameter) | |
DECLARE_EXCEPTION (getopt_exception, getopt_root_filename) | |
DECLARE_EXCEPTION (getopt_exception, getopt_undefined) | |
DECLARE_LOGIC_ERROR (getopt_logic_error) | |
DECLARE_MAIN_EXCEPTION (getopt_exception) | |
std::string | default_group_name (std::string const &filename, char const *group_name, char const *project_name, int priority) |
Generate the default filename (the ".../50-...") | |
template<class ... ARGS> | |
constexpr group_description | define_group (ARGS ...args) |
template<class ... ARGS> | |
constexpr option | define_option (ARGS ...args) |
constexpr flag_t | end_flags () |
constexpr group_description | end_groups () |
constexpr option | end_options () |
std::string | escape_shell_argument (std::string const &arg) |
Escape special characters from a shell argument. | |
template<typename T , typename F , class ... ARGS> | |
constexpr std::enable_if< std::is_same< T, F >::value, typenameT::value_t >::type | find_group (F first, ARGS ...args) |
template<typename T , typename F , class ... ARGS> | |
constexpr std::enable_if<!std::is_same< T, F >::value, typenameT::value_t >::type | find_group (F first, ARGS ...args) |
template<typename T , typename F , class ... ARGS> | |
constexpr std::enable_if< std::is_same< T, F >::value, typenameT::value_t >::type | find_option (F first, ARGS ...args) |
template<typename T , typename F , class ... ARGS> | |
constexpr std::enable_if<!std::is_same< T, F >::value, typenameT::value_t >::type | find_option (F first, ARGS ...args) |
std::string | format_usage_string (std::string const &argument, std::string const &help, size_t const option_width, size_t const line_width) |
Format a help string to make it fit on a given width. | |
std::string | format_usage_string (std::string const &argument, std::string const &help, std::size_t const option_width, std::size_t const line_width) |
cppthread::mutex & | get_global_mutex () |
Get a global mutex. | |
int | get_major_version () |
Get the major version of the library. | |
int | get_patch_version () |
Get the patch version of the library. | |
int | get_release_version () |
Get the release version of the library. | |
size_t | get_screen_height () |
Retrieve the height of your console. | |
size_t | get_screen_width () |
Retrieve the width of one line in your console. | |
char const * | get_version_string () |
Get the full version of the library as a string. | |
std::string | handle_user_directory (std::string const &filename) |
Replace a starting ~/... with the contents of the $HOME variable. | |
string_list_t | insert_group_name (std::string const &filename, char const *group_name, char const *project_name, bool add_default_on_empty) |
Insert the group (or project) name in the filename. | |
bool | is_false (std::string s) |
Check whether a value represents "false". | |
bool | is_true (std::string s) |
Check whether a value represents "true". | |
bool | iswspace (int c) |
Returns true if c is considered to be a whitespace. | |
void | less (std::basic_ostream< char > &out, std::string const &data) |
Print out a string to the console or use less. | |
bool | operator!= (char const *value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator!= (std::string const &value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
std::string | operator+ (char const *value, option_info_ref const &rhs) |
Concatenate a string and an option reference value. | |
std::string | operator+ (char value, option_info_ref const &rhs) |
Concatenate a character and an option reference value. | |
std::string | operator+ (char32_t value, option_info_ref const &rhs) |
Concatenate a character and an option reference value. | |
std::string | operator+ (std::string const &value, option_info_ref const &rhs) |
Concatenate a string and an option reference value. | |
bool | operator< (char const *value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator< (std::string const &value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator<= (char const *value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator<= (std::string const &value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator== (char const *value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator== (std::string const &value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator> (char const *value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator> (std::string const &value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator>= (char const *value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
bool | operator>= (std::string const &value, option_info_ref const &rhs) |
Compare value with the value of the right hand-side option. | |
template<flag_t ... args> | |
constexpr flag_t | option_flags () |
template<class none = void> | |
constexpr flag_t | option_flags_merge () |
template<flag_t flag, flag_t ... args> | |
constexpr flag_t | option_flags_merge () |
std::string | option_with_dashes (std::string const &s) |
Convert the _ found in a string to - instead. | |
std::string | option_with_underscores (std::string const &s) |
Converts an option back to using underscores. | |
std::string | quote (std::string const &s, char open, char close) |
The converse of unquote. | |
std::string | sanitizer_details () |
Generate a string describing whether we're using the sanitizer. | |
std::string | short_name_to_string (short_name_t short_name) |
Convert a short name to a UTF-8 string. | |
void | split_string (std::string const &str, string_list_t &result, string_list_t const &separators) |
Split a string in sub-strings separated by separators . | |
template<flag_t ... args> | |
constexpr flag_t | standalone_all_flags () |
template<flag_t ... args> | |
constexpr flag_t | standalone_command_flags () |
short_name_t | string_to_short_name (std::string const &name) |
Transform a string to a short name. | |
std::string | unquote (std::string const &s, std::string const &pairs) |
Remove single (') or double (") quotes from a string. | |
template<flag_t ... args> | |
constexpr flag_t | var_flags () |
This namespace encompasses all the declarations and implementations of functions used to parse and access the command line options.
typedef std::uint_fast16_t advgetopt::assignment_operator_t |
Definition at line 69 of file conf_file.h.
typedef std::uint_fast16_t advgetopt::comment_t |
Definition at line 79 of file conf_file.h.
typedef std::uint32_t advgetopt::flag_t |
typedef std::uint_fast16_t advgetopt::name_separator_t |
Definition at line 104 of file conf_file.h.
typedef std::uint_fast16_t advgetopt::section_operator_t |
Definition at line 91 of file conf_file.h.
Definition at line 49 of file option_info.h.
typedef std::vector<std::string> advgetopt::string_list_t |
typedef std::set<std::string> advgetopt::string_set_t |
|
strong |
Enumerator | |
---|---|
ASSIGNMENT_NONE | |
ASSIGNMENT_SET | |
ASSIGNMENT_OPTIONAL | |
ASSIGNMENT_APPEND | |
ASSIGNMENT_NEW |
Definition at line 47 of file variables.h.
Enumerator | |
---|---|
created | |
updated | |
erased |
Definition at line 50 of file conf_file.h.
Enumerator | |
---|---|
line_continuation_single_line | |
line_continuation_rfc_822 | |
line_continuation_msdos | |
line_continuation_unix | |
line_continuation_fortran | |
line_continuation_semicolon |
Definition at line 58 of file conf_file.h.
|
strong |
Enumerator | |
---|---|
SOURCE_COMMAND_LINE | |
SOURCE_CONFIGURATION | |
SOURCE_DIRECT | |
SOURCE_DYNAMIC | |
SOURCE_ENVIRONMENT_VARIABLE | |
SOURCE_UNDEFINED |
Definition at line 60 of file option_info.h.
Definition at line 154 of file flags.h.
References combine_option_flags(), GETOPT_FLAG_COMMAND_LINE, GETOPT_FLAG_CONFIGURATION_FILE, GETOPT_FLAG_ENVIRONMENT_VARIABLE, and option_flags_merge().
Definition at line 130 of file flags.h.
References GETOPT_FLAG_END, and option_flags_merge().
std::string advgetopt::breakup_line | ( | std::string | line, |
size_t const | option_width, | ||
size_t const | line_width | ||
) |
This function breaks up the specified line
of text in one or more strings to fit your output.
The line_width
represents the maximum number of characters that get printed in a row.
The option_width
parameter is the number of characters in the left margin. When dealing with a very long argument, this width is 3 characters. When dealing with the help itself, it is expected to be around 30.
line
string is empty.[in] | line | The line to breakup. |
[in] | option_width | The number of characters in the left margin. |
[in] | line_width | The total number of characters in the output. |
Definition at line 791 of file utils.cpp.
References option_flags_merge().
Referenced by format_usage_string(), and advgetopt::getopt::usage().
std::string advgetopt::breakup_line | ( | std::string | line, |
std::size_t const | option_width, | ||
std::size_t const | line_width | ||
) |
Definition at line 105 of file flags.h.
References GETOPT_FLAG_COMMAND_LINE, GETOPT_FLAG_CONFIGURATION_FILE, GETOPT_FLAG_DEFAULT_OPTION, GETOPT_FLAG_END, GETOPT_FLAG_ENVIRONMENT_VARIABLE, GETOPT_FLAG_FLAG, GETOPT_FLAG_MULTIPLE, GETOPT_FLAG_REQUIRED, and option_flags_merge().
Referenced by all_flags(), and standalone_all_flags().
Definition at line 191 of file flags.h.
References GETOPT_FLAG_CONFIGURATION_FILE, GETOPT_FLAG_ENVIRONMENT_VARIABLE, and option_flags_merge().
Definition at line 215 of file flags.h.
References GETOPT_FLAG_COMMAND_LINE, GETOPT_FLAG_ENVIRONMENT_VARIABLE, and option_flags_merge().
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_defined_twice | |||
) |
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_initialization | |||
) |
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_invalid | |||
) |
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_invalid_default | |||
) |
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_invalid_parameter | |||
) |
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_root_filename | |||
) |
advgetopt::DECLARE_EXCEPTION | ( | getopt_exception | , |
getopt_undefined | |||
) |
advgetopt::DECLARE_LOGIC_ERROR | ( | getopt_logic_error | ) |
advgetopt::DECLARE_MAIN_EXCEPTION | ( | getopt_exception | ) |
std::string advgetopt::default_group_name | ( | std::string const & | filename, |
char const * | group_name, | ||
char const * | project_name, | ||
int | priority | ||
) |
This function generates the default filename as the insert_group_name() expects to find in the configuration sub-directory.
The name is formed as follow:
<path> / <directory> ".d" / <priority> "-" <basename>
Where <path>
is the path found in filename
. If no path is defined in filename
, then the <path> /
part is not prepended:
<directory> ".d" / <priority> "-" <basename>
Where <directory>
is the group_name
if defined, otherwise it uses the project_name
. This is why if neither is defined, then the function immediately returns an empty string.
Where <priority>
is a number from 0 to 99 inclusive. This is used to sort the files before processing them. File with lower priorities are loaded first. Parameters found in files with higher priorities overwrite the values of parameters found in files with lower priorities.
Where <basename>
is the end of filename
, the part after the last slash (/
). If filename
is not empty and it does not include a slash then the entire filename
is taken as the <basename>
. Note that filename
is expected to include an extension such as .conf
. The extension is not modified in any way.
Since the result is not viable when filename
is empty, the function immediately returns an empty string in that situation.
getopt_root_filename | The filename parameter cannot be a file in the root directory. |
[in] | filename | The filename where the project name gets injected. |
[in] | group_name | The name of the group to inject in the filename. |
[in] | project_name | The name of the project to inject in the filename. |
[in] | priority | The priority of the new file (0 to 99). |
Definition at line 585 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::get_output_filename(), and insert_group_name().
|
constexpr |
Definition at line 403 of file options.h.
References advgetopt::group_description::f_group, and option_flags_merge().
Referenced by end_groups().
Definition at line 259 of file options.h.
References advgetopt::option::f_short_name, GETOPT_FLAG_ALIAS, GETOPT_FLAG_ENVIRONMENT_VARIABLE, GETOPT_FLAG_NONE, and option_flags_merge().
Referenced by end_options().
Definition at line 123 of file flags.h.
References option_flags_merge().
Referenced by end_options().
|
constexpr |
Definition at line 419 of file options.h.
References define_group().
Definition at line 294 of file options.h.
References define_option(), and end_flags().
std::string advgetopt::escape_shell_argument | ( | std::string const & | arg | ) |
This function goes through the supplied argument. If it includes one or more character other than [-+0-9A-Za-z_]
, then it gets escaped. This means we add single quotes at the start and end, and escape any single quote within the argument.
So the function may return the input string as is.
[in] | arg | The argument to escape. |
Definition at line 959 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::options_to_string().
|
constexpr |
Definition at line 386 of file options.h.
References option_flags_merge().
|
constexpr |
Definition at line 394 of file options.h.
References option_flags_merge().
|
constexpr |
Definition at line 242 of file options.h.
References option_flags_merge().
|
constexpr |
Definition at line 250 of file options.h.
References option_flags_merge().
std::string advgetopt::format_usage_string | ( | std::string const & | argument, |
std::string const & | help, | ||
size_t const | option_width, | ||
size_t const | line_width | ||
) |
This function properly wraps a set of help strings so they fit in your console. The width has to be given by you at the moment.
The function takes two strings, the argument with it's options and the actual help string for that argument. If the argument is short enough, it will appear on the first line with the first line of help. If not, then one whole line is reserved just for the argument and the help starts on the next line.
[in] | argument | The option name with – and arguments. |
[in] | help | The help string for this argument. |
[in] | option_width | Number of characters reserved for the option. |
[in] | line_width | The maximum number of characters to display in width. |
Definition at line 899 of file utils.cpp.
References breakup_line(), and option_flags_merge().
Referenced by advgetopt::getopt::usage().
std::string advgetopt::format_usage_string | ( | std::string const & | argument, |
std::string const & | help, | ||
std::size_t const | option_width, | ||
std::size_t const | line_width | ||
) |
cppthread::mutex & advgetopt::get_global_mutex | ( | ) |
This function returns a global mutex we can use to lock the advgetopt whenever multithread functionality is required (i.e. a global is used.)
It is safe to call this function early (i.e. before main was ever called.)
Usage:
Definition at line 123 of file utils.cpp.
Referenced by advgetopt::option_info::add_callback(), advgetopt::conf_file::add_callback(), advgetopt::conf_file::exists(), advgetopt::conf_file::get_conf_file(), advgetopt::option_info::get_double(), advgetopt::conf_file::get_errno(), advgetopt::option_info::get_long(), advgetopt::conf_file::get_parameter(), advgetopt::conf_file::get_parameters(), advgetopt::conf_file::get_sections(), advgetopt::conf_file::has_parameter(), insert_group_name(), advgetopt::conf_file::remove_callback(), advgetopt::option_info::remove_callback(), advgetopt::conf_file::reset_conf_files(), advgetopt::conf_file::set_parameter(), advgetopt::conf_file::value_changed(), and advgetopt::option_info::value_changed().
int advgetopt::get_major_version | ( | ) |
This function returns the version of the running library (the one you are linked against at runtime).
Definition at line 54 of file version.cpp.
References LIBADVGETOPT_VERSION_MAJOR.
int advgetopt::get_patch_version | ( | ) |
This function returns the patch version of the running library (the one you are linked against at runtime).
Definition at line 80 of file version.cpp.
References LIBADVGETOPT_VERSION_PATCH.
int advgetopt::get_release_version | ( | ) |
This function returns the release version of the running library (the one you are linked against at runtime).
Definition at line 67 of file version.cpp.
References LIBADVGETOPT_VERSION_MINOR.
std::size_t advgetopt::get_screen_height | ( | ) |
This function retrieves the height of the console in number of characters. This is also called the number of rows.
If the process is not connected to a TTY, then the function returns 25.
If the height is less than 2, the function returns 2.
Definition at line 1037 of file utils.cpp.
References option_flags_merge().
Referenced by less().
std::size_t advgetopt::get_screen_width | ( | ) |
This function retrieves the width of the console in number of characters.
If the process is not connected to a TTY, then the function returns 80.
If the width is less than 40, the function returns 40.
Definition at line 746 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::usage().
This function returns the major, release, and patch versions of the running library (the one you are linked against at runtime) in the form of a string.
The build version is not made available.
Definition at line 96 of file version.cpp.
References LIBADVGETOPT_VERSION_STRING.
std::string advgetopt::handle_user_directory | ( | std::string const & | filename | ) |
This function checks the beginning of filename
. If it starts with ‘’~/' then it replaces the
'~'` character with the contents of the $HOME environment variable.
If filename
is just "~"
, then the function returns the contents of the $HOME environment variable by itself.
If somehow the $HOME environment variable is empty, the function does nothing.
[in] | filename | The filename to check for a tilde (~). |
Definition at line 676 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::get_direct_configuration_filenames(), and advgetopt::getopt::get_managed_configuration_filenames().
string_list_t advgetopt::insert_group_name | ( | std::string const & | filename, |
char const * | group_name, | ||
char const * | project_name, | ||
bool | add_default_on_empty | ||
) |
This function inserts the name of the group in the specified full path filename. It gets added right before the basename. So for example you have a path such as:
/etc/snapwebsites/advgetopt.conf
and a group name such as:
adventure
The resulting path is:
/etc/snapwebsites/adventure.d/##-advgetopt.conf
where the '##' is a number from 00 to 99. If none of those files exists, the default (50) is used if add_default_on_empty
is true.
Notice that the function adds a ".d" as well.
If the group name is empty or null, then the project name is used. If both are empty, then nothing happens (the function returns an empty list).
getopt_root_filename | The filename parameter cannot be a file in the root directory. |
[in] | filename | The filename where the project name gets injected. |
[in] | group_name | The name of the group to inject in the filename. |
[in] | project_name | The name of the project to inject in the filename. |
[in] | add_default_on_empty | Whether the add the default if no files exist. |
Definition at line 466 of file utils.cpp.
References default_group_name(), get_global_mutex(), and option_flags_merge().
Referenced by advgetopt::getopt::get_direct_configuration_filenames(), and advgetopt::getopt::get_managed_configuration_filenames().
bool advgetopt::is_false | ( | std::string | s | ) |
This function checks a string to see whether it is one of:
If so, then the function returns true.
[in] | s | The string to be checked. |
Definition at line 730 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::add_option_from_string().
bool advgetopt::is_true | ( | std::string | s | ) |
This function checks a string to see whether it is one of:
If so, then the function returns true.
[in] | s | The string to be checked. |
Definition at line 709 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::add_option_from_string().
Our iswspace() function is equivalent to the std::iswspace() function except that ‘’\r'and
'\n'` are never viewed as white spaces.
Definition at line 2417 of file conf_file.cpp.
Referenced by advgetopt::conf_file::get_line(), and advgetopt::conf_file::read_configuration().
If the data
string to be output is too large for the screen (too many lines; we assume the width was already "fixed") then use less to show the data. If less is not available, use more. If neither is available, fall back to printing everything at once.
[in,out] | out | The output stream where the data has to be written. |
[in] | data | The data to be written to stream. |
Definition at line 1069 of file utils.cpp.
References get_screen_height(), and option_flags_merge().
Referenced by advgetopt::getopt::process_system_options().
bool advgetopt::operator!= | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 944 of file option_info_ref.cpp.
bool advgetopt::operator!= | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 964 of file option_info_ref.cpp.
std::string advgetopt::operator+ | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator concatenates the value
string to the front of the rhs
reference.
[in] | value | A character to add to the left of the referred value. |
[in] | rhs | The referred value. |
Definition at line 565 of file option_info_ref.cpp.
std::string advgetopt::operator+ | ( | char | value, |
option_info_ref const & | rhs | ||
) |
This operator concatenates the value
ISO-8859-1 character to the front of the rhs
reference.
[in] | value | A character to add to the left of the referred value. |
[in] | rhs | The referred value. |
Definition at line 533 of file option_info_ref.cpp.
std::string advgetopt::operator+ | ( | char32_t | value, |
option_info_ref const & | rhs | ||
) |
This operator concatenates the value
Unicode character to the front of the rhs
reference.
[in] | value | A character to add to the left of the referred value. |
[in] | rhs | The referred value. |
Definition at line 549 of file option_info_ref.cpp.
std::string advgetopt::operator+ | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator concatenates the value
string to the front of the rhs
reference.
[in] | value | A character to add to the left of the referred value. |
[in] | rhs | The referred value. |
Definition at line 585 of file option_info_ref.cpp.
bool advgetopt::operator< | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 980 of file option_info_ref.cpp.
bool advgetopt::operator< | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1000 of file option_info_ref.cpp.
bool advgetopt::operator<= | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1016 of file option_info_ref.cpp.
bool advgetopt::operator<= | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1036 of file option_info_ref.cpp.
bool advgetopt::operator== | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 908 of file option_info_ref.cpp.
bool advgetopt::operator== | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 928 of file option_info_ref.cpp.
bool advgetopt::operator> | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1052 of file option_info_ref.cpp.
bool advgetopt::operator> | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1072 of file option_info_ref.cpp.
bool advgetopt::operator>= | ( | char const * | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1088 of file option_info_ref.cpp.
bool advgetopt::operator>= | ( | std::string const & | value, |
option_info_ref const & | rhs | ||
) |
This operator compares the specified value
with the value of the option specified as the rhs
(right hand-side.)
[in] | value | A string to compare an option's value with. |
[in] | rhs | The option to compare against value . |
Definition at line 1108 of file option_info_ref.cpp.
Definition at line 142 of file flags.h.
References option_flags_merge().
|
constexpr |
Definition at line 87 of file flags.h.
References GETOPT_FLAG_NONE.
Referenced by advgetopt::option_info::option_info(), advgetopt::validator_double::validator_double(), advgetopt::validator_duration::validator_duration(), advgetopt::validator_email::validator_email(), advgetopt::validator_integer::validator_integer(), advgetopt::validator_keywords::validator_keywords(), advgetopt::validator_length::validator_length(), advgetopt::validator_list::validator_list(), advgetopt::validator_regex::validator_regex(), advgetopt::validator_size::validator_size(), advgetopt::option_info::add_callback(), advgetopt::option_info::add_flag(), advgetopt::validator_list::add_validator(), advgetopt::option_info::add_value(), all_flags(), any_flags(), breakup_line(), advgetopt::variables::canonicalize_variable_name(), combine_option_flags(), command_flags(), config_flags(), advgetopt::validator_duration::convert_string(), advgetopt::validator_double::convert_string(), advgetopt::validator_integer::convert_string(), advgetopt::validator_size::convert_string(), advgetopt::validator::create(), advgetopt::validator::create(), default_group_name(), define_group(), define_option(), end_flags(), escape_shell_argument(), find_group(), find_option(), advgetopt::option_info::find_value_index_by_key(), format_usage_string(), advgetopt::option_info::get_basename(), advgetopt::option_info_ref::get_double(), advgetopt::option_info::get_double(), advgetopt::option_info::get_environment_variable_value(), advgetopt::option_info_ref::get_long(), advgetopt::option_info::get_long(), get_screen_height(), get_screen_width(), advgetopt::option_info::get_section_name(), advgetopt::option_info::get_section_name_list(), advgetopt::option_info::get_value(), advgetopt::variables::get_variable(), handle_user_directory(), advgetopt::option_info::has_flag(), advgetopt::option_info::has_value(), advgetopt::variables::has_variable(), insert_group_name(), is_false(), is_true(), less(), advgetopt::option_info::lock(), advgetopt::option_info_ref::operator+=(), advgetopt::option_info_ref::operator+=(), advgetopt::option_info_ref::operator+=(), advgetopt::option_info_ref::operator=(), advgetopt::option_info_ref::operator=(), option_flags(), option_flags_merge(), option_with_dashes(), option_with_underscores(), advgetopt::variables::process_value(), quote(), advgetopt::variables::recursive_process_value(), advgetopt::validator::register_validator(), advgetopt::option_info::remove_callback(), advgetopt::option_info::remove_flag(), sanitizer_details(), advgetopt::option_info::set_alias_destination(), advgetopt::option_info::set_configuration_filename(), advgetopt::option_info::set_default(), advgetopt::option_info::set_default(), advgetopt::option_info::set_flags(), advgetopt::option_info::set_help(), advgetopt::option_info::set_help(), advgetopt::option_info::set_multiple_separators(), advgetopt::option_info::set_multiple_separators(), advgetopt::option_info::set_multiple_values(), advgetopt::option_info::set_short_name(), advgetopt::option_info::set_trace_sources(), advgetopt::option_info::set_validator(), advgetopt::option_info::set_validator(), advgetopt::option_info::set_validator(), advgetopt::option_info::set_value(), advgetopt::variables::set_variable(), advgetopt::option_info::set_variables(), short_name_to_string(), split_string(), standalone_all_flags(), standalone_command_flags(), string_to_short_name(), advgetopt::option_info::trace_source(), unquote(), advgetopt::validator_double::validate(), advgetopt::validator_duration::validate(), advgetopt::validator_email::validate(), advgetopt::validator_integer::validate(), advgetopt::validator_length::validate(), advgetopt::validator_list::validate(), advgetopt::validator_regex::validate(), advgetopt::validator_size::validate(), advgetopt::option_info::validate_all_values(), advgetopt::option_info::validates(), advgetopt::option_info::value_changed(), and var_flags().
Definition at line 94 of file flags.h.
References GETOPT_FLAG_GROUP_MASK, and option_flags_merge().
std::string advgetopt::option_with_dashes | ( | std::string const & | s | ) |
Options are saved with -
instead of _
so all the standard compare functions can be used to find options. This function converts a string so all of the _
charaters get transformed to -
characters.
Why do we support both?
It is customary to use the -
in long command line option names. For example --long-form
uses a -
. (One exception is ffmpeg which uses _
in their long command line option names).
However, the advgetopt library also reads Unix like configuration files and parameters in those files are generally expected to use underscores (_
) in their names. For example email_address = contact@example.com
.
To make it simpler, the advgetopt library accepts both characters and decides to view them as being equal. So you can use both forms in both situations. The following are equivalent:
This function is used to convert a string to the advgetopt format which is to keep only -
in the names. So if it finds a _
, it gets transformed.
[in] | s | The string to transform. |
_
transformed to -
. Definition at line 259 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::get_option().
std::string advgetopt::option_with_underscores | ( | std::string const & | s | ) |
When generating some error messages, we like to show underscores if the variable comes from a configuration file. In this case we use this function to convert the dashes back to underscores and print that in the message.
[in] | s | The string to be converted. |
-
converted to _
. Definition at line 288 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::add_option_from_string(), and advgetopt::getopt::process_configuration_file().
This function adds quotes around a string.
If you do not define the close
quotation (i.e. it remains set to the NUL character '\0'), then the open
quotation gets reused as the closing quotation.
[in] | s | The string to be quoted. |
[in] | open | The opening quote to quote this string. |
[in] | close | The closing quote to quote this string. |
quote
. Definition at line 201 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::anonymous_namespace{validator.cpp}::lexer::next_token(), advgetopt::getopt::split_environment(), and split_string().
std::string advgetopt::sanitizer_details | ( | ) |
This function determines whether this library was compiled with the sanitizer extension. If so, then it will return detail about which feature was compiled in.
If no sanitizer options were compiled in, then it returns a message saying so.
Definition at line 1005 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::process_system_options().
std::string advgetopt::short_name_to_string | ( | short_name_t | short_name | ) |
This function is the opposite of the to_short_name() except that the input is expected to be a valid short name or NO_SHORT_NAME.
When the input is NO_SHORT_NAME, the function outputs an empty string.
[in] | short_name | The short name to convert to UTF-8. |
Definition at line 162 of file option_info.cpp.
References NO_SHORT_NAME, and option_flags_merge().
Referenced by advgetopt::getopt::add_option(), advgetopt::getopt::parse_arguments(), advgetopt::getopt::set_short_name(), and advgetopt::getopt::usage().
void advgetopt::split_string | ( | std::string const & | str, |
string_list_t & | result, | ||
string_list_t const & | separators | ||
) |
This function searches for any of the separators
in str
and split at those locations.
For example, to split a comma separated list of strings, use the following:
If string_to_split
is set to "a, b, c", then the result
vector will have three strings as a result: a
, b
, and c
. Note that the function automatically trims all strings and it never keeps empty strings. So two separators one after another is accepted and no empty string results.
The trimming happens after the split occurs. This allows for the list of separators to include spaces as separators.
The function does not clear the result vector. This allows you to call this function multiple times with various strings and the results will be cumulated.
a"b"c
becomes {"a", "b", "c"}
when there are not separators between a
, "b"
, and c
. To the minimum we may want to generate an error when such is found (i.e. when a quote is found and start < pos
is true.[in] | str | The string to split. |
[in] | result | The vector where the split strings are saved. |
[in] | separators | The vector of strings used as separators. |
Definition at line 347 of file utils.cpp.
References option_flags_merge(), and quote().
Referenced by advgetopt::getopt::parse_option_map(), advgetopt::getopt::parse_options_from_file(), and advgetopt::option_info::set_multiple_values().
Definition at line 166 of file flags.h.
References combine_option_flags(), GETOPT_FLAG_COMMAND_LINE, GETOPT_FLAG_CONFIGURATION_FILE, GETOPT_FLAG_ENVIRONMENT_VARIABLE, GETOPT_FLAG_FLAG, and option_flags_merge().
Definition at line 179 of file flags.h.
References GETOPT_FLAG_CONFIGURATION_FILE, GETOPT_FLAG_ENVIRONMENT_VARIABLE, and option_flags_merge().
short_name_t advgetopt::string_to_short_name | ( | std::string const & | name | ) |
This function transforms a string to a short name. The input string can represent a UTF-8 character that can be used as a short name.
An empty string is not considered to represent any name and thus this function returns NO_SHORT_NAME when the input is an empty string.
[in] | name | The name to be checked. |
Definition at line 128 of file option_info.cpp.
References NO_SHORT_NAME, and option_flags_merge().
Referenced by advgetopt::getopt::get_option(), and advgetopt::getopt::parse_options_info().
If a string starts and ends with the same quotation mark, then it gets removed.
If no quotes appear, then the function returns a copy of the input as is.
The pairs
parameter must have an even size (or the last character gets ignored). By default, it is set to the double and single quotes:
To remove square, angle, curly brackets:
[in] | s | The string to unquote. |
[in] | pairs | A list of accepted quotes. |
Definition at line 168 of file utils.cpp.
References option_flags_merge().
Referenced by advgetopt::getopt::parse_options_from_file(), advgetopt::conf_file::read_configuration(), and advgetopt::option_info::set_multiple_values().
Definition at line 203 of file flags.h.
References GETOPT_FLAG_COMMAND_LINE, GETOPT_FLAG_CONFIGURATION_FILE, and option_flags_merge().
|
constexpr |
Definition at line 72 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), advgetopt::conf_file::is_assignment_operator(), and advgetopt::conf_file::save_configuration().
|
constexpr |
Definition at line 71 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), advgetopt::conf_file::is_assignment_operator(), and advgetopt::getopt::parse_options_from_file().
|
constexpr |
Definition at line 74 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), and advgetopt::conf_file::is_assignment_operator().
|
constexpr |
Definition at line 76 of file conf_file.h.
|
constexpr |
Definition at line 73 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), advgetopt::conf_file::is_assignment_operator(), advgetopt::conf_file::read_configuration(), and advgetopt::conf_file::save_configuration().
Definition at line 84 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), and advgetopt::conf_file::is_comment().
Definition at line 82 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), advgetopt::conf_file::is_comment(), and advgetopt::getopt::parse_options_from_file().
Definition at line 88 of file conf_file.h.
Definition at line 81 of file conf_file.h.
Definition at line 86 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), and advgetopt::conf_file::read_configuration().
Definition at line 83 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), advgetopt::conf_file::is_comment(), and advgetopt::getopt::parse_options_from_file().
Definition at line 63 of file exception.h.
Definition at line 51 of file advgetopt.h.
Referenced by advgetopt::getopt::process_configuration_file().
The GPL license version 2. This is a C string you can directly use in your options_environment. The –license command line option will then automatically print the license.
Definition at line 40 of file license_gpl2.cpp.
Definition at line 437 of file options.h.
Referenced by advgetopt::getopt::is_parsed().
Definition at line 432 of file options.h.
Referenced by advgetopt::getopt::process_configuration_file().
Definition at line 435 of file options.h.
Referenced by advgetopt::getopt::finish_parsing(), and advgetopt::getopt::initialize_parser().
Definition at line 434 of file options.h.
Referenced by advgetopt::getopt::get_managed_configuration_filenames(), and advgetopt::getopt::initialize_parser().
|
staticconstexpr |
Definition at line 50 of file flags.h.
Referenced by define_option(), advgetopt::getopt::get_alias_destination(), advgetopt::getopt::link_aliases(), advgetopt::getopt::parse_options_from_file(), advgetopt::option_info::set_alias_destination(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 57 of file flags.h.
Referenced by advgetopt::getopt::parse_arguments(), and advgetopt::option_info::set_multiple_values().
|
staticconstexpr |
Definition at line 45 of file flags.h.
Referenced by all_flags(), combine_option_flags(), config_flags(), advgetopt::getopt::parse_arguments(), advgetopt::getopt::parse_options_from_file(), advgetopt::getopt::parse_options_from_group_names(), standalone_all_flags(), and var_flags().
|
staticconstexpr |
Definition at line 47 of file flags.h.
Referenced by all_flags(), combine_option_flags(), command_flags(), advgetopt::getopt::parse_options_from_file(), advgetopt::getopt::process_configuration_file(), standalone_all_flags(), standalone_command_flags(), and var_flags().
|
staticconstexpr |
Definition at line 54 of file flags.h.
Referenced by advgetopt::option_info::option_info(), combine_option_flags(), and advgetopt::option_info::is_default_option().
|
staticconstexpr |
Definition at line 79 of file flags.h.
Referenced by advgetopt::getopt::process_configuration_file().
|
staticconstexpr |
Definition at line 48 of file flags.h.
Referenced by advgetopt::getopt::operator[](), advgetopt::getopt::parse_options_from_file(), advgetopt::option_info::set_value(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 82 of file flags.h.
Referenced by any_flags(), combine_option_flags(), and advgetopt::getopt::parse_options_info().
|
staticconstexpr |
Definition at line 46 of file flags.h.
Referenced by all_flags(), combine_option_flags(), command_flags(), config_flags(), define_option(), advgetopt::getopt::parse_arguments(), advgetopt::getopt::parse_options_from_file(), standalone_all_flags(), and standalone_command_flags().
|
staticconstexpr |
Definition at line 51 of file flags.h.
Referenced by advgetopt::getopt::add_option(), advgetopt::getopt::add_option_from_string(), advgetopt::getopt::add_options(), combine_option_flags(), advgetopt::getopt::options_to_string(), advgetopt::getopt::parse_options_from_file(), advgetopt::getopt::parse_options_from_group_names(), standalone_all_flags(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 71 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file(), and advgetopt::getopt::parse_options_from_group_names().
|
staticconstexpr |
Definition at line 75 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file().
|
staticconstexpr |
Definition at line 74 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file().
|
staticconstexpr |
Definition at line 66 of file flags.h.
Referenced by advgetopt::getopt::find_group(), option_flags_merge(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 68 of file flags.h.
Referenced by advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 67 of file flags.h.
Referenced by advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 70 of file flags.h.
Referenced by advgetopt::getopt::find_group(), advgetopt::getopt::parse_options_from_group_names(), advgetopt::getopt::process_system_options(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 72 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file().
|
staticconstexpr |
Definition at line 77 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file().
|
staticconstexpr |
Definition at line 69 of file flags.h.
Referenced by advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 76 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file().
|
staticconstexpr |
Definition at line 73 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file().
|
staticconstexpr |
Definition at line 55 of file flags.h.
Referenced by advgetopt::option_info::has_default(), advgetopt::option_info::remove_default(), and advgetopt::option_info::set_default().
|
staticconstexpr |
Definition at line 80 of file flags.h.
Referenced by advgetopt::option_info::lock(), advgetopt::option_info::set_value(), and advgetopt::option_info::unlock().
|
staticconstexpr |
Definition at line 53 of file flags.h.
Referenced by advgetopt::getopt::add_option_from_string(), advgetopt::getopt::add_options(), advgetopt::option_info::add_value(), combine_option_flags(), advgetopt::getopt::parse_options_from_file(), advgetopt::getopt::process_configuration_file(), advgetopt::option_info::set_multiple_values(), advgetopt::option_info::set_value(), advgetopt::option_info::trace_source(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 43 of file flags.h.
Referenced by define_option(), and option_flags_merge().
|
staticconstexpr |
Definition at line 56 of file flags.h.
Referenced by advgetopt::option_info::get_value().
|
staticconstexpr |
Definition at line 52 of file flags.h.
Referenced by advgetopt::getopt::add_option_from_string(), advgetopt::getopt::add_options(), combine_option_flags(), advgetopt::getopt::get_string(), advgetopt::getopt::parse_options_from_file(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 61 of file flags.h.
Referenced by advgetopt::getopt::process_system_options(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 62 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_group_names(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 63 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_group_names(), and advgetopt::getopt::usage().
|
staticconstexpr |
|
staticconstexpr |
Definition at line 64 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_group_names(), advgetopt::getopt::process_system_options(), and advgetopt::getopt::usage().
|
staticconstexpr |
Definition at line 60 of file flags.h.
Referenced by advgetopt::getopt::parse_options_from_file(), and advgetopt::getopt::usage().
|
constexpr |
Definition at line 107 of file conf_file.h.
Referenced by advgetopt::conf_file::save_configuration().
|
constexpr |
Definition at line 106 of file conf_file.h.
|
constexpr |
Definition at line 51 of file option_info.h.
Referenced by advgetopt::option_info::option_info(), advgetopt::getopt::add_option(), advgetopt::getopt::get_option(), advgetopt::getopt::parse_options_from_file(), advgetopt::getopt::parse_options_info(), advgetopt::getopt::set_short_name(), short_name_to_string(), string_to_short_name(), and advgetopt::getopt::usage().
|
constexpr |
Definition at line 96 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), and advgetopt::conf_file::read_configuration().
|
constexpr |
Definition at line 94 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), and advgetopt::conf_file::set_parameter().
|
constexpr |
Definition at line 95 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), and advgetopt::conf_file::set_parameter().
|
constexpr |
Definition at line 97 of file conf_file.h.
Referenced by advgetopt::conf_file_setup::get_config_url(), advgetopt::getopt::parse_options_from_file(), and advgetopt::conf_file::read_configuration().
|
constexpr |
Definition at line 101 of file conf_file.h.
|
constexpr |
Definition at line 93 of file conf_file.h.
Referenced by advgetopt::conf_file::set_parameter().
|
constexpr |
Definition at line 99 of file conf_file.h.
Referenced by advgetopt::getopt::parse_options_from_file(), and advgetopt::conf_file::set_parameter().
Definition at line 61 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 71 of file advgetopt.h.
Referenced by advgetopt::getopt::finish_parsing().
Definition at line 69 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 63 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 59 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 62 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 57 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 60 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 54 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 72 of file advgetopt.h.
Definition at line 64 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 65 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 66 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
Definition at line 58 of file advgetopt.h.
Referenced by advgetopt::getopt::process_system_options().
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.