Holds ranges and offsets of all plots. Singleton class.
More...
#include <PlotsRegister.hpp>
|
std::vector< std::pair< int, int > > | reg |
| Vector of min, max of histogram numbers.
|
|
Holds ranges and offsets of all plots. Singleton class.
PlotsRegister::~PlotsRegister |
( |
| ) |
|
PlotsRegister::PlotsRegister |
( |
| ) |
|
|
inlineprivate |
bool PlotsRegister::Add |
( |
int |
offset, |
|
|
int |
range, |
|
|
std::string |
name_ |
|
) |
| |
Add an offset, range, and name to known list
- Parameters
-
[in] | offset | : the offset to add |
[in] | range | : the associated range to add |
[in] | name_ | : the name to add |
- Returns
- true if everything is good
bool PlotsRegister::CheckRange |
( |
int |
offset, |
|
|
int |
range |
|
) |
| const |
Check if the range provided is legit
- Parameters
-
[in] | offset | : the offset that needs checked |
[in] | range | : the range that needs checked |
- Returns
- true if the range is legit
The documentation for this class was generated from the following file: