Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
option.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file basic/options/option.hh
11 /// @brief Program options global and initialization function
12 /// @author Stuart G. Mentzer (Stuart_Mentzer@objexx.com)
13 
14 #ifndef INCLUDED_basic_options_option_hh
15 #define INCLUDED_basic_options_option_hh
16 
17 #include <utility/options/OptionCollection.hh> // for Option...
18 
19 #include <basic/options/keys/OptionKeys.hh> // Convenience
20 
21 #include <utility/options/BooleanOption.hh> // for BooleanOption
22 #include <utility/options/BooleanVectorOption.hh> // for BooleanVectorOption
23 #include <utility/options/FileOption.hh> // for FileOption
24 #include <utility/options/FileVectorOption.hh> // for FileVectorOption
25 #include <utility/options/IntegerOption.hh> // for IntegerOption
26 #include <utility/options/IntegerVectorOption.hh> // for IntegerVectorOption
27 #include <utility/options/Option.hh> // for Option
28 #include <utility/options/OptionCollection.hh> // for OptionCollection
29 #include <utility/options/PathOption.hh> // for PathOption
30 #include <utility/options/PathVectorOption.hh> // for PathVectorOption
31 #include <utility/options/RealOption.hh> // for RealOption
32 #include <utility/options/RealVectorOption.hh> // for RealVectorOption
33 #include <utility/options/StringOption.hh> // for StringOption
34 #include <utility/options/StringVectorOption.hh> // for StringVectorOption
35 
36 namespace basic {
37 namespace options {
38 
39 // Types
54 
55 
56 /// @brief OptionCollection global
58 
59 
60 /// @brief Named verbosity levels
61 extern int const silent ; // No messages output
62 extern int const quiet ;
63 extern int const standard;
64 extern int const inform ;
65 extern int const chat ;
66 extern int const yap ;
67 extern int const gush ;
68 extern int const verbose ; // All messages output
69 
70 
71 /// @brief Initialize the options
73 initialize();
74 
75 
76 /// @brief Process the specified options
78 process();
79 
80 
81 } // namespace options
82 } // namespace basic
83 
84 
85 #endif // INCLUDED_basic_options_option_HH
Program file option class.
Program path option class.
Program path vector option class.
utility::options::OptionCollection OptionCollection
Definition: option.hh:40
int const yap
utility::options::PathOption PathOption
Definition: option.hh:47
Program file vector option class.
Program real option class.
Program options collection.
Program string vector option class.
Program integer vector option class.
Program string option class.
Program boolean option class.
utility::options::FileVectorOption FileVectorOption
Definition: option.hh:52
utility::options::BooleanOption BooleanOption
Definition: option.hh:42
int const chat
Program string option class.
OptionCollection & initialize()
Initialize the options.
Definition: option.cc:61
utility::options::RealVectorOption RealVectorOption
Definition: option.hh:50
Program boolean option class.
Program option interface class.
Program options collection.
utility::options::PathVectorOption PathVectorOption
Definition: option.hh:53
Program path vector option class.
OptionCollection & process()
Process the specified options.
Definition: option.cc:94
int const inform
utility::options::FileOption FileOption
Definition: option.hh:46
utility::options::RealOption RealOption
Definition: option.hh:44
basic::options::OptionKeys collection
Program boolean vector option class.
int const quiet
rule< Scanner, options_closure::context_t > options
Definition: Tag.cc:377
utility::options::OptionCollection option
OptionCollection global.
Definition: option.cc:45
Program real option class.
Definition: RealOption.hh:40
Program file vector option class.
Program string option class.
Definition: StringOption.hh:35
Program option interface class.
Definition: Option.hh:36
Program real vector option class.
Program real vector option class.
Program file option class.
Definition: FileOption.hh:38
Program integer option class.
utility::options::StringVectorOption StringVectorOption
Definition: option.hh:51
Program integer vector option class.
int const gush
Program integer option class.
utility::options::StringOption StringOption
Definition: option.hh:45
utility::options::BooleanVectorOption BooleanVectorOption
Definition: option.hh:48
utility::options::IntegerOption IntegerOption
Definition: option.hh:43
utility::options::Option Option
Definition: option.hh:41
int const standard
utility::options::IntegerVectorOption IntegerVectorOption
Definition: option.hh:49
Program path option class.
Definition: PathOption.hh:38
Program boolean vector option class.
int const silent
Named verbosity levels.
int const verbose