Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

interface.h

Go to the documentation of this file.
00001 
00002 /* Copyright (C) (2002) (ID - IMAG) <Florent.Morata@imag.fr> */
00003 
00004 /*
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU Library General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00018  */
00019  
00020 
00030 #ifndef _INTERFACE_H_
00031 #define _INTERFACE_H_
00032 
00033 
00034 // C++ includes
00035 #include <iostream>
00036 #include <string>
00037 #include <fstream>
00038 #include <iomanip>
00039 #include <algorithm>
00040 
00041 // C include 
00042 #include <cstdio>
00043 
00045 using namespace std;
00046 
00047 
00048 // local includes
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 // Functions
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 // Inline function
00096 inline string::iterator give_ext(string path)
00097 {
00098    return (find(path.begin(),path.end(),'.'));  
00099 }
00100 
00101 
00102 #endif
00103 

Generated on Tue Dec 10 12:44:21 2002 for PSI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002