GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
dirfns.cc File Reference
#include <cerrno>
#include <cstdio>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include "file-ops.h"
#include "file-stat.h"
#include "glob-match.h"
#include "oct-env.h"
#include "pathsearch.h"
#include "str-vec.h"
#include "Cell.h"
#include "defun.h"
#include "dir-ops.h"
#include "dirfns.h"
#include "error.h"
#include "gripes.h"
#include "input.h"
#include "load-path.h"
#include "octave-link.h"
#include "oct-obj.h"
#include "pager.h"
#include "procstream.h"
#include "sysdep.h"
#include "toplev.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
Include dependency graph for dirfns.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Fcd (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Fconfirm_recursive_rmdir (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Ffilesep (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Ffnmatch (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Fglob (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Flink (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Fmkdir (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Fpathsep (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Fpwd (const octave_value_list &, int)
OCTAVE_EXPORT octave_value_list Freaddir (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Freadlink (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frename (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frmdir (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Fsymlink (const octave_value_list &args, int)
static int octave_change_to_directory (const std::string &newdir)

Variables

static bool Vconfirm_recursive_rmdir = true
octave_time Vlast_chdir_time = 0.0

Function Documentation

OCTAVE_EXPORT octave_value_list Fcd ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Fconfirm_recursive_rmdir ( const octave_value_list args,
int  nargout 
)

Definition at line 799 of file dirfns.cc.

References SET_INTERNAL_VARIABLE.

Referenced by maximum_braindamage().

OCTAVE_EXPORT octave_value_list Ffilesep ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Ffnmatch ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fglob ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Flink ( const octave_value_list args,
int   
)

Definition at line 391 of file dirfns.cc.

References error_state, gripe_wrong_type_arg(), octave_link(), and print_usage().

Referenced by install_dirfns_fcns().

OCTAVE_EXPORT octave_value_list Fmkdir ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fpathsep ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Fpwd ( const octave_value_list ,
int   
)

Definition at line 163 of file dirfns.cc.

References octave_env::get_current_directory(), and octave_value().

OCTAVE_EXPORT octave_value_list Freaddir ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Freadlink ( const octave_value_list args,
int   
)

Definition at line 486 of file dirfns.cc.

References error_state, gripe_wrong_type_arg(), octave_readlink(), and print_usage().

Referenced by install_dirfns_fcns().

OCTAVE_EXPORT octave_value_list Frename ( const octave_value_list args,
int   
)

Definition at line 529 of file dirfns.cc.

References error_state, gripe_wrong_type_arg(), octave_rename(), and print_usage().

Referenced by install_dirfns_fcns().

OCTAVE_EXPORT octave_value_list Frmdir ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fsymlink ( const octave_value_list args,
int   
)

Definition at line 438 of file dirfns.cc.

References error_state, gripe_wrong_type_arg(), octave_symlink(), and print_usage().

Referenced by install_dirfns_fcns().

static int octave_change_to_directory ( const std::string &  newdir)
static

Variable Documentation

bool Vconfirm_recursive_rmdir = true
static

Definition at line 66 of file dirfns.cc.

octave_time Vlast_chdir_time = 0.0

Definition at line 69 of file dirfns.cc.

Referenced by out_of_date_check().