OSrL2Smag.hpp

Go to the documentation of this file.
00001 // Copyright (C) GAMS Development 2007
00002 // All Rights Reserved.
00003 // This code is published under the Common Public License.
00004 //
00005 // $Id: OSrL2Smag.hpp 510 2008-08-16 19:31:27Z stefan $
00006 //
00007 // Authors: Stefan Vigerske
00008 
00009 #ifndef OSRL2SMAG_HPP_
00010 #define OSRL2SMAG_HPP_
00011 
00012 #include "GAMSlinksConfig.h"
00013 
00014 #ifdef HAVE_CSTDLIB
00015 #include <cstdlib>
00016 #else
00017 #ifdef HAVE_STDLIB_H
00018 #include <stdlib.h>
00019 #else
00020 #error "don't have header file for stdlib"
00021 #endif
00022 #endif
00023 
00024 #ifdef HAVE_CSTDIO
00025 #include <cstdio>
00026 #else
00027 #ifdef HAVE_STDIO_H
00028 #include <stdio.h>
00029 #else
00030 #error "don't have header file for stdio"
00031 #endif
00032 #endif
00033 
00034 struct smagRec;
00035 class OSResult;
00036 
00039 class OSrL2Smag {
00040 public:
00044         OSrL2Smag(struct smagRec* smag_);
00045 
00048         ~OSrL2Smag() {}
00049         
00053         void writeSolution(OSResult& osresult);
00054 
00058         void writeSolution(std::string& osrl);
00059 
00060 private:
00061         struct smagRec* smag;
00062 };
00063 
00064 
00065 #endif /*OSRL2SMAG_HPP_*/

Generated on Tue Dec 30 03:01:24 2008 for GAMSlinks by  doxygen 1.4.7