Gnash  0.8.10
Public Member Functions
gnash::stats::KeyLookup Class Reference

#include <Stats.h>

List of all members.

Public Member Functions

 KeyLookup (const std::string &label, const string_table &st, int dumpTrigger=0, string_table::key restrict=0, int dumpCount=5)
 ~KeyLookup ()
void check (string_table::key k)
void dump (int count)

Constructor & Destructor Documentation

gnash::stats::KeyLookup::KeyLookup ( const std::string &  label,
const string_table st,
int  dumpTrigger = 0,
string_table::key  restrict = 0,
int  dumpCount = 5 
) [inline]
Parameters:
labelThe label to print for dumps of this stat
stThe string table to use for resolving stats values
dumpTriggerThe number of calls to check() that should be triggering a dump
restrictIf non-zero dumpTrigger refers to this key lookups
dumpCountNumber of items to print in the dump (makes sense if not restricted)
gnash::stats::KeyLookup::~KeyLookup ( ) [inline]

References dump().


Member Function Documentation

void gnash::stats::KeyLookup::check ( string_table::key  k) [inline]
void gnash::stats::KeyLookup::dump ( int  count) [inline]

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