YAPOG  0.0.1
Yet Another Pokemon Online Game
CountLoggerMode.cpp
Go to the documentation of this file.
2 
3 namespace yap
4 {
5  const int CountLoggerMode::DEFAULT_COUNT = 0;
6 
8  : LoggerMode ()
9  , currentCount_ (DEFAULT_COUNT)
10  {
11  }
12 
14  {
15  }
16 
18  {
19  oStream << "["
20  << currentCount_++
21  << "] ";
22 
23  return oStream;
24  }
25 
27  {
28  return oStream;
29  }
30 } // namespace yap