YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
CountLoggerMode.cpp
Go to the documentation of this file.
1
#include "
YAPOG/System/IO/Log/CountLoggerMode.hpp
"
2
3
namespace
yap
4
{
5
const
int
CountLoggerMode::DEFAULT_COUNT
= 0;
6
7
CountLoggerMode::CountLoggerMode
()
8
:
LoggerMode
()
9
, currentCount_ (DEFAULT_COUNT)
10
{
11
}
12
13
CountLoggerMode::~CountLoggerMode
()
14
{
15
}
16
17
OStream
&
CountLoggerMode::GetPrefix
(
OStream
& oStream)
18
{
19
oStream <<
"["
20
<<
currentCount_
++
21
<<
"] "
;
22
23
return
oStream;
24
}
25
26
OStream
&
CountLoggerMode::GetSuffix
(
OStream
& oStream)
27
{
28
return
oStream;
29
}
30
}
// namespace yap
YAPOG
src
YAPOG
System
IO
Log
CountLoggerMode.cpp
Generated on Mon Sep 17 2012 22:24:26 for YAPOG by
1.8.1.1