STORMM Source Documentation
|
Link a string containing the human-readable title of a namelist to a function pointer which produces a complete, but probably uninitialized, namelist emulator containing all of the relevant keywords. More...
#include <namelist_inventory.h>
Public Member Functions | |
NamelistToken (const std::string &title_in, NmlFuncPtr producer_in) | |
The constructor will take both the namelist title and a pointer to the function that produces its NamelistEmulator. | |
const std::string & | getTitle () const |
Get the namelist title. | |
NamelistEmulator | invoke (const TextFile &tf, int *start_line, bool *found, ExceptionResponse policy=ExceptionResponse::DIE, WrapTextSearch wrap=WrapTextSearch::YES) const |
Invoke the corresponding function to produce a namelist emulator, perhaps loaded with input data. | |
Link a string containing the human-readable title of a namelist to a function pointer which produces a complete, but probably uninitialized, namelist emulator containing all of the relevant keywords.