Last change
on this file since 1204 was
501,
checked in by ymipsl, 10 years ago
|
Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src
XIOS is now officialy under CeCILL licence
YM
|
-
Property copyright set to
Software name : XIOS (Xml I/O Server) http://forge.ipsl.jussieu.fr/ioserver Creation date : January 2009 Licence : CeCCIL version2 see license file in root directory : Licence_CeCILL_V2-en.txt or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement) CNRS/IPSL (Institut Pierre Simon Laplace) Project Manager : Yann Meurdesoif yann.meurdesoif@cea.fr
|
File size:
652 bytes
|
Rev | Line | |
---|
[313] | 1 | #ifndef __XIOS_INDENT_HPP__ |
---|
| 2 | #define __XIOS_INDENT_HPP__ |
---|
[219] | 3 | |
---|
[313] | 4 | #include <ostream> |
---|
[219] | 5 | |
---|
[335] | 6 | namespace xios |
---|
[219] | 7 | { |
---|
[313] | 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 : |
---|
[219] | 17 | |
---|
[313] | 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) ; |
---|
[219] | 29 | |
---|
[313] | 30 | extern Cindent iendl; |
---|
| 31 | extern Cindent ireset; |
---|
[219] | 32 | |
---|
[313] | 33 | } |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.