GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
symbol_table::fcn_info::fcn_info_rep Class Reference
Collaboration diagram for symbol_table::fcn_info::fcn_info_rep:
Collaboration graph

Public Member Functions

 fcn_info_rep (const std::string &nm)
void add_dispatch (const std::string &type, const std::string &fname)
octave_value builtin_find (void)
void clear (bool force=false)
void clear_autoload_function (bool force=false)
void clear_dispatch (const std::string &type)
template<class 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)
void dump (std::ostream &os, const std::string &prefix) const
void erase_subfunction (scope_id scope)
octave_value find (const octave_value_list &args, bool local_funcs)
octave_value find_autoload (void)
octave_value find_function (const octave_value_list &args, bool local_funcs)
octave_value find_method (const std::string &dispatch_type)
octave_value find_package (void)
octave_value find_user_function (void)
std::string full_name (void) const
dispatch_map_type get_dispatch (void) const
std::string help_for_dispatch (void) const
void install_built_in_function (const octave_value &f)
void install_cmdline_function (const octave_value &f)
void install_subfunction (const octave_value &f, scope_id scope)
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)
void lock_subfunction (scope_id scope)
void mark_subfunction_in_scope_as_private (scope_id scope, const std::string &class_name)
void print_dispatch (std::ostream &os) const
std::pair< std::string,
subfunction_defined_in_scope (scope_id scope) const
void unlock_subfunction (scope_id scope)

Public Attributes

octave_value autoload_function
octave_value built_in_function
std::map< std::string,
std::map< std::string,
octave_value cmdline_function
octave_refcount< size_tcount
dispatch_map_type dispatch_map
octave_value function_on_path
std::string name
octave_value package
std::string package_name
std::map< std::string,
std::map< scope_id, octave_valuesubfunctions

Private Member Functions

 fcn_info_rep (const fcn_info_rep &)
fcn_info_repoperator= (const fcn_info_rep &)
octave_value x_builtin_find (void)
octave_value xfind (const octave_value_list &args, bool local_funcs)

Detailed Description

Definition at line 753 of file symtab.h.

Constructor & Destructor Documentation

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

Definition at line 758 of file symtab.h.

symbol_table::fcn_info::fcn_info_rep::fcn_info_rep ( const fcn_info_rep )

Member Function Documentation

void symbol_table::fcn_info::fcn_info_rep::add_dispatch ( const std::string &  type,
const std::string &  fname 

Definition at line 914 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::builtin_find ( void  )

Definition at line 896 of file

References octave_value::is_defined(), and load_path::update().

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

Definition at line 902 of file symtab.h.

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

Definition at line 874 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::clear_dispatch ( const std::string &  type)

Definition at line 919 of file symtab.h.

template<class T >
void symbol_table::fcn_info::fcn_info_rep::clear_map ( std::map< T, octave_value > &  map,
bool  force = false 

Definition at line 861 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::clear_mex_function ( void  )

Definition at line 891 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::clear_package ( void  )

Definition at line 897 of file symtab.h.

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

Definition at line 882 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::dump ( std::ostream &  os,
const std::string &  prefix 
) const

Definition at line 1171 of file

References fcn_file_name().

void symbol_table::fcn_info::fcn_info_rep::erase_subfunction ( scope_id  scope)

Definition at line 828 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::find ( const octave_value_list args,
bool  local_funcs 

Definition at line 693 of file

References error_state, octave_value::is_defined(), and load_path::update().

octave_value symbol_table::fcn_info::fcn_info_rep::find_autoload ( void  )
octave_value symbol_table::fcn_info::fcn_info_rep::find_function ( const octave_value_list args,
bool  local_funcs 

Definition at line 796 of file symtab.h.

References find().

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

Definition at line 1005 of file

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

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

Definition at line 1099 of file

References error_state, and cdef_manager::find_package_symbol().

octave_value symbol_table::fcn_info::fcn_info_rep::find_user_function ( void  )
std::string symbol_table::fcn_info::fcn_info_rep::full_name ( void  ) const

Definition at line 935 of file symtab.h.

dispatch_map_type symbol_table::fcn_info::fcn_info_rep::get_dispatch ( void  ) const

Definition at line 931 of file symtab.h.

std::string symbol_table::fcn_info::fcn_info_rep::help_for_dispatch ( void  ) const

Definition at line 565 of file

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

Definition at line 854 of file symtab.h.

References f.

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

Definition at line 839 of file symtab.h.

References f.

void symbol_table::fcn_info::fcn_info_rep::install_subfunction ( const octave_value f,
scope_id  scope 

Definition at line 844 of file symtab.h.

References f.

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

Definition at line 849 of file symtab.h.

References f.

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

Definition at line 791 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::load_class_constructor ( void  )
octave_value symbol_table::fcn_info::fcn_info_rep::load_class_method ( const std::string &  dispatch_type)
octave_value symbol_table::fcn_info::fcn_info_rep::load_private_function ( const std::string &  dir_name)
void symbol_table::fcn_info::fcn_info_rep::lock_subfunction ( scope_id  scope)

Definition at line 802 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::mark_subfunction_in_scope_as_private ( scope_id  scope,
const std::string &  class_name 
fcn_info_rep& symbol_table::fcn_info::fcn_info_rep::operator= ( const fcn_info_rep )
void symbol_table::fcn_info::fcn_info_rep::print_dispatch ( std::ostream &  os) const

Definition at line 547 of file

std::pair<std::string, octave_value> symbol_table::fcn_info::fcn_info_rep::subfunction_defined_in_scope ( scope_id  scope) const

Definition at line 819 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::unlock_subfunction ( scope_id  scope)

Definition at line 810 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::x_builtin_find ( void  )
octave_value symbol_table::fcn_info::fcn_info_rep::xfind ( const octave_value_list args,
bool  local_funcs 

Member Data Documentation

octave_value symbol_table::fcn_info::fcn_info_rep::autoload_function

Definition at line 964 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::built_in_function

Definition at line 970 of file symtab.h.

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

Definition at line 954 of file symtab.h.

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

Definition at line 957 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::cmdline_function

Definition at line 962 of file symtab.h.

octave_refcount<size_t> symbol_table::fcn_info::fcn_info_rep::count

Definition at line 972 of file symtab.h.

Referenced by symbol_table::fcn_info::operator=().

dispatch_map_type symbol_table::fcn_info::fcn_info_rep::dispatch_map

Definition at line 960 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::function_on_path

Definition at line 966 of file symtab.h.

std::string symbol_table::fcn_info::fcn_info_rep::name

Definition at line 943 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::package

Definition at line 968 of file symtab.h.

std::string symbol_table::fcn_info::fcn_info_rep::package_name

Definition at line 945 of file symtab.h.

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

Definition at line 951 of file symtab.h.

std::map<scope_id, octave_value> symbol_table::fcn_info::fcn_info_rep::subfunctions

Definition at line 948 of file symtab.h.

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