MethodCounter Class Reference

A static class to count method invocation. More...

#include <XeCore.h>

Inheritance diagram for MethodCounter:
XeTool XeCore

List of all members.

Static Public Member Functions

static void count (string method)
 count the number of times a method was invoked
static void list ()
 list the number of times all methods were invoked
static void reset ()
 reset all counters

Static Protected Attributes

static map< string, int > counts

Detailed Description

A static class to count method invocation.


Member Function Documentation

static void MethodCounter::count ( string  method  )  [static]

count the number of times a method was invoked

Parameters:
method name of the method

The documentation for this class was generated from the following file:
 All Classes Functions Variables

Generated on 10 Apr 2015 for Xephyr by  doxygen 1.6.1