Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
utility::keys::lookup::gen< K > Struct Template Reference

Key lookup/generator functor. More...

#include <KeyLookup.hh>

Public Member Functions

 gen ()=default
 Default constructor. More...
template<typename KeyC >
K const & key (std::string const &id) const
 Key with an id: Generate if not present. More...

Detailed Description

template<typename K>
struct utility::keys::lookup::gen< K >

Key lookup/generator functor.

Constructor & Destructor Documentation

template<typename K>
utility::keys::lookup::gen< K >::gen ( )

Default constructor.

Member Function Documentation

template<typename K>
template<typename KeyC >
K const& utility::keys::lookup::gen< K >::key ( std::string const &  id) const

Key with an id: Generate if not present.

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