Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
StringUtils.cpp File Reference
#include <charconv>
#include <iterator>
#include <guid.h>
#include "CharsetConverter.h"
#include "LangInfo.h"
#include "StringUtils.h"
#include "XBDateTime.h"
#include "utils/RegExp.h"
#include <algorithm>
#include <array>
#include <assert.h>
#include <cctype>
#include <functional>
#include <inttypes.h>
#include <iomanip>
#include <math.h>
#include <numeric>
#include <ranges>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <fstrcmp.h>
#include <memory.h>

Namespaces

namespace  KODI
 
namespace  KODI::UTILS
 

Macros

#define FORMAT_BLOCK_SIZE   512
 

Functions

int KODI::UTILS::compareWchar (const void *a, const void *b)
 
wchar_t KODI::UTILS::tolowerUnicode (const wchar_t &c)
 
wchar_t KODI::UTILS::toupperUnicode (const wchar_t &c)
 
template<typename StrIn, typename StrOut, typename Fn>
void KODI::UTILS::transformString (const StrIn &input, StrOut &output, Fn fn)
 
template<typename StringLikeA, typename StringLikeB>
std::vector< std::string > KODI::UTILS::SplitMultiT (std::span< const StringLikeA > input, std::span< const StringLikeB > delimiters, size_t iMaxStrings)
 
int KODI::UTILS::IsUTF8Letter (std::string_view::const_iterator strIter, std::string_view::const_iterator strIterEnd) noexcept
 
template<typename StringLike>
int KODI::UTILS::FindBestMatchT (std::string_view str, std::span< StringLike > strings, double &matchscore) noexcept
 
template<typename StringLike>
bool KODI::UTILS::ContainsKeywordT (std::string_view str, std::span< StringLike > keywords) noexcept
 

Macro Definition Documentation

◆ FORMAT_BLOCK_SIZE

#define FORMAT_BLOCK_SIZE   512