/usr/include/LWH/AIBaseHistogram.h is in librivet-dev 1.8.3-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | // -*- C++ -*-
#ifndef LWH_AIBaseHistogram_H
#define LWH_AIBaseHistogram_H
//
#ifndef LWH_USING_AIDA
/** @cond DONT_DOCUMENT_STRIPPED_DOWN_AIDA_INTERFACES */
namespace AIDA {
class IBaseHistogram {
public:
virtual ~IBaseHistogram() {}
virtual int dimension() const = 0;
virtual bool reset() = 0;
virtual int entries() const = 0;
///////////////////////////////////
/**
* Get the main title.
* @return The title.
*
*/
std::string title() const {
return theTitle;
}
/**
* Set the main title.
* @param title The new title.
* @return false If the title cannot be set.
*
*/
bool setTitle(const std::string & title) {
theTitle = title;
return true;
}
/**
* Get the x-axis title.
* @return The title.
*
*/
std::string xtitle() const {
return theXTitle;
}
/**
* Set the x-axis title.
* @param title The new title.
* @return false If the title cannot be set.
*
*/
bool setXTitle(const std::string & xtitle) {
theXTitle = xtitle;
return true;
}
/**
* Get the y-axis title.
* @return The title.
*
*/
std::string ytitle() const {
return theYTitle;
}
/**
* Set the y-axis title.
* @param title The new title.
* @return false If the title cannot be set.
*
*/
bool setYTitle(const std::string & ytitle) {
theYTitle = ytitle;
return true;
}
/**
* Get the z-axis title.
* @return The title.
*
*/
std::string ztitle() const {
return theZTitle;
}
/**
* Set the z-axis title.
* @param title The new title.
* @return false If the title cannot be set.
*
*/
bool setZTitle(const std::string & ztitle) {
theZTitle = ztitle;
return true;
}
protected:
std::string theTitle;
std::string theXTitle;
std::string theYTitle;
std::string theZTitle;
};
} // namespace AIDA
/** @endcond */
#else
#include "AIDA/IBaseHistogram.h"
#endif
#endif /* LWH_AIBaseHistogram_H */
|