GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fcn_info::fcn_info_rep Class Reference
Collaboration diagram for fcn_info::fcn_info_rep:

Public Member Functions

 fcn_info_rep (const fcn_info_rep &)=delete
 
 fcn_info_rep (const std::string &nm)
 
 ~fcn_info_rep (void)=default
 
octave_value builtin_find (const symbol_scope &search_scope)
 
void clear (bool force=false)
 
void clear_autoload_function (bool force=false)
 
template<typename T >
void clear_map (std::map< T, octave_value > &map, bool force=false)
 
void clear_mex_function (void)
 
void clear_package (void)
 
void clear_user_function (bool force=false)
 
octave_value dump (void) const
 
octave_value find (const symbol_scope &search_scope, const octave_value_list &args)
 
octave_value find_autoload (void)
 
octave_value find_function (const symbol_scope &search_scope, const octave_value_list &args)
 
octave_value find_method (const octave_value_list &args)
 
octave_value find_method (const std::string &dispatch_type)
 
octave_value find_package (void)
 
octave_value find_private_function (const std::string &dir_name)
 
octave_value find_scoped_function (const symbol_scope &search_scope)
 
octave_value find_user_function (void)
 
std::string full_name (void) const
 
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)
 
octave_value install_local_function (const std::string &file_name)
 
void install_user_function (const octave_value &f)
 
bool is_user_function_defined (void) const
 
octave_value load_class_constructor (void)
 
octave_value load_class_method (const std::string &dispatch_type)
 
octave_value load_private_function (const std::string &dir_name)
 
fcn_info_repoperator= (const fcn_info_rep &)=delete
 

Public Attributes

octave_value autoload_function
 
octave_value built_in_function
 
std::map< std::string, octave_valueclass_constructors
 
std::map< std::string, octave_valueclass_methods
 
octave_value cmdline_function
 
octave_value function_on_path
 
std::map< std::string, octave_valuelocal_functions
 
std::string name
 
octave_value package
 
std::string package_name
 
std::map< std::string, octave_valueprivate_functions
 

Private Member Functions

octave_value x_builtin_find (const symbol_scope &search_scope)
 
octave_value xfind (const symbol_scope &search_scope, const octave_value_list &args)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ fcn_info_rep() [1/2]

fcn_info::fcn_info_rep::fcn_info_rep ( const std::string &  nm)
inline

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

◆ fcn_info_rep() [2/2]

fcn_info::fcn_info_rep::fcn_info_rep ( const fcn_info_rep )
delete

◆ ~fcn_info_rep()

fcn_info::fcn_info_rep::~fcn_info_rep ( void  )
default

Member Function Documentation

◆ builtin_find()

octave_value fcn_info::fcn_info_rep::builtin_find ( const symbol_scope search_scope)

◆ clear()

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

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

◆ clear_autoload_function()

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

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

References octave_value().

◆ clear_map()

template<typename T >
void fcn_info::fcn_info_rep::clear_map ( std::map< T, octave_value > &  map,
bool  force = false 
)
inline

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

◆ clear_mex_function()

void fcn_info::fcn_info_rep::clear_mex_function ( void  )
inline

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

◆ clear_package()

void fcn_info::fcn_info_rep::clear_package ( void  )
inline

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

◆ clear_user_function()

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

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

References octave_value().

◆ dump()

octave_value fcn_info::fcn_info_rep::dump ( void  ) const

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

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

◆ find()

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

◆ find_autoload()

◆ find_function()

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

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

References find().

◆ find_method() [1/2]

octave_value fcn_info::fcn_info_rep::find_method ( const octave_value_list args)

◆ find_method() [2/2]

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

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

References octave_value::is_defined(), and out_of_date_check().

◆ find_package()

octave_value fcn_info::fcn_info_rep::find_package ( void  )

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

References __get_cdef_manager__().

◆ find_private_function()

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

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

References octave_value::is_defined(), octave_value(), and out_of_date_check().

◆ find_scoped_function()

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

◆ find_user_function()

octave_value fcn_info::fcn_info_rep::find_user_function ( void  )

◆ full_name()

std::string fcn_info::fcn_info_rep::full_name ( void  ) const
inline

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

◆ install_built_in_dispatch()

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

◆ install_built_in_function()

void fcn_info::fcn_info_rep::install_built_in_function ( const octave_value f)
inline

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

References f.

◆ install_cmdline_function()

void fcn_info::fcn_info_rep::install_cmdline_function ( const octave_value f)
inline

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

References f.

◆ install_local_function() [1/2]

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

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

References f.

◆ install_local_function() [2/2]

octave_value fcn_info::fcn_info_rep::install_local_function ( const std::string &  file_name)

◆ install_user_function()

void fcn_info::fcn_info_rep::install_user_function ( const octave_value f)
inline

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

References f.

◆ is_user_function_defined()

bool fcn_info::fcn_info_rep::is_user_function_defined ( void  ) const
inline

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

◆ load_class_constructor()

◆ load_class_method()

◆ load_private_function()

◆ operator=()

fcn_info_rep& fcn_info::fcn_info_rep::operator= ( const fcn_info_rep )
delete

◆ x_builtin_find()

◆ xfind()

octave_value fcn_info::fcn_info_rep::xfind ( const symbol_scope search_scope,
const octave_value_list args 
)
private

Member Data Documentation

◆ autoload_function

octave_value fcn_info::fcn_info_rep::autoload_function

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

◆ built_in_function

octave_value fcn_info::fcn_info_rep::built_in_function

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

◆ class_constructors

std::map<std::string, octave_value> fcn_info::fcn_info_rep::class_constructors

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

◆ class_methods

std::map<std::string, octave_value> fcn_info::fcn_info_rep::class_methods

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

◆ cmdline_function

octave_value fcn_info::fcn_info_rep::cmdline_function

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

◆ function_on_path

octave_value fcn_info::fcn_info_rep::function_on_path

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

◆ local_functions

std::map<std::string, octave_value> fcn_info::fcn_info_rep::local_functions

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

◆ name

std::string fcn_info::fcn_info_rep::name

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

Referenced by load_private_function().

◆ package

octave_value fcn_info::fcn_info_rep::package

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

◆ package_name

std::string fcn_info::fcn_info_rep::package_name

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

◆ private_functions

std::map<std::string, octave_value> fcn_info::fcn_info_rep::private_functions

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

Referenced by load_private_function().


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