Deleted Added
sdiff udiff text old ( 7811:a8fc35183c10 ) new ( 8296:be7f03723412 )
full compact
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;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Nathan Binkert
29 */
30
31#ifndef __BASE_STATS_OUTPUT_HH__
32#define __BASE_STATS_OUTPUT_HH__
33
34#include <string>
35
36#include "base/stats/visit.hh"
37
38namespace Stats {
39
40struct Output : public Visit
41{
42 inline void operator()() { output(); }
43 virtual void output() = 0;
44 virtual bool valid() const = 0;
45};
46
47} // namespace Stats
48
49#endif // __BASE_STATS_OUTPUT_HH__