comments.h

Go to the documentation of this file.
00001 /*  _________________________________________________________________________
00002  *
00003  *  UTILIB: A utility library for developing portable C++ codes.
00004  *  Copyright (c) 2001, Sandia National Laboratories.
00005  *  This software is distributed under the GNU Lesser General Public License.
00006  *  For more information, see the README file in the top UTILIB directory.
00007  *  _________________________________________________________________________
00008  */
00009 
00016 #ifndef __comments_h
00017 #define __comments_h
00018 
00019 #ifdef __GNUC__
00020 #pragma interface
00021 #endif
00022 
00023 #ifdef NON_ANSI
00024 #include <iostream.h>
00025 #else
00026 #include <iostream>
00027 using namespace std;
00028 #endif
00029 #include "utilib_dll.h"
00030 
00037 UTILIB_API istream& comment_lines(istream& ins, int& line_counter);
00038 
00043 inline UTILIB_API istream& comment_lines(istream& ins)
00044 {
00045 int tmp=0;
00046 return (comment_lines(ins,tmp));
00047 }
00048 
00054 UTILIB_API istream& whitespace(istream& ins);
00055 
00056 #endif