|
|
bool | nx::kit::utils::isAsciiPrintable (int c) |
| |
| std::string | nx::kit::utils::baseName (std::string path) |
| |
| std::string | nx::kit::utils::getProcessName () |
| |
| template<typename T > |
| std::string | nx::kit::utils::toString (T value) |
| |
|
template<typename... Args> |
| std::string | nx::kit::utils::format (const std::string &formatStr, Args... args) |
| |
|
bool | nx::kit::utils::fromString (const std::string &s, int *value) |
| |
|
bool | nx::kit::utils::fromString (const std::string &s, double *value) |
| |
|
bool | nx::kit::utils::fromString (const std::string &s, float *value) |
| |
| const std::vector< std::string > & | nx::kit::utils::getProcessCmdLineArgs () |
| |
| size_t | nx::kit::utils::alignUp (size_t value, size_t alignment) |
| |
| uint8_t * | nx::kit::utils::misalignedPtr (void *data) |
| |
| template<class MallocFunc > |
| void * | nx::kit::utils::mallocAligned (size_t size, size_t alignment, MallocFunc mallocFunc) |
| |
| void * | nx::kit::utils::mallocAligned (size_t size, size_t alignment) |
| |
| template<class FreeFunc > |
| void | nx::kit::utils::freeAligned (void *ptr, FreeFunc freeFunc) |
| |
| void | nx::kit::utils::freeAligned (void *ptr) |
| |
|
std::string | nx::kit::utils::toString (bool b) |
| |
|
std::string | nx::kit::utils::toString (const void *ptr) |
| |
|
std::string | nx::kit::utils::toString (void *ptr) |
| |
|
std::string | nx::kit::utils::toString (std::nullptr_t ptr) |
| |
|
std::string | nx::kit::utils::toString (uint8_t i) |
| |
|
std::string | nx::kit::utils::toString (int8_t i) |
| |
|
std::string | nx::kit::utils::toString (char c) |
| |
|
std::string | nx::kit::utils::toString (const char *s) |
| |
|
std::string | nx::kit::utils::toString (char *s) |
| |
|
std::string | nx::kit::utils::toString (const std::string &s) |
| |
|
std::string | nx::kit::utils::toString (wchar_t w) |
| |
|
std::string | nx::kit::utils::toString (const wchar_t *w) |
| |
|
std::string | nx::kit::utils::toString (wchar_t *w) |
| |
|
std::string | nx::kit::utils::toString (const std::wstring &w) |
| |
|
template<typename P > |
| std::string | nx::kit::utils::toString (P *ptr) |
| |
Various utilities. Used by other nx_kit components.
This unit can be compiled in the context of any C++ project. If Qt headers are included before this one, some Qt support is enabled via "#if defined(QT_CORE_LIB)".