Inferno  0.2
HitCount Class Reference

#include <hit_count.hpp>

Collaboration diagram for HitCount:
[legend]

List of all members.

Classes

struct  Category

Public Member Functions

void Hit (string file, unsigned line, string function, const Traceable *caller_this)
void Usage ()
void Check ()
void Dump ()
void SetStep (int i)
int GetStep ()

Static Public Member Functions

static void Enable (bool e)
 enable/disable hit counting, only for top level function to call, overridden by flags
static bool IsEnabled ()

Static Public Attributes

static HitCount instance

Detailed Description

Definition at line 8 of file hit_count.hpp.


Member Function Documentation

void HitCount::Check ( )

Definition at line 64 of file hit_count.cpp.

References ReadArgs::hits_format, and Usage().

Referenced by main().

void HitCount::Dump ( )

Definition at line 72 of file hit_count.cpp.

References FOREACH, ReadArgs::hits_format, and Usage().

Referenced by main().

void HitCount::Enable ( bool  e) [static]

enable/disable hit counting, only for top level function to call, overridden by flags

Definition at line 122 of file hit_count.cpp.

Referenced by main().

int HitCount::GetStep ( ) [inline]

Definition at line 52 of file hit_count.hpp.

void HitCount::Hit ( string  file,
unsigned  line,
string  function,
const Traceable caller_this 
) [inline]
static bool HitCount::IsEnabled ( ) [inline, static]

Definition at line 58 of file hit_count.hpp.

void HitCount::SetStep ( int  i) [inline]

Definition at line 47 of file hit_count.hpp.

Referenced by main().

void HitCount::Usage ( )

Definition at line 48 of file hit_count.cpp.

Referenced by Check(), and Dump().


Member Data Documentation

Definition at line 27 of file hit_count.hpp.

Referenced by main(), and Conjecture::~Conjecture().


The documentation for this class was generated from the following files: