GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include <sstream>
#include <vector>
#include "file-ops.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "input.h"
#include "oct-hdf5.h"
#include "oct-map.h"
#include "ov-base.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "pr-output.h"
#include "pt-pr-code.h"
#include "pt-misc.h"
#include "pt-stmt.h"
#include "pt-cmd.h"
#include "pt-exp.h"
#include "pt-assign.h"
#include "pt-arg-list.h"
#include "variables.h"
#include "parse.h"
#include "unwind-prot.h"
#include "defaults.h"
#include "file-stat.h"
#include "load-path.h"
#include "oct-env.h"
#include "byte-swap.h"
#include "ls-ascii-helper.h"
#include "ls-hdf5.h"
#include "ls-oct-ascii.h"
#include "ls-oct-binary.h"
#include "ls-utils.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Ffunc2str (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Ffunctions (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fis_function_handle (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstr2func (const octave_value_list &args, int) |
octave_value | make_fcn_handle (const std::string &nm, bool local_funcs) |
OCTAVE_EXPORT octave_value_list Ffunc2str | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1817 of file ov-fcn-handle.cc.
References octave_fcn_handle::anonymous, error(), error_state, octave_fcn_handle::fcn_handle_value(), octave_fcn_handle::fcn_name(), octave_fcn_handle::print_raw(), and print_usage().
OCTAVE_EXPORT octave_value_list Ffunctions | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1718 of file ov-fcn-handle.cc.
References symbol_table::all_variables(), octave_fcn_handle::anonymous, octave_scalar_map::assign(), Array< T >::elem(), error(), error_state, octave_function::fcn_file_name(), octave_fcn_handle::fcn_handle_value(), octave_fcn_handle::fcn_name(), octave_fcn_handle::function_value(), octave_fcn_handle::is_overloaded(), octave_function::is_private_function(), octave_function::is_subfunction(), octave_base_value::is_user_function(), octave_base_value::is_user_script(), octave_function::parent_fcn_name(), octave_fcn_handle::print_raw(), print_usage(), octave_user_function::scope(), octave_scalar_map::setfield(), octave_fcn_handle::user_function_value(), and vars.
OCTAVE_EXPORT octave_value_list Fis_function_handle | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1900 of file ov-fcn-handle.cc.
References octave_value::is_function_handle(), octave_value::length(), and print_usage().
OCTAVE_EXPORT octave_value_list Fstr2func | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1858 of file ov-fcn-handle.cc.
References error(), octave_value::length(), make_fcn_handle(), and print_usage().
octave_value make_fcn_handle | ( | const std::string & | nm, |
bool | local_funcs | ||
) |
Definition at line 1446 of file ov-fcn-handle.cc.
References btyp_class_name, btyp_num_types, error(), f, symbol_table::find_function(), symbol_table::find_method(), octave_value::function_value(), octave_function::is_class_constructor(), octave_function::is_classdef_constructor(), octave_function::is_private_function(), octave_function::is_subfunction(), octave_value::length(), octave_value(), load_path::overloads(), octave_fcn_handle::set_overload(), and load_path::update().
Referenced by Fstr2func().