text.hh (2716:b9114064d77a) text.hh (4078:3f73f808bbd4)
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 20 unchanged lines hidden (view full) ---

29 */
30
31#ifndef __BASE_STATS_TEXT_HH__
32#define __BASE_STATS_TEXT_HH__
33
34#include <iosfwd>
35#include <string>
36
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 20 unchanged lines hidden (view full) ---

29 */
30
31#ifndef __BASE_STATS_TEXT_HH__
32#define __BASE_STATS_TEXT_HH__
33
34#include <iosfwd>
35#include <string>
36
37#include "base/output.hh"
37#include "base/stats/output.hh"
38
39namespace Stats {
40
41class Text : public Output
42{
43 protected:
44 bool mystream;

--- 23 unchanged lines hidden (view full) ---

68 virtual void visit(const Vector2dData &data);
69 virtual void visit(const FormulaData &data);
70
71 // Implement Output
72 virtual bool valid() const;
73 virtual void output();
74};
75
38#include "base/stats/output.hh"
39
40namespace Stats {
41
42class Text : public Output
43{
44 protected:
45 bool mystream;

--- 23 unchanged lines hidden (view full) ---

69 virtual void visit(const Vector2dData &data);
70 virtual void visit(const FormulaData &data);
71
72 // Implement Output
73 virtual bool valid() const;
74 virtual void output();
75};
76
77bool initText(const std::string &filename, bool desc=true, bool compat=true);
78
76/* namespace Stats */ }
77
78#endif // __BASE_STATS_TEXT_HH__
79/* namespace Stats */ }
80
81#endif // __BASE_STATS_TEXT_HH__