|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Base variadic parser for parsing many config structs at once. More...
#include <settings_parsers.hpp>
Static Public Member Functions | |
| static std::tuple< Ts... > | Parse (std::string const &config) |
| The primary idea for filling a tuple using variadic templates comes from: http://stackoverflow.com/questions/10014713/build-tuple-using-variadic-templates. | |
Base variadic parser for parsing many config structs at once.
A specialization for a typelist of configs appears below.
| RealT | Real number type |
| Ts | Configuration structures to be filled by the parser |
|
inlinestatic |
The primary idea for filling a tuple using variadic templates comes from: http://stackoverflow.com/questions/10014713/build-tuple-using-variadic-templates.
Reads in a comment-stripped, config portion of a Bertini classic input file. Parses the config settings and returns the structures passed into the template parameters with the relevant config settings.
| config | The string containing the comment-stripped config portion of the Bertini classic input file. |