Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ParserFactory Class Reference

Factory for creating IParser instances. More...

#include <ParserFactory.h>

Public Types

enum class  Type { JSON , YAML , LHA }
 

Static Public Member Functions

static std::shared_ptr< IParsercreateParser (Type type)
 Creates a parser instance of the specified type.
 

Detailed Description

Factory for creating IParser instances.

Definition at line 13 of file ParserFactory.h.

Member Enumeration Documentation

◆ Type

enum class ParserFactory::Type
strong
Enumerator
JSON 
YAML 
LHA 

Definition at line 15 of file ParserFactory.h.

Member Function Documentation

◆ createParser()

std::shared_ptr< IParser > ParserFactory::createParser ( Type  type)
inlinestatic

Creates a parser instance of the specified type.

Parameters
typeThe type of parser to create.
Returns
A unique pointer to the created parser.

Definition at line 25 of file ParserFactory.h.


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