MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / operator[]

Method operator[]

DebugView++Lib/LogFile.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62Message LogFile::operator[](size_t i) const
63{
64 auto& msg = m_messages[i];
65 auto props = m_processInfo.GetProcessProperties(msg.uid);
66 return Message(msg.time, msg.systemTime, props.pid, Str(props.name).str(), m_storage[i], props.color);
67}
68
69size_t LogFile::GetHistorySize() const
70{

Callers

nothing calls this directly

Calls 4

MessageClass · 0.85
StrClass · 0.85
GetProcessPropertiesMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected