#include "dir-ops.h"
Public Member Functions | |
dir_entry (const std::string &n="") | |
dir_entry (const dir_entry &d) | |
~dir_entry (void) | |
bool | close (void) |
std::string | error (void) const |
bool | ok (void) const |
bool | open (const std::string &="") |
operator bool () const | |
dir_entry & | operator= (const dir_entry &d) |
string_vector | read (void) |
Static Public Member Functions | |
static unsigned int | max_name_length (void) |
Private Attributes | |
void * | dir |
std::string | errmsg |
bool | fail |
std::string | name |
|
inline |
|
inline |
bool octave::sys::dir_entry::close | ( | void | ) |
Definition at line 90 of file dir-ops.cc.
References dir, octave_closedir_wrapper(), and retval.
Referenced by open(), and octave::sys::recursive_rmdir().
|
inline |
Definition at line 77 of file dir-ops.h.
Referenced by Freaddir(), octave::get_fcn_files(), octave::load_path::dir_info::get_file_list(), and octave::sys::recursive_rmdir().
|
static |
Definition at line 105 of file dir-ops.cc.
References octave_name_max_wrapper().
Referenced by kpse_truncate_filename().
|
inline |
bool octave::sys::dir_entry::open | ( | const std::string & | n = "" | ) |
Definition at line 47 of file dir-ops.cc.
References close(), dir, errmsg, name, octave_opendir_wrapper(), string, and octave::sys::file_ops::tilde_expand().
string_vector octave::sys::dir_entry::read | ( | void | ) |
Definition at line 70 of file dir-ops.cc.
References dir, fname, octave_readdir_wrapper(), ok(), and retval.
Referenced by Freaddir(), octave::genpath(), octave::get_fcn_files(), octave::load_path::dir_info::get_file_list(), octave::base_url_transfer::mput_directory(), octave::sys::recursive_rmdir(), and octave::xzip().
|
private |
|
private |
|
private |