|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
11 #if defined(AJA_WINDOWS)
12 #pragma warning(disable:4996)
13 #pragma warning(disable:4800)
100 AJA_EXPORT std::string&
replace(std::string& str,
const std::string& from,
const std::string& to);
117 AJA_EXPORT int stoi(
const std::string& str, std::size_t* idx=0,
int base = 10);
130 AJA_EXPORT long stol(
const std::string& str, std::size_t* idx=0,
int base = 10);
156 AJA_EXPORT unsigned long stoul(
const std::string& str, std::size_t* idx=0,
int base = 10);
169 AJA_EXPORT unsigned long long stoull(
const std::string& str, std::size_t* idx=0,
int base = 10);
180 AJA_EXPORT float stof(
const std::string& str, std::size_t* idx=0);
191 AJA_EXPORT double stod(
const std::string& str, std::size_t* idx=0);
202 AJA_EXPORT long double stold(
const std::string& str, std::size_t* idx=0);
256 AJA_EXPORT void split (
const std::string & str,
const char delim, std::vector<std::string> & elems);
265 AJA_EXPORT void split (
const std::wstring & str,
const wchar_t delim, std::vector<std::wstring> & elems);
274 AJA_EXPORT std::vector<std::string>
split (
const std::string & str,
const char delim);
283 AJA_EXPORT std::vector<std::wstring>
split (
const std::wstring & str,
const wchar_t delim);
292 AJA_EXPORT std::vector<std::string>
split (
const std::string & inStr,
const std::string & inDelim);
301 AJA_EXPORT std::vector<std::wstring>
split (
const std::wstring & inStr,
const std::wstring & inDelim);
353 AJA_EXPORT std::string
join (
const std::vector<std::string> & parts,
const std::string & delim=
" ");
362 AJA_EXPORT std::string
join (
const std::set<std::string> & parts,
const std::string & delim=
" ");
413 #endif // AJA_COMMON_H
unsigned long stoul(const std::string &str, std::size_t *idx, int base)
std::string & lstrip(std::string &str, const std::string &ws)
std::string & strip(std::string &str, const std::string &ws)
bool is_hex_digit(const char inChr)
std::string join(const std::vector< std::string > &parts, const std::string &delim)
void split(const std::string &str, const char delim, std::vector< std::string > &elems)
static std::string WHITESPACE
bool wstring_to_string(const std::wstring &wstr, std::string &str)
char * safer_strncpy(char *target, const char *source, size_t num, size_t maxSize)
uint64_t is_legal_hex_serial_number(const std::string &inStr)
int stoi(const std::string &str, std::size_t *idx, int base)
bool string_to_cstring(const std::string &str, char *c_str, size_t c_str_size)
std::string & lower(std::string &str)
std::string & replace(std::string &str, const std::string &from, const std::string &to)
long stol(const std::string &str, std::size_t *idx, int base)
std::string & upper(std::string &str)
bool string_to_wstring(const std::string &str, std::wstring &wstr)
bool is_decimal_digit(const char inChr)
unsigned long long stoull(const std::string &str, std::size_t *idx, int base)
float stof(const std::string &str, std::size_t *idx)
std::string & rstrip(std::string &str, const std::string &ws)
bool is_alpha_numeric(const char inChr)
bool is_legal_decimal_number(const std::string &inStr, const size_t inMaxLength)
bool ends_with(const std::string &str, const std::string &needle)
long double stold(const std::string &str, std::size_t *idx)
bool starts_with(const std::string &str, const std::string &needle)
std::string to_string(bool val)
double stod(const std::string &str, std::size_t *idx)
Declares system-dependent import/export macros and libraries.