algorithms  2.2.0
Framework-independent algorithms for the EIC
Loading...
Searching...
No Matches
algorithms::Configurable Class Reference

#include <algorithms/property.h>

Inheritance diagram for algorithms::Configurable:
[legend]

Classes

class  PropertyBase
class  Property

Public Types

using PropertyMap = std::map<std::string_view, PropertyBase&>

Public Member Functions

template<typename T>
void setProperty (std::string_view name, T &&value)
template<typename T>
T getProperty (std::string_view name) const
const PropertyMap & getProperties () const
bool hasProperty (std::string_view name) const
auto missingProperties () const
void validate () const

Detailed Description

Definition at line 40 of file property.h.

Member Typedef Documentation

◆ PropertyMap

using algorithms::Configurable::PropertyMap = std::map<std::string_view, PropertyBase&>

Definition at line 43 of file property.h.

Member Function Documentation

◆ getProperties()

const PropertyMap & algorithms::Configurable::getProperties ( ) const
inline

Definition at line 51 of file property.h.

◆ getProperty()

template<typename T>
T algorithms::Configurable::getProperty ( std::string_view name) const
inline

Definition at line 48 of file property.h.

◆ hasProperty()

bool algorithms::Configurable::hasProperty ( std::string_view name) const
inline

Definition at line 52 of file property.h.

◆ missingProperties()

auto algorithms::Configurable::missingProperties ( ) const
inline

Definition at line 56 of file property.h.

◆ setProperty()

template<typename T>
void algorithms::Configurable::setProperty ( std::string_view name,
T && value )
inline

Definition at line 45 of file property.h.

◆ validate()

void algorithms::Configurable::validate ( ) const
inline

Definition at line 66 of file property.h.


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