Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
OptionCollection.cc File Reference

Program options collection. More...

#include <utility/options/OptionCollection.hh>
#include <utility/options/keys/OptionKeys.hh>
#include <utility/exit.hh>
#include <ObjexxFCL/char.functions.hh>
#include <ObjexxFCL/string.functions.hh>
#include <ObjexxFCL/format.hh>
#include <utility/vector0.hh>
#include <utility/vector1.hh>
#include <utility/string_util.hh>
#include <utility/io/izstream.hh>
#include <utility/excn/Exceptions.hh>
#include <algorithm>
#include <iostream>
#include <utility>
#include <boost/algorithm/string/erase.hpp>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 
 utility::options
 

Macros

#define COL1   30
 
#define COL2   25
 
#define COL3   30
 

Functions

void utility::options::std_exit_wrapper (const int error_code)
 
bool utility::options::is_not_ascii (char C)
 Utility function to return true if a character isn't a standard ASCII one. This is a bit more general, as it also returns true if the character is a (non-space) non-printing ASCII one. More...
 
bool utility::options::has_non_ascii (std::string const &str)
 Utility function which returns true if the string contains a non-ASCII value. More...
 
std::string::size_type utility::options::non_ascii_pos (std::string const &str)
 Utility function to return the position of the first non-ASCII value in the string. The return value is 1-indexed. More...
 
template<class T >
void utility::options::show_accessed_options_T (T i, T e, std::vector< std::string > &sv)
 Local helper function for implementing show_accessed_options. More...
 
template<class T >
void utility::options::show_unused_options_T (T i, T e, std::vector< std::string > &sv)
 Local helper function for implementing show_unused_options. More...
 
std::ostream & utility::options::operator<< (std::ostream &stream, OptionCollection const &options)
 Output to stream. More...
 

Detailed Description

Program options collection.

Set a user-specified option value from an note Uses all value strings and doesn't erase them.

Load a user-specified option argument from an.

Author
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)
Modified by Sergey Lyskov (Serge.nosp@m.y.Ly.nosp@m.skov@.nosp@m.jhu..nosp@m.edu)
Modified by Vikram K. Mulligan (vmull.nosp@m.igan.nosp@m.@flat.nosp@m.iron.nosp@m.insti.nosp@m.tute.nosp@m..org) – added thread safety.

Macro Definition Documentation

#define COL1   30
#define COL2   25
#define COL3   30