Skip to content

Commit

Permalink
Added documentation for FilterCounter class
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Willems committed Mar 19, 2014
1 parent fad48b2 commit cb7eb3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/FilterCounter.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class FilterCounter {

public:
const static int NUM_FILTERS = 10;

// Various filter types
const static int NOT_UNIT = 0;
const static int DIFF_FROM_REF = 1;
const static int MAPPING_QUALITY = 2;
Expand All @@ -45,10 +47,13 @@ class FilterCounter {

FilterCounter();

/* Increment the count for the provided filter type */
void increment(const int type);

/* Returns the name of the filter associated with the provided filter type */
std::string GetFilterType(const int type);

/* Returns the count associated with the provided filter type */
uint64_t GetFilterCount(const int type);

~FilterCounter();
Expand Down

0 comments on commit cb7eb3f

Please sign in to comment.