GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-shlib.h"
Public Member Functions | |
shlib_rep (void) | |
virtual | ~shlib_rep (void) |
void | add_fcn_name (const std::string &) |
void | do_close_hook (close_hook cl_hook) |
std::string | file_name (void) const |
virtual bool | is_open (void) const |
bool | is_out_of_date (void) const |
size_t | num_fcn_names (void) const |
bool | remove_fcn_name (const std::string &) |
virtual void * | search (const std::string &, name_mangler=0) |
octave_time | time_loaded (void) const |
Static Public Member Functions | |
static shlib_rep * | get_instance (const std::string &f, bool fake) |
static shlib_rep * | new_instance (const std::string &f) |
Public Attributes | |
octave_refcount< int > | count |
Protected Types | |
typedef std::map< std::string, size_t >::const_iterator | fcn_names_const_iterator |
typedef std::map< std::string, size_t >::iterator | fcn_names_iterator |
Protected Member Functions | |
shlib_rep (const std::string &f) | |
void | fake_reload (void) |
Protected Attributes | |
std::map< std::string, size_t > | fcn_names |
std::string | file |
octave_time | tm_loaded |
Static Protected Attributes | |
static std::map< std::string, shlib_rep * > | instances |
Definition at line 42 of file oct-shlib.h.
|
protected |
Definition at line 100 of file oct-shlib.h.
|
protected |
Definition at line 99 of file oct-shlib.h.
|
inline |
Definition at line 46 of file oct-shlib.h.
|
protected |
Definition at line 63 of file oct-shlib.cc.
References f, file, instances, and is_out_of_date().
|
inlinevirtual |
Definition at line 55 of file oct-shlib.h.
void octave_shlib::shlib_rep::add_fcn_name | ( | const std::string & | name | ) |
Definition at line 114 of file oct-shlib.cc.
void octave_shlib::shlib_rep::do_close_hook | ( | octave_shlib::close_hook | cl_hook | ) |
Definition at line 141 of file oct-shlib.cc.
Definition at line 82 of file oct-shlib.cc.
References base_file_stat::is_newer(), and base_file_stat::mtime().
Referenced by get_instance().
|
inline |
Definition at line 76 of file oct-shlib.h.
|
static |
Definition at line 96 of file oct-shlib.cc.
References count, and fake_reload().
Definition at line 60 of file oct-shlib.h.
Definition at line 75 of file oct-shlib.cc.
References base_file_stat::is_newer().
Referenced by shlib_rep().
|
static |
Definition at line 509 of file oct-shlib.cc.
Definition at line 79 of file oct-shlib.h.
bool octave_shlib::shlib_rep::remove_fcn_name | ( | const std::string & | fcn_name | ) |
Definition at line 125 of file oct-shlib.cc.
|
inlinevirtual |
Definition at line 63 of file oct-shlib.h.
|
inline |
Definition at line 73 of file oct-shlib.h.
octave_refcount<int> octave_shlib::shlib_rep::count |
Definition at line 89 of file oct-shlib.h.
Referenced by get_instance(), and octave_shlib::operator=().
|
protected |
Definition at line 102 of file oct-shlib.h.
|
protected |
Definition at line 95 of file oct-shlib.h.
Referenced by shlib_rep().
|
staticprotected |
Definition at line 104 of file oct-shlib.h.
Referenced by shlib_rep().
|
protected |
Definition at line 96 of file oct-shlib.h.