#include "dir-ops.h"
Public Member Functions | |
dir_entry (const dir_entry &d) | |
dir_entry (const std::string &n="") | |
~dir_entry () | |
bool | close () |
std::string | error () const |
bool | ok () const |
bool | open (const std::string &="") |
operator bool () const | |
dir_entry & | operator= (const dir_entry &d) |
string_vector | read () |
Static Public Member Functions | |
static unsigned int | max_name_length () |
bool dir_entry::close | ( | ) |
Definition at line 130 of file dir-ops.cc.
References octave_closedir_wrapper().
Referenced by get_dirlist(), and open().
|
inline |
Definition at line 88 of file dir-ops.h.
Referenced by get_dirlist().
|
static |
Definition at line 149 of file dir-ops.cc.
References octave_name_max_wrapper().
bool dir_entry::open | ( | const std::string & | n = "" | ) |
Definition at line 54 of file dir-ops.cc.
References close(), dir_exists(), n, octave_opendir_wrapper(), and octave::sys::file_ops::tilde_expand().
string_vector dir_entry::read | ( | ) |
Definition at line 91 of file dir-ops.cc.
References octave_readdir_wrapper(), ok(), u8_from_wstring(), and u8_to_wstring().
Referenced by get_dirlist().