File: vcl_iomanip.h

package info (click to toggle)
insighttoolkit 3.6.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 94,956 kB
  • ctags: 74,981
  • sloc: cpp: 355,621; ansic: 195,070; fortran: 28,713; python: 3,802; tcl: 1,996; sh: 1,175; java: 583; makefile: 415; csh: 184; perl: 175
file content (29 lines) | stat: -rw-r--r-- 1,471 bytes parent folder | download | duplicates (8)
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
#ifndef vcl_gcc_295_iomanip_h_
#define vcl_gcc_295_iomanip_h_

#include <iomanip>
#include <vcl_ios.h>
#define vcl_generic_iomanip_STD /* */

// And now some missing <iomanip> manipulators - PVr :
inline ios& boolalpha(ios& i) { return i; }
inline ios& noboolalpha(ios& i) { return i; }
inline ios& showbase(ios& i) { i.setf(ios::showbase); return i; }
inline ios& noshowbase(ios& i) { i.unsetf(ios::showbase); return i; }
inline ios& showpoint(ios& i) { i.setf(ios::showpoint); return i; }
inline ios& noshowpoint(ios& i) { i.unsetf(ios::showpoint); return i; }
inline ios& showpos(ios& i) { i.setf(ios::showpos); return i; }
inline ios& noshowpos(ios& i) { i.unsetf(ios::showpos); return i; }
inline ios& skipws(ios& i) { i.setf(ios::skipws); return i; }
inline ios& noskipws(ios& i) { i.unsetf(ios::skipws); return i; }
inline ios& uppercase(ios& i) { i.setf(ios::uppercase); return i; }
inline ios& nouppercase(ios& i) { i.unsetf(ios::uppercase); return i; }
inline ios& internal(ios& i) { i.unsetf(ios::right|ios::left); i.setf(ios::internal); return i; }
inline ios& left(ios& i) { i.unsetf(ios::right|ios::internal); i.setf(ios::left); return i; }
inline ios& right(ios& i) { i.unsetf(ios::left|ios::internal); i.setf(ios::right); return i; }
inline ios& fixed(ios& i) { i.unsetf(ios::scientific); i.setf(ios::fixed); return i; }
inline ios& scientific(ios& i) { i.unsetf(ios::fixed); i.setf(ios::scientific); return i; }

#include "generic/vcl_iomanip.h"

#endif