Last change
on this file since 5477 was
5477,
checked in by aclsce, 4 years ago
|
- Created CONFIG_DEVT directory
- First import of LMDZOR_V6.2_work_ENSEMBLES working configuration
|
File size:
652 bytes
|
Line | |
---|
1 | #ifndef __XIOS_INDENT_HPP__ |
---|
2 | #define __XIOS_INDENT_HPP__ |
---|
3 | |
---|
4 | #include <ostream> |
---|
5 | |
---|
6 | namespace xios |
---|
7 | { |
---|
8 | class Cindent |
---|
9 | { |
---|
10 | public: |
---|
11 | static int defaultIncSize; |
---|
12 | static int index ; |
---|
13 | int incSize ; |
---|
14 | int offset ; |
---|
15 | bool reset ; |
---|
16 | public : |
---|
17 | |
---|
18 | Cindent(int i=0, bool r=false) ; |
---|
19 | Cindent operator++(int) ; |
---|
20 | Cindent operator--(int) ; |
---|
21 | Cindent operator++() ; |
---|
22 | Cindent operator--() ; |
---|
23 | Cindent operator+=(int n) ; |
---|
24 | Cindent operator-=(int n) ; |
---|
25 | std::ostream& iendl(std::ostream& o) const ; |
---|
26 | }; |
---|
27 | |
---|
28 | std::ostream& operator <<(std::ostream& o, const Cindent& indent) ; |
---|
29 | |
---|
30 | extern Cindent iendl; |
---|
31 | extern Cindent ireset; |
---|
32 | |
---|
33 | } |
---|
34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.