00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00030 #ifndef _INTERFACE_H_
00031 #define _INTERFACE_H_
00032
00033
00034
00035 #include <iostream>
00036 #include <string>
00037 #include <fstream>
00038 #include <iomanip>
00039 #include <algorithm>
00040
00041
00042 #include <cstdio>
00043
00045 using namespace std;
00046
00047
00048
00049 #include "hbf.h"
00050 #include "alias.h"
00051 #include "analyze.h"
00052
00053
00057 enum psi_options{
00058 credits,
00059 bye,
00060 nothing,
00061 pre,
00062 sim,
00063 analy,
00064 tools
00065 };
00066
00067
00068 void See_model();
00069
00070 void OpenModel(const string extension);
00071
00072 void See_simu();
00073
00074 void Bye();
00075
00076 void Credits();
00077
00078 psi_options Menu();
00079
00080 bool ExistsFile(string file_name);
00081
00082 void Conversion();
00083
00084 void Stat();
00085
00086 void Unif();
00087
00088 void Walk();
00089
00090 void Sorry();
00091
00092 bool Overwrite(const string file_name);
00093
00094
00095
00096 inline string::iterator give_ext(string path)
00097 {
00098 return (find(path.begin(),path.end(),'.'));
00099 }
00100
00101
00102 #endif
00103