GNU Octave  3.8.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
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
symbol_table::fcn_info Class Reference

#include "symtab.h"

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

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 (bool force=false)
void clear_autoload_function (bool force=false)
void clear_dispatch (const std::string &type)
void clear_mex_function (void)
void clear_user_function (bool force=false)
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 733 of file symtab.h.

Member Typedef Documentation

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

Definition at line 748 of file symtab.h.

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

Definition at line 749 of file symtab.h.

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

Definition at line 738 of file symtab.h.

Definition at line 741 of file symtab.h.

Definition at line 742 of file symtab.h.

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

Definition at line 745 of file symtab.h.

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

Definition at line 746 of file symtab.h.

Constructor & Destructor Documentation

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

Definition at line 960 of file symtab.h.

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

Definition at line 963 of file symtab.h.

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

Definition at line 982 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 1097 of file symtab.h.

Referenced by symbol_table::add_dispatch().

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

Definition at line 994 of file symtab.h.

Referenced by symbol_table::do_builtin_find().

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

Definition at line 1083 of file symtab.h.

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

Definition at line 1090 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 1102 of file symtab.h.

Referenced by symbol_table::clear_dispatch().

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

Definition at line 1095 of file symtab.h.

Referenced by symbol_table::clear_mex_functions().

void symbol_table::fcn_info::clear_user_function ( bool  force = false)
inline
void symbol_table::fcn_info::dump ( std::ostream &  os,
const std::string &  prefix = std::string () 
) const
inline

Definition at line 1121 of file symtab.h.

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

Definition at line 1052 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 1014 of file symtab.h.

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

Definition at line 1004 of file symtab.h.

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

Definition at line 1009 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 1029 of file symtab.h.

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

Definition at line 999 of file symtab.h.

Referenced by symbol_table::find_method().

octave_value symbol_table::fcn_info::find_user_function ( void  )
inline

Definition at line 1019 of file symtab.h.

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

Definition at line 1115 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 1112 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 1063 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 1068 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 1073 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 1024 of file symtab.h.

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

Definition at line 1036 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 1057 of file symtab.h.

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

Definition at line 968 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 1107 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 1047 of file symtab.h.

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

Definition at line 1041 of file symtab.h.

Member Data Documentation

fcn_info_rep* symbol_table::fcn_info::rep
private

Definition at line 1128 of file symtab.h.

Referenced by operator=().


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