#include <cstdint>
#include <iomanip>
#include <sstream>
#include <stdexcept>
#include <algorithm>
#include <array>
Go to the source code of this file.
|  | 
| template<std::size_t N> | 
| MinFittingType< N >::type | byteArrayToInt (const std::array< std::uint8_t, N > &a) | 
|  | 
| std::string | ip2string (const uint32_t ip) | 
|  | 
| std::string | mac2string (const uint64_t mac) | 
|  | 
| template<uint32_t n> | 
| std::array< std::string, n > | split (const std::string &s, const char sep) | 
|  | 
| template<uint32_t n> | 
| std::array< uint8_t, n > | string2byte (const std::string &s, const int base, const char sep) | 
|  | 
| std::array< uint8_t, 4 > | string2ip (const std::string &ip) | 
|  | 
| std::array< uint8_t, 6 > | string2mac (const std::string &mac) | 
|  | 
| bool | wildcardMatch (std::string::const_iterator str_first, std::string::const_iterator str_last, std::string::const_iterator p_first, std::string::const_iterator p_last) | 
|  | 
◆ byteArrayToInt()
template<std::size_t N> 
      
        
          | MinFittingType<N>::type byteArrayToInt | ( | const std::array< std::uint8_t, N > & | a | ) |  | 
      
 
 
◆ ip2string()
  
  | 
        
          | std::string ip2string | ( | const uint32_t | ip | ) |  |  | inline | 
 
 
◆ mac2string()
  
  | 
        
          | std::string mac2string | ( | const uint64_t | mac | ) |  |  | inline | 
 
 
◆ split()
template<uint32_t n> 
      
        
          | std::array<std::string, n> split | ( | const std::string & | s, | 
        
          |  |  | const char | sep | 
        
          |  | ) |  |  | 
      
 
 
◆ string2byte()
template<uint32_t n> 
      
        
          | std::array<uint8_t, n> string2byte | ( | const std::string & | s, | 
        
          |  |  | const int | base, | 
        
          |  |  | const char | sep | 
        
          |  | ) |  |  | 
      
 
 
◆ string2ip()
  
  | 
        
          | std::array<uint8_t, 4> string2ip | ( | const std::string & | ip | ) |  |  | inline | 
 
 
◆ string2mac()
  
  | 
        
          | std::array<uint8_t, 6> string2mac | ( | const std::string & | mac | ) |  |  | inline | 
 
 
◆ wildcardMatch()
  
  | 
        
          | bool wildcardMatch | ( | std::string::const_iterator | str_first, |  
          |  |  | std::string::const_iterator | str_last, |  
          |  |  | std::string::const_iterator | p_first, |  
          |  |  | std::string::const_iterator | p_last |  
          |  | ) |  |  |  | inline |