Changeset 710 for trunk/yat/utility
- Timestamp:
- Dec 20, 2006, 11:08:25 PM (16 years ago)
- Location:
- trunk/yat/utility
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/FileUtil.cc
r709 r710 24 24 */ 25 25 26 #include "File IO.h"26 #include "FileUtil.h" 27 27 28 28 #include <cerrno> … … 39 39 40 40 41 File IO::FileIO(const std::string& path)41 FileUtil::FileUtil(const std::string& path) 42 42 : no_file_(false), path_(path) 43 43 { … … 47 47 48 48 49 int File IO::access_rights(const std::string& path,50 const std::string& bits) const49 int FileUtil::access_rights(const std::string& path, 50 const std::string& bits) const 51 51 { 52 52 std::string tryme=path_; … … 74 74 75 75 76 bool File IO::file_exists(const std::string& file) const76 bool FileUtil::file_exists(const std::string& file) const 77 77 { 78 78 return !no_file_; … … 80 80 81 81 82 const std::string& File IO::path(void) const82 const std::string& FileUtil::path(void) const 83 83 { 84 84 return path_; -
trunk/yat/utility/FileUtil.h
r709 r710 1 #ifndef _theplu_yat_utility_file io_2 #define _theplu_yat_utility_file io_1 #ifndef _theplu_yat_utility_fileutil_ 2 #define _theplu_yat_utility_fileutil_ 3 3 4 4 // $Id$ … … 38 38 39 39 /// 40 /// File IOis useful for many common task on files.40 /// FileUtil is useful for many common task on files. 41 41 /// 42 class File IO{42 class FileUtil { 43 43 public: 44 44 … … 49 49 /// ways than file does not exist. 50 50 /// 51 explicit File IO(const std::string& path);51 explicit FileUtil(const std::string& path); 52 52 53 53 /// … … 85 85 /// \brief The copy constructor, not implemented 86 86 /// 87 File IO(const FileIO&);87 FileUtil(const FileUtil&); 88 88 89 89 bool no_file_; -
trunk/yat/utility/Makefile.am
r675 r710 25 25 noinst_LTLIBRARIES = libutility.la 26 26 libutility_la_SOURCES = \ 27 Alignment.cc CommandLine.cc File IO.cc kNNI.cc matrix.cc NNI.cc\27 Alignment.cc CommandLine.cc FileUtil.cc kNNI.cc matrix.cc NNI.cc \ 28 28 Option.cc PCA.cc stl_utility.cc SVD.cc utility.cc vector.cc WeNNI.cc 29 29 … … 32 32 33 33 include_utility_HEADERS = \ 34 Alignment.h CommandLine.h Exception.h File IO.h kNNI.h matrix.h NNI.h \34 Alignment.h CommandLine.h Exception.h FileUtil.h kNNI.h matrix.h NNI.h \ 35 35 Option.h PCA.h stl_utility.h SVD.h utility.h vector.h WeNNI.h
Note: See TracChangeset
for help on using the changeset viewer.