#include <ExampleClass.h>
Public Member Functions | |
float | computeMean () const |
A member function. More... | |
int | count () const |
A simple getter. More... | |
ExampleClass () | |
Constructor. More... | |
void | setCount (int ticks) |
A simple setter. More... | |
void | setValues (const std::vector< float > &entries) |
Another setter. More... | |
const std::vector< float > & | values () const |
A getter returning a const reference. More... | |
virtual | ~ExampleClass () |
Virtual Destructor. More... | |
Private Attributes | |
SomeAlgorithm * | theAlgo |
int | theCount |
std::vector< float > | theValues |
An example of doxygen-documented class conforming to the CMS style rules.
Features:
-doxygen-style header (note the
Definition at line 22 of file ExampleClass.h.
ExampleClass::ExampleClass | ( | ) |
|
virtual |
float ExampleClass::computeMean | ( | ) | const |
int ExampleClass::count | ( | void | ) | const |
void ExampleClass::setCount | ( | int | ticks | ) |
void ExampleClass::setValues | ( | const std::vector< float > & | entries | ) |
const vector< float > & ExampleClass::values | ( | ) | const |
A getter returning a const reference.
Definition at line 54 of file ExampleClass.cc.
References theValues.
|
private |
Definition at line 50 of file ExampleClass.h.
Referenced by ~ExampleClass().
|
private |
Definition at line 48 of file ExampleClass.h.
Referenced by count(), and setCount().
|
private |
Definition at line 49 of file ExampleClass.h.
Referenced by setValues(), and values().