GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fcn-info.cc File Reference
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "defun.h"
#include "fcn-info.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "ov-fcn.h"
#include "ov-usr-fcn.h"
#include "parse.h"
#include "symscope.h"
#include "symtab.h"
#include "utils.h"
Include dependency graph for fcn-info.cc:

Go to the source code of this file.

Functions

static builtin_type_t(* build_sup_table (void))[btyp_num_types]
 
octave_value dump_function_map (const std::map< std::string, octave_value > &fcn_map)
 
OCTAVE_EXPORT octave_value_list Fignore_function_time_stamp (const octave_value_list &args, int nargout)
 
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 &file_name, const std::string &dir_name_arg, octave_value &function, const std::string &dispatch_type="", const std::string &package_name="")
 
static bool out_of_date_check (octave_value &function, const std::string &dispatch_type="", bool check_relative=true)
 
static void split_name_with_package (const std::string &name, std::string &fname, std::string &pname)
 

Variables

static int Vignore_function_time_stamp = 1
 

Function Documentation

◆ build_sup_table()

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

◆ dump_function_map()

octave_value dump_function_map ( const std::map< std::string, octave_value > &  fcn_map)

Definition at line 1120 of file fcn-info.cc.

References octave_value::dump(), and octave_value().

Referenced by fcn_info::fcn_info_rep::dump(), and symbol_scope_rep::dump().

◆ Fignore_function_time_stamp()

OCTAVE_EXPORT octave_value_list Fignore_function_time_stamp ( const octave_value_list args,
int  nargout 
)

◆ get_dispatch_type() [1/2]

std::string get_dispatch_type ( const octave_value_list args)

Definition at line 330 of file fcn-info.cc.

References get_dispatch_type().

◆ get_dispatch_type() [2/2]

◆ load_out_of_date_fcn()

static bool load_out_of_date_fcn ( const std::string &  file_name,
const std::string &  dir_name_arg,
octave_value function,
const std::string &  dispatch_type = "",
const std::string &  package_name = "" 
)
inlinestatic

◆ out_of_date_check()

◆ split_name_with_package()

static void split_name_with_package ( const std::string &  name,
std::string &  fname,
std::string &  pname 
)
static

Definition at line 377 of file fcn-info.cc.

Referenced by out_of_date_check().

Variable Documentation

◆ Vignore_function_time_stamp

int Vignore_function_time_stamp = 1
static

Definition at line 48 of file fcn-info.cc.

Referenced by Fignore_function_time_stamp(), and out_of_date_check().