Sierra Toolkit  Version of the Day
Command_line_options_detail

Functions

boost::program_options::options_description & stk_classic::get_options_description ()
 Function get_options_description is a singleton used to store the command line option descriptions for the boost::program_options library. This option descriptions should be populated with options by each module using Bootstrap object callback functions. This allows modules to populate these prior to main's execution of the boost::parse_command_line() functions. More...
 
boost::program_options::variables_map & stk_classic::get_variables_map ()
 Function get_variabel_map is a singleton used to store the variables parsed from the line option descriptions. More...
 

Detailed Description

Function Documentation

◆ get_options_description()

boost::program_options::options_description & stk_classic::get_options_description ( )

Function get_options_description is a singleton used to store the command line option descriptions for the boost::program_options library. This option descriptions should be populated with options by each module using Bootstrap object callback functions. This allows modules to populate these prior to main's execution of the boost::parse_command_line() functions.

Returns
an boost::program_options::options_description reference to the program options to be used for all command line option descriptions.

Definition at line 14 of file ProgramOptions.cpp.

◆ get_variables_map()

boost::program_options::variables_map & stk_classic::get_variables_map ( )

Function get_variabel_map is a singleton used to store the variables parsed from the line option descriptions.

Returns
an boost::program_options::variable_map reference to the program options to be used for all command line option descriptions.

Definition at line 22 of file ProgramOptions.cpp.