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::has< K > Struct Template Reference

Key lookup has query functor. More...

#include <KeyLookup.hh>

Public Member Functions

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

Detailed Description

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

Key lookup has query functor.

Constructor & Destructor Documentation

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

Default constructor.

Member Function Documentation

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

Has a key with an identifier?

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

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

Has a key?

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

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

Has a key with the id of a key?

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


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