로딩중...
검색중...
일치하는것 없음
platformAPI.hpp 파일 참조
#include <vector>
#include "indep/helper/buildFeature.hpp"

이 파일의 소스 코드 페이지로 가기

네임스페이스

namespace  by::platformAPI
 Platform-independent API wrapper for OS-specific operations
 

열거형 타입

enum  consoleColor {
  CONSOLE_COLOR_START = 0 , BLACK = CONSOLE_COLOR_START , BLUE , GREEN ,
  CYAN , RED , MAGENTA , BROWN ,
  LIGHTGRAY , DARKGRAY , LIGHTBLUE , LIGHTGREEN ,
  LIGHTCYAN , LIGHTRED , LIGHTMAGENTA , YELLOW ,
  CONSOLE_COLOR_END , WHITE = CONSOLE_COLOR_END
}
 

함수

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