log4cpp
1.1.6
Toggle main menu visibility
Loading...
Searching...
No Matches
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
19
public
:
20
inline
width
(
unsigned
int
i) : size(i) {}
21
friend
LOG4CPP_EXPORT
std::ostream&
operator<<
(std::ostream& os,
const
width
& w);
22
};
23
class
LOG4CPP_EXPORT
tab
{
24
private
:
25
unsigned
int
size;
26
27
public
:
28
inline
tab
(
unsigned
int
i) : size(i) {}
29
friend
LOG4CPP_EXPORT
std::ostream&
operator<<
(std::ostream& os,
const
tab
& w);
30
};
31
}
// namespace log4cpp
32
#endif
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition
Export.hh:26
Portability.hh
log4cpp::tab::operator<<
friend LOG4CPP_EXPORT std::ostream & operator<<(std::ostream &os, const tab &w)
log4cpp::tab::tab
tab(unsigned int i)
Definition
Manipulator.hh:28
log4cpp::width::operator<<
friend LOG4CPP_EXPORT std::ostream & operator<<(std::ostream &os, const width &w)
log4cpp::width::width
width(unsigned int i)
Definition
Manipulator.hh:20
log4cpp
The top level namespace for all 'Log for C++' types and classes.
Definition
AbortAppender.hh:16
include
log4cpp
Manipulator.hh
Generated by
1.17.0