Factory that is used to create Parsers.
More...
#include <ParserFactory.h>
Factory that is used to create Parsers.
Definition at line 53 of file ParserFactory.h.
◆ create()
static std::shared_ptr<Parser> Ingester::ParserFactory::create |
( |
const eckit::Configuration & |
conf | ) |
|
|
inlinestatic |
Create a Parser.
- Parameters
-
conf | Provides the name of the parser we want to create |
Definition at line 58 of file ParserFactory.h.
◆ getMakers()
static std::map<std::string, std::shared_ptr<ParserMakerBase> >& Ingester::ParserFactory::getMakers |
( |
| ) |
|
|
inlinestaticprivate |
Internal method that returns a map of Parser Makers that were registered with registerParser.
Definition at line 97 of file ParserFactory.h.
◆ registerParser()
template<class T >
static void Ingester::ParserFactory::registerParser |
( |
const std::string & |
name | ) |
|
|
inlinestatic |
Register a new Parser type we want to be able to create.
- Template Parameters
-
- Parameters
-
name | The name to associate with the parser class. |
Definition at line 79 of file ParserFactory.h.
The documentation for this class was generated from the following file: