Functions | Variables

symtab.cc File Reference

#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "singleton-cleanup.h"
#include "debug.h"
#include "defun.h"
#include "dirfns.h"
#include "input.h"
#include "load-path.h"
#include "ov-fcn.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pt-arg-list.h"
#include "symtab.h"
#include "unwind-prot.h"
#include "utils.h"
Include dependency graph for symtab.cc:

Go to the source code of this file.

Functions

static builtin_type_t(* build_sup_table (void))[btyp_num_types]
 DEFUN (__current_scope__,,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {[@var{scope}, @var{context}]} __dump_symtab_info__ ()\n\ Undocumented internal function.\n\ @end deftypefn")
 DEFUN (__dump_symtab_info__, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} __dump_symtab_info__ ()\n\ @deftypefnx {Built-in Function} {} __dump_symtab_info__ (@var{scope})\n\ @deftypefnx {Built-in Function} {} __dump_symtab_info__ (\"scopes\")\n\ @deftypefnx {Built-in Function} {} __dump_symtab_info__ (\"functions\")\n\ Undocumented internal function.\n\ @end deftypefn")
 DEFUN (ignore_function_time_stamp, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} ignore_function_time_stamp ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} ignore_function_time_stamp (@var{new_val})\n\ Query or set the internal variable that controls whether Octave checks\n\ the time stamp on files each time it looks up functions defined in\n\ function files. If the internal variable is set to @code{\"system\"},\n\ Octave will not automatically recompile function files in subdirectories of\n\ @file{@var{octave-home}/lib/@var{version}} if they have changed since\n\ they were last compiled, but will recompile other function files in the\n\ search path if they change. If set to @code{\"all\"}, Octave will not\n\ recompile any function files unless their definitions are removed with\n\ @code{clear}. If set to \"none\", Octave will always check time stamps\n\ on files to determine whether functions defined in function files\n\ need to recompiled.\n\ @end deftypefn")
static std::string fcn_file_name (const octave_value &fcn)
std::string get_dispatch_type (const octave_value_list &args)
std::string get_dispatch_type (const octave_value_list &args, builtin_type_t &builtin_type)
static bool load_out_of_date_fcn (const std::string &ff, const std::string &dir_name, octave_value &function, const std::string &dispatch_type=std::string())
bool out_of_date_check (octave_value &function, const std::string &dispatch_type, bool check_relative)

Variables

static int Vignore_function_time_stamp = 1

Function Documentation

static builtin_type_t(* build_sup_table ( void   )  )[btyp_num_types] [static]
DEFUN ( __current_scope__   ) 

Definition at line 1541 of file symtab.cc.

References symbol_table::current_context(), and symbol_table::current_scope().

DEFUN ( __dump_symtab_info__  ,
args   
)
DEFUN ( ignore_function_time_stamp  ,
args  ,
nargout   
)

Definition at line 1459 of file symtab.cc.

References error(), error_state, print_usage(), and octave_value::string_value().

static std::string fcn_file_name ( const octave_value fcn  )  [static]
std::string get_dispatch_type ( const octave_value_list args  ) 

Definition at line 575 of file symtab.cc.

References get_dispatch_type().

std::string get_dispatch_type ( const octave_value_list args,
builtin_type_t builtin_type 
)
static bool load_out_of_date_fcn ( const std::string &  ff,
const std::string &  dir_name,
octave_value function,
const std::string &  dispatch_type = std::string () 
) [inline, static]

Definition at line 149 of file symtab.cc.

References load_fcn_from_file(), and octave_value().

Referenced by out_of_date_check().

bool out_of_date_check ( octave_value function,
const std::string &  dispatch_type,
bool  check_relative 
)

Variable Documentation

Definition at line 71 of file symtab.cc.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines