admin
2022-08-18 67a5e3d825fde17b7b00906ce42b0bd8cafebc4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Manipulator.hh
 *
 * Copyright 2005, Francis ANDRE. All rights reserved.
 *
 * See the COPYING file for the terms of usage and distribution.
 */
 
#ifndef _LOG4CPP_MANIPULATOR_HH
#define _LOG4CPP_MANIPULATOR_HH
 
#include <iostream>
#include <log4cpp/Portability.hh>
namespace log4cpp {
    class LOG4CPP_EXPORT width {
    private:
        unsigned int size;
    public:
inline    width(unsigned int i) : size(i) {}
friend LOG4CPP_EXPORT std::ostream& operator<< (std::ostream& os, const width& w);
    };
class LOG4CPP_EXPORT tab {
    private:
        unsigned int size;
    public:
inline    tab(unsigned int i) : size(i) {}
friend LOG4CPP_EXPORT std::ostream& operator<< (std::ostream& os, const tab& w);
    };
}
#endif