00001
00002
00003
00004
00005
00006
00007
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