Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
StringUtils.h File Reference
#include <algorithm>
#include <array>
#include <cassert>
#include <cinttypes>
#include <cmath>
#include <cstdarg>
#include <cstring>
#include <iomanip>
#include <regex>
#include <sstream>
#include <string>
#include <vector>

Classes

class  kodi::tools::StringUtils
 

Namespaces

namespace  kodi
 
namespace  kodi::tools
 

Macros

#define NOMINMAX
 
#define FORMAT_BLOCK_SIZE   512
 
#define PARAM1_PRINTF_FORMAT
 
#define PARAM2_PRINTF_FORMAT
 
#define PARAM3_PRINTF_FORMAT
 
#define PARAM4_PRINTF_FORMAT
 
#define PRINTF_FORMAT_STRING
 
#define IN_STRING
 
#define IN_OPT_STRING
 

Enumerations

enum  kodi::tools::TIME_FORMAT {
  kodi::tools::TIME_FORMAT_GUESS = 0 , kodi::tools::TIME_FORMAT_SS = 1 , kodi::tools::TIME_FORMAT_MM = 2 , kodi::tools::TIME_FORMAT_MM_SS = 3 ,
  kodi::tools::TIME_FORMAT_HH = 4 , kodi::tools::TIME_FORMAT_HH_SS = 5 , kodi::tools::TIME_FORMAT_HH_MM = 6 , kodi::tools::TIME_FORMAT_HH_MM_SS = 7 ,
  kodi::tools::TIME_FORMAT_XX = 8 , kodi::tools::TIME_FORMAT_HH_MM_XX = 14 , kodi::tools::TIME_FORMAT_HH_MM_SS_XX = 15 , kodi::tools::TIME_FORMAT_H = 16 ,
  kodi::tools::TIME_FORMAT_H_MM_SS = 19 , kodi::tools::TIME_FORMAT_H_MM_SS_XX = 27 , kodi::tools::TIME_FORMAT_SECS = 32 , kodi::tools::TIME_FORMAT_MINS = 64 ,
  kodi::tools::TIME_FORMAT_HOURS = 128 , kodi::tools::TIME_FORMAT_M = 256
}
 

Functions

template<typename T , std::enable_if_t<!std::is_enum< T >::value, int > = 0>
constexpr auto && kodi::tools::EnumToInt (T &&arg) noexcept
 
template<typename T , std::enable_if_t< std::is_enum< T >::value, int > = 0>
constexpr auto kodi::tools::EnumToInt (T &&arg) noexcept
 

Macro Definition Documentation

◆ FORMAT_BLOCK_SIZE

#define FORMAT_BLOCK_SIZE   512

◆ IN_OPT_STRING

#define IN_OPT_STRING

◆ IN_STRING

#define IN_STRING

◆ NOMINMAX

#define NOMINMAX

◆ PARAM1_PRINTF_FORMAT

#define PARAM1_PRINTF_FORMAT

◆ PARAM2_PRINTF_FORMAT

#define PARAM2_PRINTF_FORMAT

◆ PARAM3_PRINTF_FORMAT

#define PARAM3_PRINTF_FORMAT

◆ PARAM4_PRINTF_FORMAT

#define PARAM4_PRINTF_FORMAT

◆ PRINTF_FORMAT_STRING

#define PRINTF_FORMAT_STRING