Octave-Forge - Extra packages for GNU Octave | |
Home · Packages · Developers · Documentation · FAQ · Bugs · Mailing Lists · Links · Code |
00001 /* 00002 00003 Copyright (C) 2009 Benjamin Lindner 00004 00005 This file is part of Octave. 00006 00007 Octave is free software; you can redistribute it and/or modify it 00008 under the terms of the GNU General Public License as published by the 00009 Free Software Foundation; either version 3 of the License, or (at your 00010 option) any later version. 00011 00012 Octave is distributed in the hope that it will be useful, but WITHOUT 00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00015 for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Octave; see the file COPYING. If not, see 00019 <http://www.gnu.org/licenses/>. 00020 00021 */ 00022 00023 #if !defined (octave_ls_ascii_helper_h) 00024 #define octave_ls_ascii_helper_h 1 00025 00026 #include <iosfwd> 00027 #include <string> 00028 00029 extern OCTINTERP_API void 00030 skip_until_newline (std::istream& is, bool keep_newline = false); 00031 00032 extern OCTINTERP_API void 00033 skip_preceeding_newline (std::istream& is); 00034 00035 extern OCTINTERP_API std::string 00036 read_until_newline (std::istream& is, bool keep_newline = false); 00037 00038 #endif 00039 00040 /* 00041 ;;; Local Variables: *** 00042 ;;; mode: C++ *** 00043 ;;; End: *** 00044 */