File: Manipulator_8hh-source.html

package info (click to toggle)
log4cpp-doc 0.3.5-rc3-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,664 kB
  • ctags: 925
  • sloc: makefile: 34
file content (44 lines) | stat: -rw-r--r-- 4,222 bytes parent folder | download
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>log4cpp: Manipulator.hh Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000001.html">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">log4cpp</a></div>
<h1>Manipulator.hh</h1><a href="Manipulator_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Manipulator.hh</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * Copyright 2005, Francis ANDRE. All rights reserved.</span>
00005 <span class="comment"> *</span>
00006 <span class="comment"> * See the COPYING file for the terms of usage and distribution.</span>
00007 <span class="comment"> */</span>
00008 
00009 <span class="preprocessor">#ifndef _LOG4CPP_MANIPULATOR_HH</span>
00010 <span class="preprocessor"></span><span class="preprocessor">#define _LOG4CPP_MANIPULATOR_HH</span>
00011 <span class="preprocessor"></span>
00012 <span class="preprocessor">#include &lt;iostream&gt;</span>
00013 <span class="preprocessor">#include &lt;<a class="code" href="Portability_8hh.html">log4cpp/Portability.hh</a>&gt;</span>
00014 <span class="keyword">namespace </span>log4cpp {
<a name="l00015"></a><a class="code" href="classlog4cpp_1_1width.html">00015</a>         <span class="keyword">class </span><a class="code" href="Export_8hh.html#a0">LOG4CPP_EXPORT</a> width {
00016         <span class="keyword">private</span>:
00017                 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size;
00018         <span class="keyword">public</span>:
<a name="l00019"></a><a class="code" href="classlog4cpp_1_1width.html#a0">00019</a> <span class="keyword">inline</span>  width(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i) : size(i) {}
00020 <span class="keyword">friend</span> <a class="code" href="Export_8hh.html#a0">LOG4CPP_EXPORT</a> std::ostream&amp; <a class="code" href="namespacelog4cpp.html#a7">operator&lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> width&amp; w);
00021         };
<a name="l00022"></a><a class="code" href="classlog4cpp_1_1tab.html">00022</a> <span class="keyword">class </span><a class="code" href="Export_8hh.html#a0">LOG4CPP_EXPORT</a> tab {
00023         <span class="keyword">private</span>:
00024                 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size;
00025         <span class="keyword">public</span>:
<a name="l00026"></a><a class="code" href="classlog4cpp_1_1tab.html#a0">00026</a> <span class="keyword">inline</span>  tab(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i) : size(i) {}
00027 <span class="keyword">friend</span> <a class="code" href="Export_8hh.html#a0">LOG4CPP_EXPORT</a> std::ostream&amp; <a class="code" href="namespacelog4cpp.html#a7">operator&lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> tab&amp; w);
00028         };
00029 };
00030 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jul 29 14:07:33 2005 for log4cpp by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
</body>
</html>