00001 // Copyright (C) 2002 Petter Urkedal (petter.urkedal@matfys.lth.se) 00002 // 00003 // This file is free software; you can redistribute it and/or modify 00004 // it under the terms of the GNU General Public License as published by 00005 // the Free Software Foundation; either version 2 of the License, or 00006 // (at your option) any later version. 00007 // 00008 // This file is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 // GNU General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License 00014 // along with this program; if not, write to the Free Software 00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00016 // 00017 // As a special exception, you may use this file as part of a free 00018 // software library without restriction. Specifically, if other files 00019 // instantiate templates or use macros or inline functions from this 00020 // file, or you compile this file and link it with other files to 00021 // produce an executable, this file does not by itself cause the 00022 // resulting executable to be covered by the GNU General Public 00023 // License. This exception does not however invalidate any other 00024 // reasons why the executable file might be covered by the GNU General 00025 // Public License. 00026 // 00027 // $Id: ios_storage.h,v 1.1 2002/05/30 18:01:37 petter_urkedal Exp $ 00028 00029 00030 ///\if bits 00031 #ifndef MORE_IO_IOS_STORAGE_H 00032 #define MORE_IO_IOS_STORAGE_H 00033 00034 #include <more/io/iomanip.h> 00035 00036 namespace more { 00037 namespace io { 00038 namespace bits { 00039 struct ios_storage 00040 { 00041 ios_storage(); 00042 00043 00044 // iomanip.cc 00045 tslang_t tslang; 00046 typedef unsigned int style_t; 00047 static style_t const style_bold = 1 << 0; 00048 static style_t const style_underline = 1 << 1; 00049 static style_t const style_italic = 1 << 2; 00050 static style_t const style_standout = 1 << 3; 00051 style_t style; 00052 00053 // phys/confidence_interval.cc 00054 char const* origin_indicator_prefix; 00055 char const* origin_indicator_suffix; 00056 char const* origin_indicator_separator; 00057 char const* origin_experiment_indicator; 00058 char const* origin_calculation_indicator; 00059 char const* origin_systematics_indicator; 00060 char const* origin_other_indicator; 00061 char const* origin_unknown_indicator; 00062 }; 00063 00064 ios_storage* storage(std::ios_base& iosb); 00065 } 00066 }} 00067 00068 #endif 00069 ///\endif