log4cpp 1.1.3
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>
14namespace log4cpp {
16 private:
17 unsigned int size;
18 public:
19inline width(unsigned int i) : size(i) {}
20friend LOG4CPP_EXPORT std::ostream& operator<< (std::ostream& os, const width& w);
21 };
23 private:
24 unsigned int size;
25 public:
26inline tab(unsigned int i) : size(i) {}
27friend LOG4CPP_EXPORT std::ostream& operator<< (std::ostream& os, const tab& w);
28 };
29}
30#endif
#define LOG4CPP_EXPORT
Definition Export.hh:26
Definition Manipulator.hh:22
tab(unsigned int i)
Definition Manipulator.hh:26
Definition Manipulator.hh:15
width(unsigned int i)
Definition Manipulator.hh:19
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16