25#include "neml2/base/Parser.h"
26#include "neml2/base/Factory.h"
27#include "neml2/base/HITParser.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
static void load(const OptionCollection &all_options)
Provide all objects' options to the factory. The factory is ready to manufacture objects after this c...
Definition Factory.cxx:39
static void clear()
Destruct all the objects.
Definition Factory.cxx:73
A parser is responsible for parsing an input file into a collection of options which can be used by t...
Definition HITParser.h:37
bool end_with(std::string_view str, std::string_view suffix)
Definition parser_utils.cxx:92
Definition CrossRef.cxx:32
ParserType
Definition Parser.h:33
@ XML
Definition Parser.h:35
@ YAML
Definition Parser.h:36
@ HIT
Definition Parser.h:34
@ AUTO
Definition Parser.h:37
void load_model(const std::string &path, const std::string &additional_input, ParserType ptype)
A convenient function to parse all options from an input file.
Definition Parser.cxx:32
void neml_assert(bool assertion, Args &&... args)
Definition error.h:73