Go to the documentation of this file.
21 #ifndef ph_optionparser_hh
22 #define ph_optionparser_hh
61 typedef char SSeperators[];
64 typedef std::vector<std::pair<std::string, CParsedOptions>>
CParts;
83 CParts::size_type
size()
const;
92 int split(
const std::string& s,
char c, std::list<std::string>& result)
const;
93 CParsedOptions::value_type split_pair_b(
const std::string& s,
char c)
const;
94 CParsedOptions::value_type split_pair(
const std::string& s,
char c)
const;
98 static char m_parts_seperator;
99 static char m_part_options;
100 static char m_option_seperator;
101 static char m_assignment_seperator;
std::map< std::string, std::string > CParsedOptions
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
CParts::size_type size() const
std::vector< std::pair< std::string, CParsedOptions > > CParts
Type for a map of parts of a complex option.
#define NS_MIA_END
conveniance define to end the mia namespace
CParts::const_iterator const_iterator
the iterator over the parts of a complex option
const_iterator end() const
Parser for complex command line options.
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
CComplexOptionParser(const std::string ¶m)
const_iterator begin() const
static void set_seperators(SSeperators sep)