STORMM Source Documentation
Loading...
Searching...
No Matches
stormm::namelist::NamelistToken Class Reference

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.
 

Detailed Description

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.


The documentation for this class was generated from the following files: