GNU Octave  4.2.1
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
[legend]

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<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)
 
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,
octave_value
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,
octave_value
class_constructors
 
std::map< std::string,
octave_value
class_methods
 
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,
octave_value
private_functions
 
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 751 of file symtab.h.

Constructor & Destructor Documentation

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

Definition at line 756 of file symtab.h.

References name.

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

Member Function Documentation

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

Definition at line 914 of file symtab.h.

References fname, and type.

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

Definition at line 903 of file symtab.cc.

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

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

Definition at line 902 of file symtab.h.

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

Definition at line 872 of file symtab.h.

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

Definition at line 919 of file symtab.h.

References p.

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

Definition at line 859 of file symtab.h.

References p.

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

Definition at line 891 of file symtab.h.

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

Definition at line 897 of file symtab.h.

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

Definition at line 880 of file symtab.h.

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

Definition at line 1176 of file symtab.cc.

References fcn_file_name(), p, and string.

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

Definition at line 826 of file symtab.h.

References p.

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

Definition at line 700 of file symtab.cc.

References octave_value::is_undefined(), retval, 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 
)
inline

Definition at line 794 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 1012 of file symtab.cc.

References fval, octave_value::is_defined(), out_of_date_check(), retval, and val.

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

Definition at line 1104 of file symtab.cc.

References fcn, 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
inline

Definition at line 935 of file symtab.h.

References name.

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

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 572 of file symtab.cc.

References p, retval, and string.

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

Definition at line 852 of file symtab.h.

References f.

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

Definition at line 837 of file symtab.h.

References f.

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

Definition at line 842 of file symtab.h.

References f.

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

Definition at line 847 of file symtab.h.

References f.

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

Definition at line 789 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)
inline

Definition at line 800 of file symtab.h.

References p.

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 )
private
void symbol_table::fcn_info::fcn_info_rep::print_dispatch ( std::ostream &  os) const

Definition at line 554 of file symtab.cc.

References name, and p.

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

Definition at line 817 of file symtab.h.

References name, and p.

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

Definition at line 808 of file symtab.h.

References p.

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

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: