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
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<class T >
void clear_map (std::map< T, octave_value > &map, bool force=false)
void clear_mex_function (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_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_tcount
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 753 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 758 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 897 of file symtab.h.

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

Definition at line 815 of file symtab.cc.

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

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

Definition at line 886 of file symtab.h.

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

Definition at line 863 of file symtab.h.

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

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

Definition at line 850 of file symtab.h.

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

Definition at line 880 of file symtab.h.

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

Definition at line 871 of file symtab.h.

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

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

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

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

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

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

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

Definition at line 491 of file symtab.cc.

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

Definition at line 843 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 828 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 833 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 838 of file symtab.h.

References f.

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

Definition at line 780 of file symtab.h.

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

Definition at line 380 of file symtab.cc.

References symbol_table::find_method(), load_fcn_from_file(), and octave_value().

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

Definition at line 473 of file symtab.cc.

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

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

Definition at line 799 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

octave_value symbol_table::fcn_info::fcn_info_rep::autoload_function

Definition at line 937 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::built_in_function

Definition at line 941 of file symtab.h.

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

Definition at line 927 of file symtab.h.

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

Definition at line 930 of file symtab.h.

octave_value symbol_table::fcn_info::fcn_info_rep::cmdline_function

Definition at line 935 of file symtab.h.

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

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

octave_value symbol_table::fcn_info::fcn_info_rep::function_on_path

Definition at line 939 of file symtab.h.

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

Definition at line 918 of file symtab.h.

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

Definition at line 924 of file symtab.h.

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

Definition at line 921 of file symtab.h.


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