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

Key lookup key query functor. More...

#include <KeyLookup.hh>

Public Member Functions

 key ()=default
 Default constructor. More...
 
K const & operator() (std::string const &id) const
 Key with an id. More...
 
K const & operator() (Key const &key_) const
 Key with the id of a key. More...
 

Detailed Description

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

Key lookup key query functor.

Constructor & Destructor Documentation

template<typename K>
utility::keys::lookup::key< K >::key ( )
inlinedefault

Default constructor.

Member Function Documentation

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

Key with an id.

References utility::keys::KeyLookup< K >::key().

template<typename K>
K const& utility::keys::lookup::key< K >::operator() ( Key const &  key_) const
inline

Key with the id of a key.

References utility::keys::Key::id(), and utility::keys::KeyLookup< K >::key().


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