void |
AddTraceEntry(EntryKind kind, int32_t id) |
uint64_t |
Align(uint64_t n, uint64_t alignment) inline |
void |
AnsiDone() |
void |
AnsiInit() |
void |
BeginTracing() |
std::u32string |
CharHexEscape(char32_t c) |
std::string |
CharStr(char c) |
std::u32string |
CharStr(char32_t c) |
std::string |
CmajorRootDir() |
std::string |
ConfigDir() |
std::int64_t |
CurrentMs() |
std::string |
CurrentThreadIdStr() |
bool |
DirectoryExists(const std::string& directoryPath) |
void |
DisableConsoleWindow() |
void |
Done() |
void |
DoneFileLocking() |
void |
DoneTrace() |
std::string |
DurationStr(const std::chrono::nanoseconds& duration) |
void |
EndLog() |
void |
EndTracing() |
bool |
EndsWith(const std::string& s, const std::string& suffix) |
bool |
EndsWith(const std::u32string& s, const std::u32string& suffix) |
std::string |
FetchLogMessage(bool& endOfLog, int timeoutMs, bool& timeout) |
int |
FetchLogMessage(char16_t* buf, int size) |
bool |
FileExists(const std::string& filePath) |
std::string |
Format(const std::string& s, int width) |
std::string |
Format(const std::string& s, int width, FormatJustify justify) |
std::string |
Format(const std::string& s, int width, FormatWidth fw) |
std::string |
Format(const std::string& s, int width, FormatWidth fw, FormatJustify justify) |
std::string |
Format(const std::string& s, int width, FormatWidth fw, FormatJustify justify, char fillChar) |
std::u32string |
FormatNumber(int n, int numDigits) |
std::string |
FormatTimeMs(int32_t milliseconds) |
Date |
GetCurrentDate() |
DateTime |
GetCurrentDateTime() |
int64_t |
GetCurrentTime() |
Timestamp |
GetCurrentTimestamp() |
std::string |
GetCurrentWorkingDirectory() |
std::string |
GetFullPath(const std::string& path) |
int |
GetMonthDays(Month month, int year) |
std::string |
GetPathToExecutable() |
int |
GetPid() |
std::string |
GetSha1MessageDigest(const std::string& message) |
int32_t |
GetTraceFunctionId(const std::string& functionFullName) |
const std::string& |
GetTraceFunctionName(int32_t traceFunctionId) |
const std::string& |
GetTraceMessageName(int32_t traceMessageId) |
std::string |
HexEscape(char c) |
std::u32string |
HexEscape(uint32_t c) |
char |
HexNibble(uint8_t n) inline |
int64_t |
Hours(int64_t nanosecs) |
void |
Init() |
void |
InitFileLocking() |
void |
InitMt(uint32_t seed) |
void |
InitTrace() |
void |
IntsToUuid(uint64_t int1, uint64_t int2, boost::uuids::uuid& id) |
bool |
IsHandleRedirected(int handle) |
bool |
IsPrime64(uint64_t n) |
bool |
LastComponentsEqual(const std::string& s0, const std::string& s1, char componentSeparator) |
uint32_t |
LeftRotate(uint32_t x, uint32_t n) inline |
void |
LockFile(const std::string& filePath, LockKind lockKind) |
int |
Log10(int n) |
void |
LogMessage(int logStreamId, const std::string& message) |
void |
LogMessage(int logStreamId, const std::string& message, int indent) |
std::string |
MakeRelativeDirPath(const std::string& dirPath, const std::string& referenceDirPath) |
std::string |
MakeStringLiteral(const std::string& s) |
std::u32string |
MakeStringLiteral(const std::u32string& s) |
int64_t |
Microseconds(int64_t nanosecs) |
int64_t |
Milliseconds(int64_t nanosecs) |
int64_t |
Minutes(int64_t nanosecs) |
std::string |
NarrowString(const char* str, int length) |
void |
NextPrime(boost::multiprecision::uint128_t& x) |
FILE* |
OpenRead(const char* fileName) |
FILE* |
OpenWrite(const char* fileName) |
std::vector<std::string> |
ParseCommand(const std::string& command) |
Date |
ParseDate(const std::string& dateStr) |
Date |
ParseDate(const std::string& dateStr, int& dateEnd) |
DateTime |
ParseDateTime(const std::string& dateTimeStr) |
uint8_t |
ParseHexByte(const std::string& hexByteStr) |
Timestamp |
ParseTimestamp(const std::string& timestampStr) |
bool |
PathExists(const std::string& path) |
std::string |
PlatformStringToUtf8(const std::string& platformString) |
std::string |
QuotedPath(const std::string& path) |
uint32_t |
Random() |
uint64_t |
Random64() |
std::string |
ReadFile(const std::string& fileName) |
int |
ReadFromPipe(int pipeHandle, void* buffer, unsigned int count) |
std::vector<TraceEntry> |
ReadTrace(const std::string& traceFilePath) |
void |
ReadTraceTable() |
void |
RedirectStdHandlesToPipes(std::vector<int>& oldHandles, std::vector<int>& pipeHandles) |
std::string |
Replace(const std::string& s, char oldChar, char newChar) |
std::string |
Replace(const std::string& s, const std::string& oldString, const std::string& newString) |
void |
RestoreStdHandles(const std::vector<int>& oldHandles) |
int64_t |
Seconds(int64_t nanosecs) |
void |
SetLogMode(LogMode mode) |
void |
SetThreadId(char threadId_) |
std::vector<StringT> |
Split<StringT>(const StringT& s, StringT::value_type c) |
std::vector<std::string> |
Split(const std::string& s, char c) |
void |
StartLog() |
bool |
StartsWith(const std::string& s, const std::string& prefix) |
bool |
StartsWith(const std::u32string& s, const std::u32string& prefix) |
uint64_t |
StringLen(const char32_t* s) inline |
std::string |
StringStr(const std::string& s) |
std::u32string |
StringStr(const std::u32string& s) |
void |
System(const std::string& command) |
void |
System(const std::string& command, bool ignoreReturnValue) |
void |
System(const std::string& command, const std::vector<std::pair<int, std::string>>& redirections) |
void |
System(const std::string& command, int redirectFd, const std::string& toFile) |
void |
System(const std::string& command, int redirectFd, const std::string& toFile, bool ignoreReturnValue) |
void |
ThrowInvalidDate(const std::string& s) |
void |
ThrowInvalidDateTime(const std::string& s) |
void |
ThrowRuntimeError(const std::string& message) |
void |
TimeDone() |
void |
TimeInit() |
std::string |
ToHexString(uint16_t x) |
std::string |
ToHexString(uint32_t x) |
std::string |
ToHexString(uint64_t x) |
std::string |
ToHexString(uint8_t x) |
std::string |
ToLower(const std::string& s) |
std::string |
ToString(double x) |
std::string |
ToString(double x, int maxNumDecimals) |
std::string |
ToString(double x, int minNumDecimals, int maxNumDecimals) |
std::string |
ToUpper(const std::string& s) |
std::string |
TraceDir() |
std::string |
TraceFilePath() |
std::string |
TraceTablePath() |
std::string |
Trim(const std::string& s) |
std::u32string |
Trim(const std::u32string& s) |
std::string |
TrimAll(const std::string& s) |
std::u32string |
TrimAll(const std::u32string& s) |
void |
UnlockFile(const std::string& filePath, LockKind lockKind) |
void |
UuidToInts(const boost::uuids::uuid& id, uint64_t& int1, uint64_t& int2) |
int |
WaitForLogMessage() |
std::string |
WinMsgFilePath() |
int |
WriteToPipe(int pipeHandle, void* buffer, unsigned int count) |
void |
WriteTraceTable() |
void |
WriteUtf8(std::ostream& s, const std::string& str) |
int |
get_default_pmode() |
bool |
operator!=(StringPtr left, StringPtr right) inline |
bool |
operator!=(const Date& left, const Date& right) inline |
bool |
operator!=(const DateTime& left, const DateTime& right) inline |
bool |
operator!=(const Timestamp& left, const Timestamp& right) inline |
Redirections |
operator&(Redirections left, Redirections right) constexpr |
bool |
operator<(StringPtr left, StringPtr right) inline |
bool |
operator<(const Date& left, const Date& right) |
bool |
operator<(const DateTime& left, const DateTime& right) |
bool |
operator<(const Timestamp& left, const Timestamp& right) |
CodeFormatter& |
operator<<(CodeFormatter& f, bool b) |
CodeFormatter& |
operator<<(CodeFormatter& f, char c) |
CodeFormatter& |
operator<<(CodeFormatter& f, const char* s) |
CodeFormatter& |
operator<<(CodeFormatter& f, const std::string& s) |
CodeFormatter& |
operator<<(CodeFormatter& f, double x) |
CodeFormatter& |
operator<<(CodeFormatter& f, int x) |
CodeFormatter& |
operator<<(CodeFormatter& f, int64_t x) |
CodeFormatter& |
operator<<(CodeFormatter& f, uint64_t x) |
LogFileWriter& |
operator<<(LogFileWriter& writer, bool b) |
LogFileWriter& |
operator<<(LogFileWriter& writer, char c) |
LogFileWriter& |
operator<<(LogFileWriter& writer, const char* s) |
LogFileWriter& |
operator<<(LogFileWriter& writer, const std::string& s) |
LogFileWriter& |
operator<<(LogFileWriter& writer, double x) |
LogFileWriter& |
operator<<(LogFileWriter& writer, int x) |
LogFileWriter& |
operator<<(LogFileWriter& writer, int64_t x) |
LogFileWriter& |
operator<<(LogFileWriter& writer, uint64_t x) |
bool |
operator<=(const Date& left, const Date& right) inline |
bool |
operator<=(const DateTime& left, const DateTime& right) inline |
bool |
operator<=(const Timestamp& left, const Timestamp& right) inline |
bool |
operator==(StringPtr left, StringPtr right) inline |
bool |
operator==(const Date& left, const Date& right) |
bool |
operator==(const DateTime& left, const DateTime& right) |
bool |
operator==(const Timestamp& left, const Timestamp& right) |
bool |
operator>(const Date& left, const Date& right) inline |
bool |
operator>(const DateTime& left, const DateTime& right) inline |
bool |
operator>(const Timestamp& left, const Timestamp& right) inline |
bool |
operator>=(const Date& left, const Date& right) inline |
bool |
operator>=(const DateTime& left, const DateTime& right) inline |
bool |
operator>=(const Timestamp& left, const Timestamp& right) inline |
Redirections |
operator|(Redirections left, Redirections right) constexpr |