src/utils/utils.h

00001 /* 
00002  * wsdlpull - A C++ parser  for WSDL  (Web services description language)
00003  * Copyright (C) 2003 Vivek Krishna
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library 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 GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public
00016  * License along with this library; if not, write to the Free
00017  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  */
00019 
00020 #ifndef _UTILSH
00021 #define _UTILSH
00022 
00023 #include <string>
00024 #include <iostream>
00025 #include <fstream>
00026 #include <iomanip>
00027 #include <exception>
00028 #ifdef HAVE_CONFIG_H //
00029 #include <config.h>
00030 #endif             
00031 using namespace std;
00032 
00033 //put all  utiliy functions here
00034 
00035 int parseInt (string s, int radix = 10);
00036 //Manipulators for intermediate format output
00037 ostream & dbsp (ostream & str);
00038 ostream & blk (ostream & str);
00039 bool fetchUri(string uri,string & path);
00040 #endif                                            /*  */

Generated on Fri Oct 19 19:34:04 2007 for wsdlpull by  doxygen 1.4.6