MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
shcore::internal Namespace Reference

Checks whether a string has another as a prefix. More...

Functions

template<typename Char , typename F >
std::basic_string< Char > transform (std::basic_string_view< Char > s, F fun)
 
template<typename Char >
bool str_caseeq_pair (std::basic_string_view< Char > a, std::basic_string_view< Char > b)
 
template<typename Char , typename... T>
bool str_caseeq (std::basic_string_view< Char > a, T &&...tokens)
 
template<typename Char >
bool str_beginswith_pair (std::basic_string_view< Char > s, std::basic_string_view< Char > prefix)
 
template<typename Char , typename... T>
bool str_beginswith (std::basic_string_view< Char > s, T &&...prefixes)
 
template<typename Char >
bool str_ibeginswith_pair (std::basic_string_view< Char > s, std::basic_string_view< Char > prefix)
 
template<typename Char , typename... T>
bool str_ibeginswith (std::basic_string_view< Char > s, T &&...prefixes)
 
template<typename Char >
bool str_endswith_pair (std::basic_string_view< Char > s, std::basic_string_view< Char > suffix)
 
template<typename Char , typename... T>
bool str_endswith (std::basic_string_view< Char > s, T &&...suffixes)
 
template<typename Char >
bool str_iendswith_pair (std::basic_string_view< Char > s, std::basic_string_view< Char > suffix)
 
template<typename Char , typename... T>
bool str_iendswith (std::basic_string_view< Char > s, T &&...suffixes)
 

Detailed Description

Checks whether a string has another as a prefix.

Checks whether a string has another as a suffix.

Function Documentation

◆ str_beginswith()

template<typename Char , typename... T>
bool shcore::internal::str_beginswith ( std::basic_string_view< Char >  s,
T &&...  prefixes 
)
inline

◆ str_beginswith_pair()

template<typename Char >
bool shcore::internal::str_beginswith_pair ( std::basic_string_view< Char >  s,
std::basic_string_view< Char >  prefix 
)
inline

◆ str_caseeq()

template<typename Char , typename... T>
bool shcore::internal::str_caseeq ( std::basic_string_view< Char >  a,
T &&...  tokens 
)
inline

◆ str_caseeq_pair()

template<typename Char >
bool shcore::internal::str_caseeq_pair ( std::basic_string_view< Char >  a,
std::basic_string_view< Char >  b 
)
inline

◆ str_endswith()

template<typename Char , typename... T>
bool shcore::internal::str_endswith ( std::basic_string_view< Char >  s,
T &&...  suffixes 
)
inline

◆ str_endswith_pair()

template<typename Char >
bool shcore::internal::str_endswith_pair ( std::basic_string_view< Char >  s,
std::basic_string_view< Char >  suffix 
)
inline

◆ str_ibeginswith()

template<typename Char , typename... T>
bool shcore::internal::str_ibeginswith ( std::basic_string_view< Char >  s,
T &&...  prefixes 
)
inline

◆ str_ibeginswith_pair()

template<typename Char >
bool shcore::internal::str_ibeginswith_pair ( std::basic_string_view< Char >  s,
std::basic_string_view< Char >  prefix 
)
inline

◆ str_iendswith()

template<typename Char , typename... T>
bool shcore::internal::str_iendswith ( std::basic_string_view< Char >  s,
T &&...  suffixes 
)
inline

◆ str_iendswith_pair()

template<typename Char >
bool shcore::internal::str_iendswith_pair ( std::basic_string_view< Char >  s,
std::basic_string_view< Char >  suffix 
)
inline

◆ transform()

template<typename Char , typename F >
std::basic_string< Char > shcore::internal::transform ( std::basic_string_view< Char >  s,
F  fun 
)
inline