Classes | Public Types | Public Member Functions | Private Attributes

symbol_table::fcn_info Class Reference

#include "symtab.h"

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

List of all members.

Classes

class  fcn_info_rep

Public Types

typedef
dispatch_map_type::const_iterator 
dispatch_map_const_iterator
typedef dispatch_map_type::iterator dispatch_map_iterator
typedef std::map< std::string,
std::string > 
dispatch_map_type
typedef std::map< scope_id,
octave_value >::const_iterator 
scope_val_const_iterator
typedef std::map< scope_id,
octave_value >::iterator 
scope_val_iterator
typedef std::map< std::string,
octave_value >::const_iterator 
str_val_const_iterator
typedef std::map< std::string,
octave_value >::iterator 
str_val_iterator

Public Member Functions

 fcn_info (const std::string &nm=std::string())
 fcn_info (const fcn_info &fi)
 ~fcn_info (void)
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_dispatch (const std::string &type)
void clear_mex_function (void)
void clear_user_function (void)
void dump (std::ostream &os, const std::string &prefix=std::string()) const
void erase_subfunction (scope_id scope)
octave_value find (const octave_value_list &args=octave_value_list(), bool local_funcs=true)
octave_value find_autoload (void)
octave_value find_built_in_function (void) const
octave_value find_cmdline_function (void) const
octave_value find_function (const octave_value_list &args=octave_value_list(), bool local_funcs=true)
octave_value find_method (const std::string &dispatch_type) const
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
void lock_subfunction (scope_id scope)
void mark_subfunction_in_scope_as_private (scope_id scope, const std::string &class_name)
fcn_infooperator= (const fcn_info &fi)
void print_dispatch (std::ostream &os) const
std::pair< std::string,
octave_value
subfunction_defined_in_scope (scope_id scope=xcurrent_scope) const
void unlock_subfunction (scope_id scope)

Private Attributes

fcn_info_reprep

Detailed Description

Definition at line 518 of file symtab.h.


Member Typedef Documentation

typedef dispatch_map_type::const_iterator symbol_table::fcn_info::dispatch_map_const_iterator

Definition at line 531 of file symtab.h.

typedef dispatch_map_type::iterator symbol_table::fcn_info::dispatch_map_iterator

Definition at line 532 of file symtab.h.

typedef std::map<std::string, std::string> symbol_table::fcn_info::dispatch_map_type

Definition at line 523 of file symtab.h.

Definition at line 525 of file symtab.h.

Definition at line 526 of file symtab.h.

typedef std::map<std::string, octave_value>::const_iterator symbol_table::fcn_info::str_val_const_iterator

Definition at line 528 of file symtab.h.

typedef std::map<std::string, octave_value>::iterator symbol_table::fcn_info::str_val_iterator

Definition at line 529 of file symtab.h.


Constructor & Destructor Documentation

symbol_table::fcn_info::fcn_info ( const std::string &  nm = std::string ()  )  [inline]

Definition at line 749 of file symtab.h.

symbol_table::fcn_info::fcn_info ( const fcn_info fi  )  [inline]

Definition at line 752 of file symtab.h.

symbol_table::fcn_info::~fcn_info ( void   )  [inline]

Definition at line 771 of file symtab.h.


Member Function Documentation

void symbol_table::fcn_info::add_dispatch ( const std::string &  type,
const std::string &  fname 
) [inline]

Definition at line 879 of file symtab.h.

Referenced by symbol_table::add_dispatch().

octave_value symbol_table::fcn_info::builtin_find ( void   )  [inline]

Definition at line 783 of file symtab.h.

Referenced by symbol_table::do_builtin_find().

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

Definition at line 871 of file symtab.h.

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

Definition at line 875 of file symtab.h.

Referenced by symbol_table::clear_dld_function().

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

Definition at line 884 of file symtab.h.

Referenced by symbol_table::clear_dispatch().

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

Definition at line 877 of file symtab.h.

Referenced by symbol_table::clear_mex_functions().

void symbol_table::fcn_info::clear_user_function ( void   )  [inline]
void symbol_table::fcn_info::dump ( std::ostream &  os,
const std::string &  prefix = std::string () 
) const [inline]

Definition at line 902 of file symtab.h.

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

Definition at line 840 of file symtab.h.

octave_value symbol_table::fcn_info::find ( const octave_value_list args = octave_value_list (),
bool  local_funcs = true 
) [inline]
octave_value symbol_table::fcn_info::find_autoload ( void   )  [inline]

Definition at line 803 of file symtab.h.

octave_value symbol_table::fcn_info::find_built_in_function ( void   )  const [inline]

Definition at line 793 of file symtab.h.

octave_value symbol_table::fcn_info::find_cmdline_function ( void   )  const [inline]

Definition at line 798 of file symtab.h.

octave_value symbol_table::fcn_info::find_function ( const octave_value_list args = octave_value_list (),
bool  local_funcs = true 
) [inline]

Definition at line 818 of file symtab.h.

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

Definition at line 808 of file symtab.h.

dispatch_map_type symbol_table::fcn_info::get_dispatch ( void   )  const [inline]

Definition at line 896 of file symtab.h.

Referenced by symbol_table::get_dispatch().

std::string symbol_table::fcn_info::help_for_dispatch ( void   )  const [inline]

Definition at line 894 of file symtab.h.

Referenced by symbol_table::help_for_dispatch().

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

Definition at line 851 of file symtab.h.

Referenced by symbol_table::install_cmdline_function().

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

Definition at line 856 of file symtab.h.

Referenced by symbol_table::install_subfunction().

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

Definition at line 861 of file symtab.h.

Referenced by symbol_table::install_user_function().

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

Definition at line 813 of file symtab.h.

void symbol_table::fcn_info::lock_subfunction ( scope_id  scope  )  [inline]

Definition at line 824 of file symtab.h.

void symbol_table::fcn_info::mark_subfunction_in_scope_as_private ( scope_id  scope,
const std::string &  class_name 
) [inline]

Definition at line 845 of file symtab.h.

fcn_info& symbol_table::fcn_info::operator= ( const fcn_info fi  )  [inline]

Definition at line 757 of file symtab.h.

References symbol_table::fcn_info::fcn_info_rep::count, and rep.

void symbol_table::fcn_info::print_dispatch ( std::ostream &  os  )  const [inline]

Definition at line 889 of file symtab.h.

Referenced by symbol_table::print_dispatch().

std::pair<std::string, octave_value> symbol_table::fcn_info::subfunction_defined_in_scope ( scope_id  scope = xcurrent_scope  )  const [inline]

Definition at line 835 of file symtab.h.

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

Definition at line 829 of file symtab.h.


Member Data Documentation

Definition at line 909 of file symtab.h.

Referenced by operator=().


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