Class that keeps record of current line hit for occasional logging. More...
#include <easylogging++.h>
Classes | |
class | Predicate |
Public Member Functions | |
const char * | filename (void) const |
HitCounter (void) | |
HitCounter (const char *filename, base::type::LineNumber lineNumber) | |
HitCounter (const HitCounter &hitCounter) | |
std::size_t | hitCounts (void) const |
void | increment (void) |
base::type::LineNumber | lineNumber (void) const |
HitCounter & | operator= (const HitCounter &hitCounter) |
void | resetLocation (const char *filename, base::type::LineNumber lineNumber) |
Resets location of current hit counter. More... | |
void | validateHitCounts (std::size_t n) |
Validates hit counts and resets it if necessary. More... | |
virtual | ~HitCounter (void) |
Private Attributes | |
const char * | m_filename |
std::size_t | m_hitCounts |
base::type::LineNumber | m_lineNumber |
Class that keeps record of current line hit for occasional logging.
Definition at line 2025 of file easylogging++.h.
|
inline |
Definition at line 2027 of file easylogging++.h.
|
inline |
Definition at line 2033 of file easylogging++.h.
|
inline |
Definition at line 2039 of file easylogging++.h.
|
inlinevirtual |
Definition at line 2054 of file easylogging++.h.
|
inline |
Definition at line 2071 of file easylogging++.h.
|
inline |
Definition at line 2079 of file easylogging++.h.
Definition at line 2083 of file easylogging++.h.
|
inline |
Definition at line 2075 of file easylogging++.h.
|
inline |
Definition at line 2045 of file easylogging++.h.
|
inline |
Resets location of current hit counter.
Definition at line 2058 of file easylogging++.h.
|
inline |
Validates hit counts and resets it if necessary.
Definition at line 2064 of file easylogging++.h.
|
private |
Definition at line 2105 of file easylogging++.h.
|
private |
Definition at line 2107 of file easylogging++.h.
|
private |
Definition at line 2106 of file easylogging++.h.