Sierra Toolkit  Version of the Day
ProgramOptions.cpp
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2010 Sandia Corporation. */
3 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4 /* license for use of this work by or on behalf of the U.S. Government. */
5 /* Export of this program may require a license from the */
6 /* United States Government. */
7 /*------------------------------------------------------------------------*/
8 
9 #include <stk_util/environment/ProgramOptions.hpp>
10 
11 namespace stk_classic {
12 
13 boost::program_options::options_description &
15 {
16  static boost::program_options::options_description s_optionsDescription;
17 
18  return s_optionsDescription;
19 }
20 
21 boost::program_options::variables_map &
23 {
24  static boost::program_options::variables_map s_variablesMap;
25 
26  return s_variablesMap;
27 }
28 
29 } // namespace stk_classic
boost::program_options::options_description & get_options_description()
Function get_options_description is a singleton used to store the command line option descriptions fo...
Sierra Toolkit.
boost::program_options::variables_map & get_variables_map()
Function get_variabel_map is a singleton used to store the variables parsed from the line option desc...