GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "dir-ops.h"
Public Member Functions | |
dir_entry (const std::string &n=std::string()) | |
dir_entry (const dir_entry &d) | |
~dir_entry (void) | |
void | close (void) |
std::string | error (void) const |
bool | ok (void) const |
bool | open (const std::string &=std::string()) |
operator bool () const | |
dir_entry & | operator= (const dir_entry &d) |
string_vector | read (void) |
Private Attributes | |
void * | dir |
std::string | errmsg |
bool | fail |
std::string | name |
|
inline |
Definition at line 95 of file dir-ops.cc.
References dir.
Referenced by octave_recursive_rmdir(), and open().
|
inline |
Definition at line 71 of file dir-ops.h.
Referenced by Freaddir(), get_fcn_files(), load_path::dir_info::get_file_list(), and octave_recursive_rmdir().
bool dir_entry::open | ( | const std::string & | n = std::string () | ) |
Definition at line 43 of file dir-ops.cc.
References close(), dir, errmsg, fail, name, and file_ops::tilde_expand().
string_vector dir_entry::read | ( | void | ) |
Definition at line 70 of file dir-ops.cc.
References dir, dirent, and ok().
Referenced by Freaddir(), genpath(), get_fcn_files(), load_path::dir_info::get_file_list(), base_url_transfer::mput_directory(), and octave_recursive_rmdir().
|
private |
|
private |
Definition at line 87 of file dir-ops.h.
Referenced by open(), and operator=().
|
private |
Definition at line 84 of file dir-ops.h.
Referenced by open(), and operator=().
|
private |
Definition at line 76 of file dir-ops.h.
Referenced by open(), and operator=().