Kodi Documentation  20.0
Kodi is an open source media player and entertainment hub.
Variant.h File Reference
#include <map>
#include <stdint.h>
#include <string>
#include <vector>
#include <wchar.h>
Include dependency graph for Variant.h:

Classes

class  CVariant
 

Functions

int64_t str2int64 (const std::string &str, int64_t fallback=0)
 
int64_t str2int64 (const std::wstring &str, int64_t fallback=0)
 
uint64_t str2uint64 (const std::string &str, uint64_t fallback=0)
 
uint64_t str2uint64 (const std::wstring &str, uint64_t fallback=0)
 
double str2double (const std::string &str, double fallback=0.0)
 
double str2double (const std::wstring &str, double fallback=0.0)
 

Function Documentation

◆ str2double() [1/2]

double str2double ( const std::string &  str,
double  fallback = 0.0 
)

◆ str2double() [2/2]

double str2double ( const std::wstring &  str,
double  fallback = 0.0 
)

◆ str2int64() [1/2]

int64_t str2int64 ( const std::string &  str,
int64_t  fallback = 0 
)

◆ str2int64() [2/2]

int64_t str2int64 ( const std::wstring &  str,
int64_t  fallback = 0 
)

◆ str2uint64() [1/2]

uint64_t str2uint64 ( const std::string &  str,
uint64_t  fallback = 0 
)

◆ str2uint64() [2/2]

uint64_t str2uint64 ( const std::wstring &  str,
uint64_t  fallback = 0 
)