Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
std::string utilities More...
Classes | |
class | CaselessCmp |
Case-insensitive comparisons. More... |
Functions | |
std::string | format (const char *fmt,...) |
Format positional arguments. | |
std::string | vformat (const char *fmt, va_list) |
Format positional arguments. | |
std::string | sprintf (const char *fmt,...) |
Print a string using sprintf-style formatting. | |
std::string | sizeTypeToString (size_t n) |
Convert a size type to a string. | |
size_t | stringToSizeType (const std::string &string) |
Convert a string to a size type. |
std::string utilities
Provides functions for string manipulation.
std::string deskflow::string::format | ( | const char * | fmt, |
... ) |
Format positional arguments.
Format a string using positional arguments. fmt has literal characters and conversion specifications introduced by ‘%’:
All arguments in the variable list are const char*. Positional elements are indexed from 1.
std::string deskflow::string::sizeTypeToString | ( | size_t | n | ) |
Convert a size type to a string.
Convert an size type to a string
std::string deskflow::string::sprintf | ( | const char * | fmt, |
... ) |
Print a string using sprintf-style formatting.
Equivalent to sprintf() except the result is returned as a String.
size_t deskflow::string::stringToSizeType | ( | const std::string & | string | ) |
Convert a string to a size type.
Convert an a string
to an size type
std::string deskflow::string::vformat | ( | const char * | fmt, |
va_list | ) |
Format positional arguments.
Same as format() except takes va_list.