Scarab  v3.3.0
Project 8 C++ Utility Library
nonoption_parser.hh
Go to the documentation of this file.
1 #ifndef SCARAB_NONOPTION_PARSER_HH_
2 #define SCARAB_NONOPTION_PARSER_HH_
3 
4 #include "param.hh"
5 
6 #include "member_variables.hh"
7 
8 #include <string>
9 
10 namespace scarab
11 {
12 
14  {
15  public:
16  nonoption_parser( std::vector< std::string > an_args );
17  virtual ~nonoption_parser();
18 
19  mv_referrable_const( param_array, ord_args );
20  mv_referrable_const( param_node, kw_args );
21 
22  private:
23  void parse( const std::string& an_arg );
24 
25  public:
26  static const char f_value_separator = '=';
27  static const char f_option_starter = '-';
28 
29  };
30 
31 } /* namespace scarab */
32 
33 #endif /* SCARAB_NONOPTION_PARSER_HH_ */
#define SCARAB_API
Definition: scarab_api.hh:24
auto parse(const std::basic_string< CharT, Traits, Alloc > &format, Parsable &tp) -> decltype(from_stream(std::declval< std::basic_istream< CharT, Traits > &>(), format.c_str(), tp), parse_manip< Parsable, CharT, Traits, Alloc >
Definition: date.h:7239
#define mv_referrable_const