GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::fcn_info::fcn_info_rep Class Reference
Collaboration diagram for octave::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]

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

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

References name, and package_name.

◆ fcn_info_rep() [2/2]

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

◆ ~fcn_info_rep()

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

Member Function Documentation

◆ builtin_find()

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

◆ clear()

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

◆ clear_autoload_function()

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

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

References autoload_function, octave_value::islocked(), and octave_value().

Referenced by clear(), and clear_user_function().

◆ clear_map()

template<typename T >
void octave::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.

Referenced by clear().

◆ clear_mex_function()

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

◆ clear_package()

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

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

Referenced by clear().

◆ clear_user_function()

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

◆ dump()

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

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

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

◆ find()

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

◆ find_autoload()

◆ find_function()

octave_value octave::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 octave::fcn_info::fcn_info_rep::find_method ( const octave_value_list args)

◆ find_method() [2/2]

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

◆ find_package()

octave_value octave::fcn_info::fcn_info_rep::find_package ( void  )

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

References octave::__get_cdef_manager__().

◆ find_private_function()

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

◆ find_scoped_function()

◆ find_user_function()

octave_value octave::fcn_info::fcn_info_rep::find_user_function ( void  )

◆ full_name()

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

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

References name, and package_name.

◆ install_built_in_dispatch()

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

◆ install_built_in_function()

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

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

References built_in_function, and octave::f().

◆ install_cmdline_function()

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

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

References cmdline_function, and octave::f().

◆ install_local_function() [1/2]

void octave::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 octave::f(), and local_functions.

◆ install_local_function() [2/2]

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

◆ install_user_function()

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

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

References octave::f(), and function_on_path.

◆ is_user_function_defined()

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

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

References function_on_path, and octave_value::is_defined().

◆ load_class_constructor()

◆ load_class_method()

◆ load_private_function()

◆ operator=()

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

◆ x_builtin_find()

◆ xfind()

Member Data Documentation

◆ autoload_function

octave_value octave::fcn_info::fcn_info_rep::autoload_function

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

Referenced by clear_autoload_function().

◆ built_in_function

octave_value octave::fcn_info::fcn_info_rep::built_in_function

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

Referenced by install_built_in_function().

◆ class_constructors

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

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

Referenced by clear().

◆ class_methods

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

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

Referenced by clear().

◆ cmdline_function

octave_value octave::fcn_info::fcn_info_rep::cmdline_function

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

Referenced by clear_user_function(), and install_cmdline_function().

◆ function_on_path

octave_value octave::fcn_info::fcn_info_rep::function_on_path

◆ local_functions

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

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

Referenced by clear(), and install_local_function().

◆ name

std::string octave::fcn_info::fcn_info_rep::name

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

Referenced by fcn_info_rep(), full_name(), and load_private_function().

◆ package

octave_value octave::fcn_info::fcn_info_rep::package

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

◆ package_name

std::string octave::fcn_info::fcn_info_rep::package_name

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

Referenced by fcn_info_rep(), and full_name().

◆ private_functions

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

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

Referenced by clear(), and load_private_function().


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