Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IPathProvider< EnumType > Class Template Referenceabstract

Interface for providing specific filesystem paths based on enumerated identifiers. More...

#include <IPathProvider.h>

Public Member Functions

virtual ~IPathProvider ()=default
 Virtual destructor for polymorphic use.
 
virtual fs::path get_path (EnumType)=0
 Retrieves a filesystem path corresponding to a specific enum identifier.
 

Detailed Description

template<typename EnumType>
class IPathProvider< EnumType >

Interface for providing specific filesystem paths based on enumerated identifiers.

Template Parameters
EnumTypeEnum describing the set of available paths for a given provider (e.g. APIPath, MartyPath).

Implementations map EnumType values to concrete filesystem locations, typically derived from configuration or a central paths provider.

Definition at line 42 of file IPathProvider.h.

Constructor & Destructor Documentation

◆ ~IPathProvider()

template<typename EnumType >
virtual IPathProvider< EnumType >::~IPathProvider ( )
virtualdefault

Virtual destructor for polymorphic use.

Member Function Documentation

◆ get_path()

template<typename EnumType >
virtual fs::path IPathProvider< EnumType >::get_path ( EnumType  )
pure virtual

Retrieves a filesystem path corresponding to a specific enum identifier.

Parameters
enum_valEnum value indicating the desired path.
Returns
Filesystem path corresponding to the enum.

Implemented in APIAdapter, and MartyAdapter.


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