1 #ifndef __JDB_JAHRSCALIBRATIONTOOLKIT__ 
    2 #define __JDB_JAHRSCALIBRATIONTOOLKIT__ 
  102     size_t pos = version.find_last_of(
"vV");
 
  104     if (pos != string::npos) 
 
  105       return to_value<int>(version.substr(pos+1));
 
  195                            const std::string& second)
 const 
  200       if (!first.empty() && !second.empty()) {
 
  202         if (first[0] == second[0])
 
  203           return to_value<int>(first.substr(1)) > to_value<int>(second.substr(1));
 
  205           return first[0] > second[0];
 
  209         return first > second;
 
Auxiliary class to define a range between two values.
 
Auxiliary classes and methods for database I/O.
 
int getVersion(const std::string &version)
Get numerical value of AHRS calibration version.
 
std::istream & operator>>(std::istream &in, JAHRSCalibration &calibration)
Read AHRS calibration from input stream.
 
std::ostream & operator<<(std::ostream &out, const JAHRSCalibration &calibration)
Write AHRS calibration to output stream.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary data structure for floating point format specification.
 
Auxiliary data structure for sorting of AHRS calibrations.
 
bool operator()(const JAHRSCalibration &first, const JAHRSCalibration &second) const
Comparison of AHRS calibrations.
 
bool operator()(const std::string &first, const std::string &second) const
Comparison of operation identifiers.
 
Auxiliary data structure to check validity of AHRS calibration data.
 
bool operator()(const JAHRSCalibration &calibration) const
Check validity of AHRS calibration data.
 
JTOOLS::JRange< double > range_type
 
JAHRSCalibrationValidity()
Default constructor.