other_ioc.h

00001 /*
00002   -------------------------------------------------------------------
00003   
00004   Copyright (C) 2006, 2007, Andrew W. Steiner
00005   
00006   This file is part of O2scl.
00007   
00008   O2scl is free software; you can redistribute it and/or modify
00009   it under the terms of the GNU General Public License as published by
00010   the Free Software Foundation; either version 3 of the License, or
00011   (at your option) any later version.
00012   
00013   O2scl is distributed in the hope that it will be useful,
00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016   GNU General Public License for more details.
00017   
00018   You should have received a copy of the GNU General Public License
00019   along with O2scl. If not, see <http://www.gnu.org/licenses/>.
00020 
00021   -------------------------------------------------------------------
00022 */
00023 #ifndef O2SCL_OTHER_IOC_H
00024 #define O2SCL_OTHER_IOC_H
00025 #include <string>
00026 #include <o2scl/base_ioc.h>
00027 #include <o2scl/other_ioc.h>
00028 #include <o2scl/gsl_series.h>
00029 
00030 #ifndef DOXYGENP
00031 namespace o2scl {
00032 #endif
00033 
00034   /** \brief Setup I/O for series acceleration
00035   */
00036   class other_ioc {
00037     
00038   public:
00039 
00040     other_ioc() {
00041       gsl_series_io=new gsl_series_io_type
00042         ("gsl_series_io");
00043     }
00044 
00045     ~other_ioc() {
00046       delete gsl_series_io;
00047     }
00048 
00049     gsl_series_io_type *gsl_series_io;
00050     
00051   protected:
00052 
00053 #ifndef DOXYGENP
00054 
00055     base_ioc b;
00056 
00057 #endif
00058   
00059   };
00060 
00061 #ifndef DOXYGENP
00062 }
00063 #endif
00064 
00065 #endif

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page