Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

main.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * main.h
00003  * Last Change: 2003-12-27
00004  * Copyright (c) 2003 Sebastian "randomZ" Beschke
00005  ****************
00006  * This file is part of the libsofu project, a parser library for an all-purpose
00007  * ASCII file format. More information can be found on the project web site
00008  * at http://sofu.sourceforge.net/ .
00009  *
00010  * libsofu is published under the terms of the MIT license, which basically means
00011  * "Do with it whatever you want". For more information, see the license.txt
00012  * file that should be enclosed with libsofu distributions. A copy of the license
00013  * is (at the time of this writing) also available at
00014  * http://www.opensource.org/licenses/mit-license.php .
00015  *****************************************************************************/
00016 
00021 #ifndef INC_SOFU_MAIN_H
00022 #define INC_SOFU_MAIN_H
00023 
00024 #include <iostream>
00025 #include <sstream>
00026 #include <fstream>
00027 #include <string>
00028 #include <vector>
00029 #include <map>
00030 
00034 namespace Sofu
00035 {
00036     using std::pair;
00037     using std::istream;
00038     using std::ostream;
00039     using std::cout;
00040     using std::cin;
00041     using std::istringstream;
00042     using std::ostringstream;
00043     using std::ifstream;
00044     using std::ofstream;
00045     using std::string;
00046     using std::vector;
00047     using std::map;
00048     
00054     struct Exc
00055     {
00058         string message;
00059         
00060         Exc(void)
00061         : message("An error occured in the Sofu module.")
00062         { }
00063         Exc(const string& imessage)
00064         : message(imessage)
00065         { }
00066     };
00067 }
00068 
00076 #endif // INC_MAIN_H

Generated on Wed Jan 7 21:34:45 2004 for libsofu by doxygen 1.3.5