spla
Public Member Functions | List of all members
spla::Registry Class Reference

Registry with key-algo mapping of stored algo implementations. More...

#include <registry.hpp>

Public Member Functions

virtual ~Registry ()=default
 
virtual void add (const std::string &key, std::shared_ptr< RegistryAlgo > algo)
 
virtual bool has (const std::string &key)
 
virtual std::shared_ptr< RegistryAlgofind (const std::string &key)
 

Detailed Description

Registry with key-algo mapping of stored algo implementations.

Constructor & Destructor Documentation

◆ ~Registry()

virtual spla::Registry::~Registry ( )
virtualdefault

Member Function Documentation

◆ add()

void spla::Registry::add ( const std::string &  key,
std::shared_ptr< RegistryAlgo algo 
)
virtual

◆ find()

std::shared_ptr< RegistryAlgo > spla::Registry::find ( const std::string &  key)
virtual

◆ has()

bool spla::Registry::has ( const std::string &  key)
virtual

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