メインページ   クラス階層   構成   ファイル一覧   構成メンバ   ファイルメンバ  

lo-utils.h

解説を見る。
00001 /*
00002 
00003 Copyright (C) 1996, 1997 John W. Eaton
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 2, or (at your option) any
00010 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, write to the Free
00019 Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00020 
00021 */
00022 
00023 #if !defined (octave_liboctave_utils_h)
00024 #define octave_liboctave_utils_h 1
00025 
00026 #include <cstdio>
00027 
00028 #include <iostream>
00029 #include <string>
00030 
00031 #include "oct-cmplx.h"
00032 
00033 extern int NINT (double x);
00034 extern double D_NINT (double x);
00035 
00036 extern char *strsave (const char *);
00037 
00038 extern void octave_putenv (const std::string&, const std::string&);
00039 
00040 extern std::string octave_fgets (std::FILE *);
00041 extern std::string octave_fgetl (std::FILE *);
00042 
00043 extern std::string octave_fgets (std::FILE *, bool& eof);
00044 extern std::string octave_fgetl (std::FILE *, bool& eof);
00045 
00046 extern "C" int octave_gethostname (char *, int);
00047 
00048 extern "C" void octave_qsort (void *base, size_t n, size_t size,
00049                               int (*cmp) (const void *, const void *));
00050 
00051 extern "C" char *oct_strptime (const char *buf, const char *format,
00052                                struct tm *tm);
00053 
00054 extern double octave_read_double (std::istream& is);
00055 extern Complex octave_read_complex (std::istream& is);
00056 
00057 extern void octave_write_double (std::ostream& os, double dval);
00058 extern void octave_write_complex (std::ostream& os, const Complex& cval);
00059 
00060 #endif
00061 
00062 /*
00063 ;;; Local Variables: ***
00064 ;;; mode: C++ ***
00065 ;;; End: ***
00066 */

Wed Dec 29 11:51:43 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送