MySQL  8.0.21
Source Code Documentation
utilities.h File Reference
#include <memory>
#include <ostream>
#include <string>
#include <vector>
#include "my_compiler.h"
#include "harness_export.h"
#include "mysql/harness/utility/string.h"
#include "router_config.h"

Go to the source code of this file.

Classes

class  mysql_harness::utility::Range< Type >
 Class to turn C array into range. More...
 
class  mysql_harness::utility::Range< Type >::iterator
 
class  mysql_harness::utility::RangeReverse< Range >
 Class for creating a reverse range from another range. More...
 

Namespaces

 mysql_harness
 
 mysql_harness::utility
 

Functions

template<class Type >
Range< Type > mysql_harness::utility::make_range (Type *ptr, size_t length)
 Create a range from a plain C array. More...
 
template<typename Range >
RangeReverse< Range > mysql_harness::utility::reverse (Range &x)
 Iterate over a range in reverse. More...
 
template<class Map >
std::pair< typename Map::iterator, typename Map::iterator > mysql_harness::utility::find_range_first (Map &assoc, const typename Map::key_type::first_type &first, typename Map::iterator start)
 
template<class Map >
std::pair< typename Map::iterator, typename Map::iterator > mysql_harness::utility::find_range_first (Map &assoc, const typename Map::key_type::first_type &first)
 
template<class Map >
std::pair< typename Map::const_iterator, typename Map::const_iterator > mysql_harness::utility::find_range_first (const Map &assoc, const typename Map::key_type::first_type &first, typename Map::const_iterator start)
 
template<class Map >
std::pair< typename Map::const_iterator, typename Map::const_iterator > mysql_harness::utility::find_range_first (const Map &assoc, const typename Map::key_type::first_type &first)
 
std::string mysql_harness::utility::dirname (const std::string &path)
 
std::string mysql_harness::utility::basename (const std::string &path)
 
void mysql_harness::utility::strip (std::string *str, const char *chars=" \\\)
 Remove starting and trailing delimiters from string. More...
 
HARNESS_EXPORT std::string mysql_harness::utility::strip_copy (std::string str, const char *chars=" \\\)
 
string mysql_harness::utility::string_format (const char *format,...)
 
bool mysql_harness::utility::matches_glob (const std::string &word, const std::string &pattern)
 
bool mysql_harness::utility::regex_pattern_matches (const std::string &s, const std::string &pattern)