00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef SIMPARAMS_H
00025 #define SIMPARAMS_H
00026
00041 #include <iosfwd>
00042 #include <string>
00043 #include <vector>
00044 #include <cstdio>
00045
00046 namespace Sequence
00047 {
00048 class SimParams
00049 {
00050 friend std::ostream& operator<<(std::ostream&,class SimParams &object);
00051 private:
00052 std::string _command_line;
00053 unsigned _howmany, tsam;
00054 public:
00055 SimParams(void);
00056 std::istream& read(std::istream& s);
00057 int fromfile ( FILE * openfile );
00058 std::string params (void) const
00064 {
00065 return _command_line;
00066 }
00067 unsigned totsam (void) const
00071 {
00072 return (tsam);
00073 }
00074 unsigned runs (void) const
00078 {
00079 return (_howmany);
00080 }
00081 };
00082
00083 std::istream& operator>>(std::istream& s, SimParams& c);
00084 }
00085 #endif