UtilStream.hxx

Go to the documentation of this file.
00001 /**
00002  * \class UtilStream
00003  *
00004  * \ingroup Util
00005  *
00006  * \brief Stream related utility functions.
00007  *
00008  * 
00009  *
00010  * \author (last to touch it) $Author: finch $
00011  *
00012  * \version $Revision: 1.1 $
00013  *
00014  * \date $Date: 2011/01/18 05:49:20 $
00015  *
00016  * Contact: bv@bnl.gov
00017  *
00018  * Created on: Fri Apr 15 10:16:56 2005
00019  *
00020  * $Id: UtilStream.hxx,v 1.1 2011/01/18 05:49:20 finch Exp $
00021  *
00022  */
00023 
00024 
00025 
00026 #ifndef UTILSTREAM_H
00027 #define UTILSTREAM_H
00028 
00029 #include <iostream>
00030 #include <string>
00031 
00032 
00033 namespace Util {
00034 
00035     /// discard all whitespace chars until hitting a non-whitespace
00036     void eat_whitespace(std::istream& is);
00037     
00038     /// return a string of words.  Strings are delimited by single quotes.
00039     /// any leading white space is eaten.
00040     std::string read_quoted_string(std::istream& is);
00041 }
00042 
00043 
00044 #endif  // UTILSTREAM_H

Generated on 11 Aug 2013 for SKDatabase by  doxygen 1.6.1