Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Variant.h File Reference
#include <map>
#include <stdint.h>
#include <string>
#include <string_view>
#include <variant>
#include <vector>
#include <wchar.h>

Classes

class  CVariant
 

Functions

int64_t str2int64 (std::string_view, int64_t fallback=0)
 
int64_t str2int64 (std::wstring_view, int64_t fallback=0)
 
uint64_t str2uint64 (std::string_view, uint64_t fallback=0)
 
uint64_t str2uint64 (std::wstring_view, uint64_t fallback=0)
 
double str2double (std::string_view, double fallback=0.0)
 
double str2double (std::wstring_view, double fallback=0.0)
 

Function Documentation

◆ str2double() [1/2]

double str2double ( std::string_view str,
double fallback = 0.0 )

◆ str2double() [2/2]

double str2double ( std::wstring_view str,
double fallback = 0.0 )

◆ str2int64() [1/2]

int64_t str2int64 ( std::string_view str,
int64_t fallback = 0 )

◆ str2int64() [2/2]

int64_t str2int64 ( std::wstring_view str,
int64_t fallback = 0 )

◆ str2uint64() [1/2]

uint64_t str2uint64 ( std::string_view str,
uint64_t fallback = 0 )

◆ str2uint64() [2/2]

uint64_t str2uint64 ( std::wstring_view str,
uint64_t fallback = 0 )