log4cpp
1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
log4cpp
Manipulator.hh
Go to the documentation of this file.
1
/*
2
* Manipulator.hh
3
*
4
* Copyright 2005, Francis ANDRE. All rights reserved.
5
*
6
* See the COPYING file for the terms of usage and distribution.
7
*/
8
9
#ifndef _LOG4CPP_MANIPULATOR_HH
10
#define _LOG4CPP_MANIPULATOR_HH
11
12
#include <iostream>
13
#include <
log4cpp/Portability.hh
>
14
namespace
log4cpp {
15
class
LOG4CPP_EXPORT
width
{
16
private
:
17
unsigned
int
size;
18
public
:
19
inline
width
(
unsigned
int
i) : size(i) {}
20
friend
LOG4CPP_EXPORT
std::ostream& operator<< (std::ostream& os,
const
width
& w);
21
};
22
class
LOG4CPP_EXPORT
tab
{
23
private
:
24
unsigned
int
size;
25
public
:
26
inline
tab
(
unsigned
int
i) : size(i) {}
27
friend
LOG4CPP_EXPORT
std::ostream& operator<< (std::ostream& os,
const
tab
& w);
28
};
29
}
30
#endif
Generated by
1.8.3.1