|
NEML2 2.0.0
|
A parser is responsible for parsing an input file into a collection of options which can be used by the Factory to manufacture corresponding objects. More...
A parser is responsible for parsing an input file into a collection of options which can be used by the Factory to manufacture corresponding objects.
#include <Parser.h>

Public Member Functions | |
| Parser ()=default | |
| Parser (const Parser &)=default | |
| Parser (Parser &&) noexcept=default | |
| Parser & | operator= (const Parser &)=default |
| Parser & | operator= (Parser &&) noexcept=default |
| virtual | ~Parser ()=default |
| virtual InputFile | parse (const std::filesystem::path &filename, const std::string &additional_input="") const =0 |
| Deserialize a file. | |
Static Public Attributes | |
| static const std::vector< std::string > | sections |
| Known top-level sections in the input file. | |
|
default |
|
virtualdefault |
|
pure virtual |
|
static |
Known top-level sections in the input file.