PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
-Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifdef HAVE_CONFIG_H
-#include <simgear_config.h>
-#endif
#ifndef SampleHistogram_h
-#ifdef __GNUG__
-#pragma interface
-#endif
#define SampleHistogram_h 1
-#include <iostream>
-#include <fstream>
+#include <iosfwd>
#include "SGSmplstat.hxx"
-using namespace std;
-
extern const int SampleHistogramMinimum;
extern const int SampleHistogramMaximum;
double bucketThreshold (int i);
int inBucket (int i);
- void printBuckets (ostream &);
+ void printBuckets (std::ostream &);
};
inline int SampleHistogram::buckets ()
{
return (howManyBuckets);
-};
+}
inline double SampleHistogram::bucketThreshold (int i)
{