네임스페이스 | |
| namespace | by::platformAPI |
| Platform-independent API wrapper for OS-specific operations | |
함수 | |
| const string & | by::platformAPI::foreColor (consoleColor fore) |
| Returns platform-specific string for console foreground color | |
| const string & | by::platformAPI::backColor (consoleColor back) |
| Returns platform-specific string for console background color | |
| string | by::platformAPI::createNowTime (const std::string &strftime_format) |
| Creates formatted timestamp using strftime format | |
| vector< string > | by::platformAPI::callstack () |
| Captures current call stack for debugging | |
| string | by::platformAPI::demangle (const nchar *org) |
| Demangles C++ symbol name to human-readable form | |
| string | by::platformAPI::filterDemangle (const nchar *org) |
| Demangles C++ symbol and extracts only the function name portion | |
| string | by::platformAPI::getExecPath () |
| Retrieves absolute path of currently running executable | |
| string | by::platformAPI::exec (const std::string &cmd) |
| Executes shell command and captures output | |
| nuint64 | by::platformAPI::getNowMs () |
| string | by::platformAPI::toAddrId (const void *inst) |
| Converts pointer to 4-character hexadecimal identifier | |
| void | by::platformAPI::log (const std::string &msg) |
| void | by::platformAPI::log (const std::string *it) BY_SIDE_FUNC(log) |
| std::string | by::platformAPI::format (const nchar *fmt,...) |
| Formats string using printf-style specifiers | |
| std::string | by::platformAPI::format (const nchar *fmt, va_list args) |
| std::string | by::platformAPI::format (const std::string &fmt, va_list args) |
| std::string | by::platformAPI::format (const std::string *fmt, va_list args) BY_SIDE_FUNC(fmt |
| void | by::platformAPI::crash (const nchar *msg,...) |
| Terminates program with error message and call stack dump | |
| void | by::platformAPI::crash (const std::string &msg, va_list args) |
| void | by::platformAPI::crash (const std::string *msg, va_list args) BY_SIDE_FUNC(msg |
| void | by::platformAPI::crash (const std::string &msg) |
| void | by::platformAPI::crash (const std::string *it) BY_SIDE_FUNC(crash) |
| nbool | by::platformAPI::unlimitCoreDump () |
| Enables unlimited core dump size for debugging | |