GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-shlib.h"
Public Member Functions | |
dynlib_rep (void) | |
virtual | ~dynlib_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::sys::time | time_loaded (void) const |
Static Public Member Functions | |
static dynlib_rep * | get_instance (const std::string &f, bool fake) |
static dynlib_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 | |
dynlib_rep (const std::string &f) | |
void | fake_reload (void) |
Protected Attributes | |
std::map< std::string, size_t > | fcn_names |
std::string | file |
octave::sys::time | tm_loaded |
Static Protected Attributes | |
static std::map< std::string, dynlib_rep * > | instances |
Definition at line 46 of file oct-shlib.h.
|
protected |
Definition at line 104 of file oct-shlib.h.
|
protected |
Definition at line 103 of file oct-shlib.h.
|
inline |
Definition at line 50 of file oct-shlib.h.
|
protected |
Definition at line 66 of file oct-shlib.cc.
References f, file, instances, and is_out_of_date().
|
inlinevirtual |
Definition at line 59 of file oct-shlib.h.
References file.
void octave::dynamic_library::dynlib_rep::add_fcn_name | ( | const std::string & | name | ) |
Definition at line 118 of file oct-shlib.cc.
References p.
void octave::dynamic_library::dynlib_rep::do_close_hook | ( | dynamic_library::close_hook | cl_hook | ) |
Definition at line 145 of file oct-shlib.cc.
|
protected |
Definition at line 85 of file oct-shlib.cc.
References file, fs, octave::sys::base_file_stat::is_newer(), and octave::sys::base_file_stat::mtime().
Referenced by get_instance().
|
inline |
Definition at line 80 of file oct-shlib.h.
References file.
|
static |
Definition at line 100 of file oct-shlib.cc.
References count, fake_reload(), p, and retval.
|
inlinevirtual |
Definition at line 64 of file oct-shlib.h.
bool octave::dynamic_library::dynlib_rep::is_out_of_date | ( | void | ) | const |
Definition at line 78 of file oct-shlib.cc.
References file, fs, and octave::sys::base_file_stat::is_newer().
Referenced by dynlib_rep().
|
static |
Definition at line 517 of file oct-shlib.cc.
|
inline |
Definition at line 83 of file oct-shlib.h.
bool octave::dynamic_library::dynlib_rep::remove_fcn_name | ( | const std::string & | fcn_name | ) |
Definition at line 129 of file oct-shlib.cc.
|
inlinevirtual |
Definition at line 67 of file oct-shlib.h.
|
inline |
Definition at line 77 of file oct-shlib.h.
octave_refcount<int> octave::dynamic_library::dynlib_rep::count |
Definition at line 93 of file oct-shlib.h.
Referenced by get_instance(), and octave::dynamic_library::operator=().
|
protected |
Definition at line 106 of file oct-shlib.h.
|
protected |
Definition at line 99 of file oct-shlib.h.
Referenced by dynlib_rep().
|
staticprotected |
Definition at line 108 of file oct-shlib.h.
Referenced by dynlib_rep().
|
protected |
Definition at line 100 of file oct-shlib.h.