|
Sequoia
|
Parsing of commandline arguments. More...
#include "sequoia/Core/Meta/Concepts.hpp"#include "sequoia/Maths/Graph/DynamicTree.hpp"#include "sequoia/Maths/Graph/GraphTraversalFunctions.hpp"#include <vector>#include <string>#include <functional>#include <stdexcept>Go to the source code of this file.
Classes | |
| class | sequoia::parsing::commandline::proper_string |
Class which wraps a std::string and enforces the invariant that the std::string be non-empty. More... | |
| struct | sequoia::parsing::commandline::option |
| Used to specify a forest of options, against which the runtime commandline arguments are parsed. More... | |
| struct | sequoia::parsing::commandline::operation |
| Used to build a forest of operations which will be invoked at the end of the parsing process. More... | |
| struct | sequoia::parsing::commandline::outcome |
| The result of parsing command line arguments to build an operation forest. More... | |
| class | sequoia::parsing::commandline::argument_parser |
| Parses command line arguments, building outcome from an option forest. More... | |
Parsing of commandline arguments.
The philosophy is to specify a forest whose nodes are instance of sequoia::parsing::commandline::option. This is used at runtime, as the command line arguments are parsed to generate a forest whose nodes are instances of sequoia::parsing::commandline::operation. This tree is then traversed, and the function objects held by the operations invoked.