GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fcn_info Class Reference

#include "fcn-info.h"

Public Types

typedef std::map< std::string, octave_value >::const_iterator str_val_const_iterator
 
typedef std::map< std::string, octave_value >::iterator str_val_iterator
 

Public Member Functions

 fcn_info (const fcn_info &)=default
 
 fcn_info (const std::string &nm="")
 
 ~fcn_info ()=default
 
octave_value builtin_find (const symbol_scope &search_scope)
 
void clear (bool force=false)
 
void clear_autoload_function (bool force=false)
 
void clear_mex_function ()
 
void clear_user_function (bool force=false)
 
octave_value dump () const
 
octave_value find (const symbol_scope &search_scope, const octave_value_list &args=octave_value_list())
 
octave_value find_autoload ()
 
octave_value find_built_in_function () const
 
octave_value find_cmdline_function () const
 
octave_value find_function (const symbol_scope &search_scope, const octave_value_list &args=octave_value_list())
 
octave_value find_method (const std::string &dispatch_type) const
 
octave_value find_private_function (const std::string &dir_name) const
 
octave_value find_scoped_function (const symbol_scope &search_scope) const
 
octave_value find_user_function ()
 
void install_built_in_dispatch (const std::string &klass)
 
void install_built_in_function (const octave_value &f)
 
void install_cmdline_function (const octave_value &f)
 
void install_local_function (const octave_value &f, const std::string &file_name)
 
void install_user_function (const octave_value &f)
 
bool is_user_function_defined () const
 
fcn_infooperator= (const fcn_info &)=default
 

Detailed Description

Definition at line 42 of file fcn-info.h.

Member Typedef Documentation

◆ str_val_const_iterator

typedef std::map<std::string, octave_value>::const_iterator fcn_info::str_val_const_iterator

Definition at line 47 of file fcn-info.h.

◆ str_val_iterator

typedef std::map<std::string, octave_value>::iterator fcn_info::str_val_iterator

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

Constructor & Destructor Documentation

◆ fcn_info() [1/2]

fcn_info::fcn_info ( const std::string &  nm = "")
inline

Definition at line 239 of file fcn-info.h.

◆ fcn_info() [2/2]

fcn_info::fcn_info ( const fcn_info )
default

◆ ~fcn_info()

fcn_info::~fcn_info ( )
default

Member Function Documentation

◆ builtin_find()

octave_value fcn_info::builtin_find ( const symbol_scope search_scope)
inline

Definition at line 255 of file fcn-info.h.

Referenced by symbol_table::builtin_find().

◆ clear()

void fcn_info::clear ( bool  force = false)
inline

Definition at line 334 of file fcn-info.h.

◆ clear_autoload_function()

void fcn_info::clear_autoload_function ( bool  force = false)
inline

Definition at line 341 of file fcn-info.h.

Referenced by symbol_table::clear_dld_function().

◆ clear_mex_function()

void fcn_info::clear_mex_function ( )
inline

Definition at line 346 of file fcn-info.h.

◆ clear_user_function()

void fcn_info::clear_user_function ( bool  force = false)
inline

◆ dump()

octave_value fcn_info::dump ( ) const
inline

Definition at line 348 of file fcn-info.h.

References octave_value::dump().

Referenced by F__dump_symtab_info__().

◆ find()

octave_value fcn_info::find ( const symbol_scope search_scope,
const octave_value_list args = octave_value_list () 
)
inline

Definition at line 248 of file fcn-info.h.

Referenced by symbol_table::fcn_table_find().

◆ find_autoload()

octave_value fcn_info::find_autoload ( )
inline

Definition at line 285 of file fcn-info.h.

Referenced by symbol_table::find_autoload().

◆ find_built_in_function()

octave_value fcn_info::find_built_in_function ( ) const
inline

Definition at line 275 of file fcn-info.h.

Referenced by symbol_table::find_built_in_function().

◆ find_cmdline_function()

octave_value fcn_info::find_cmdline_function ( ) const
inline

Definition at line 280 of file fcn-info.h.

Referenced by symbol_table::find_cmdline_function().

◆ find_function()

octave_value fcn_info::find_function ( const symbol_scope search_scope,
const octave_value_list args = octave_value_list () 
)
inline

Definition at line 302 of file fcn-info.h.

◆ find_method()

octave_value fcn_info::find_method ( const std::string &  dispatch_type) const
inline

Definition at line 270 of file fcn-info.h.

Referenced by symbol_table::find_method().

◆ find_private_function()

octave_value fcn_info::find_private_function ( const std::string &  dir_name) const
inline

Definition at line 265 of file fcn-info.h.

Referenced by symbol_table::find_private_function().

◆ find_scoped_function()

octave_value fcn_info::find_scoped_function ( const symbol_scope search_scope) const
inline

Definition at line 260 of file fcn-info.h.

Referenced by symbol_table::find_scoped_function().

◆ find_user_function()

octave_value fcn_info::find_user_function ( )
inline

Definition at line 291 of file fcn-info.h.

Referenced by symbol_table::find_user_function().

◆ install_built_in_dispatch()

void fcn_info::install_built_in_dispatch ( const std::string &  klass)
inline

Definition at line 329 of file fcn-info.h.

Referenced by symbol_table::install_built_in_dispatch().

◆ install_built_in_function()

void fcn_info::install_built_in_function ( const octave_value f)
inline

Definition at line 324 of file fcn-info.h.

References f.

Referenced by symbol_table::alias_built_in_function(), and symbol_table::install_built_in_function().

◆ install_cmdline_function()

void fcn_info::install_cmdline_function ( const octave_value f)
inline

Definition at line 308 of file fcn-info.h.

References f.

Referenced by symbol_table::install_cmdline_function().

◆ install_local_function()

void fcn_info::install_local_function ( const octave_value f,
const std::string &  file_name 
)
inline

Definition at line 313 of file fcn-info.h.

References f.

Referenced by symbol_table::install_local_function().

◆ install_user_function()

void fcn_info::install_user_function ( const octave_value f)
inline

Definition at line 319 of file fcn-info.h.

References f.

Referenced by symbol_table::install_user_function().

◆ is_user_function_defined()

bool fcn_info::is_user_function_defined ( ) const
inline

Definition at line 296 of file fcn-info.h.

◆ operator=()

fcn_info& fcn_info::operator= ( const fcn_info )
default

The documentation for this class was generated from the following file: