Public Member Functions | Public Attributes | Private Member Functions

symbol_table::fcn_info::fcn_info_rep Class Reference

Collaboration diagram for symbol_table::fcn_info::fcn_info_rep:
Collaboration graph
[legend]

List of all members.

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 (void)
void clear_autoload_function (void)
void clear_cmdline_function (void)
void clear_dispatch (const std::string &type)
void clear_mex_function (void)
template<class T >
void clear_unlocked (std::map< T, octave_value > &map)
void clear_user_function (void)
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_user_function (void)
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_t > count
dispatch_map_type dispatch_map
octave_value function_on_path
std::string 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 536 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 541 of file symtab.h.

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 686 of file symtab.h.

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

Definition at line 812 of file symtab.cc.

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

void symbol_table::fcn_info::fcn_info_rep::clear ( void   )  [inline]

Definition at line 675 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::clear_autoload_function ( void   )  [inline]

Definition at line 651 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::clear_cmdline_function ( void   )  [inline]

Definition at line 645 of file symtab.h.

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

Definition at line 691 of file symtab.h.

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

Definition at line 669 of file symtab.h.

template<class T >
void symbol_table::fcn_info::fcn_info_rep::clear_unlocked ( std::map< T, octave_value > &  map  )  [inline]

Definition at line 632 of file symtab.h.

void symbol_table::fcn_info::fcn_info_rep::clear_user_function ( void   )  [inline]

Definition at line 659 of file symtab.h.

References octave_value::erase_subfunctions(), and octave_value().

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

Definition at line 1088 of file symtab.cc.

References fcn_file_name().

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

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

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

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 568 of file symtab.h.

References find().

Referenced by xfind().

octave_value symbol_table::fcn_info::fcn_info_rep::find_method ( const std::string &  dispatch_type  ) 
octave_value symbol_table::fcn_info::fcn_info_rep::find_user_function ( void   ) 
dispatch_map_type symbol_table::fcn_info::fcn_info_rep::get_dispatch ( void   )  const [inline]

Definition at line 703 of file symtab.h.

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

Definition at line 473 of file symtab.cc.

References dispatch_map.

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

Definition at line 625 of file symtab.h.

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

Definition at line 610 of file symtab.h.

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

Definition at line 615 of file symtab.h.

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

Definition at line 620 of file symtab.h.

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

Definition at line 563 of file symtab.h.

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

Definition at line 362 of file symtab.cc.

References class_constructors, find_method(), load_fcn_from_file(), name, and octave_value().

Referenced by xfind().

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 573 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 
)

Definition at line 441 of file symtab.cc.

References octave_function::mark_as_private_function().

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

References dispatch_map, and name.

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 590 of file symtab.h.

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

Definition at line 581 of file symtab.h.

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

Definition at line 726 of file symtab.h.

Referenced by find_autoload().

Definition at line 730 of file symtab.h.

Referenced by x_builtin_find(), and xfind().

Definition at line 716 of file symtab.h.

Referenced by load_class_constructor(), and xfind().

Definition at line 719 of file symtab.h.

Referenced by find_method().

Definition at line 724 of file symtab.h.

Referenced by x_builtin_find(), and xfind().

Definition at line 732 of file symtab.h.

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

Definition at line 722 of file symtab.h.

Referenced by help_for_dispatch(), print_dispatch(), and xfind().

Definition at line 728 of file symtab.h.

Referenced by find_user_function().

Definition at line 713 of file symtab.h.

Referenced by x_builtin_find(), and xfind().

Definition at line 710 of file symtab.h.

Referenced by x_builtin_find(), and xfind().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines