34 |
|
|
35 |
|
#ifndef IO_STATWRITER_HPP |
36 |
|
#define IO_STATWRITER_HPP |
37 |
< |
|
38 |
< |
#include <string.h> |
39 |
< |
#include <iostream> |
37 |
> |
#include <bitset> |
38 |
|
#include <fstream> |
39 |
+ |
#include <iostream> |
40 |
+ |
#include <string.h> |
41 |
|
|
42 |
|
#include "brains/Stats.hpp" |
43 |
|
|
44 |
|
namespace oopse { |
45 |
|
|
46 |
< |
typedef std::bitset<Stats::ENDINDEX-Stats:BEGININDEX> StatsBitSet; |
46 |
> |
typedef std::bitset<Stats::ENDINDEX-Stats::BEGININDEX> StatsBitSet; |
47 |
|
|
48 |
|
/** |
49 |
|
* DefaultStatsBitSet includes |
68 |
|
~StatWriter(); |
69 |
|
|
70 |
|
void writeTitle(); |
71 |
< |
void writeStat(Stats* s); |
71 |
> |
void writeStat(const Stats& s); |
72 |
|
|
73 |
|
StatsBitSet getMask() { |
74 |
|
return mask_; |