NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Classes | Namespaces | Functions | Variables
Utils.hpp File Reference
#include "Utility/Logging/Logging.h"
#include <map>
#include <vector>

Go to the source code of this file.

Classes

struct  NAIA::_private::LimitedWarning< times_to_run >
 
struct  NAIA::_private::LimitedWarning< times_to_run >::NotDonePrintingException
 

Namespaces

 NAIA
 
 NAIA::_private
 

Functions

template<typename T , size_t N, typename Key >
std::enable_if
< std::is_convertible< Key,
size_t >::value, bool >::type 
NAIA::ContainsKeys (const std::array< T, N > &container, Key key)
 
template<typename T , typename Key , typename Value >
std::enable_if
< std::is_convertible< T, Key >
::value, bool >::type 
NAIA::KeyExists (T key, const std::map< Key, Value > &container)
 
template<typename T , typename Value >
std::enable_if
< std::is_convertible< T,
size_t >::value, bool >::type 
NAIA::KeyExists (T key, const std::vector< Value > &container)
 
template<typename T , typename Key , typename Value >
std::enable_if
< std::is_convertible< T, Key >
::value, bool >::type 
NAIA::ContainsKeys (const std::map< Key, Value > &container, T key)
 
template<typename T , typename Key >
std::enable_if
< std::is_convertible< Key,
size_t >::value, bool >::type 
NAIA::ContainsKeys (const std::vector< T > &container, Key key)
 
template<typename T , typename Key , typename... Keys, typename Value >
std::enable_if
< std::is_convertible< T, Key >
::value, bool >::type 
NAIA::ContainsKeys (const std::map< Key, Value > &container, T key, Keys...keys)
 
template<typename T , typename Key , typename... Keys>
std::enable_if
< std::is_convertible< Key,
size_t >::value, bool >::type 
NAIA::ContainsKeys (const std::vector< T > &container, Key key, Keys...keys)
 

Variables

const LimitedWarning< 10 > NAIA::_private::keyexists_deprecation_msg