#include "oct-shlib.h"
Public Member Functions | |
dynlib_rep (void) | |
virtual | ~dynlib_rep (void) |
void | add_fcn_name (const std::string &) |
void | clear_fcn_names (void) |
std::string | file_name (void) const |
std::list< std::string > | function_names (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=nullptr) |
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 | |
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 |
bool | search_all_loaded |
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 108 of file oct-shlib.h.
|
protected |
Definition at line 107 of file oct-shlib.h.
|
inline |
Definition at line 50 of file oct-shlib.h.
|
protected |
Definition at line 67 of file oct-shlib.cc.
References f, file, instances, and is_out_of_date().
|
inlinevirtual |
Definition at line 61 of file oct-shlib.h.
References file.
void octave::dynamic_library::dynlib_rep::add_fcn_name | ( | const std::string & | name | ) |
Definition at line 130 of file oct-shlib.cc.
|
inline |
Definition at line 93 of file oct-shlib.h.
|
protected |
Definition at line 86 of file oct-shlib.cc.
References file, fs, octave::sys::base_file_stat::is_newer(), and octave::sys::base_file_stat::mtime().
|
inline |
Definition at line 82 of file oct-shlib.h.
References file.
std::list< std::string > octave::dynamic_library::dynlib_rep::function_names | ( | void | ) | const |
Definition at line 119 of file oct-shlib.cc.
|
static |
Definition at line 101 of file oct-shlib.cc.
|
inlinevirtual |
Definition at line 66 of file oct-shlib.h.
bool octave::dynamic_library::dynlib_rep::is_out_of_date | ( | void | ) | const |
Definition at line 79 of file oct-shlib.cc.
References file, fs, and octave::sys::base_file_stat::is_newer().
Referenced by dynlib_rep().
|
static |
Definition at line 606 of file oct-shlib.cc.
References f.
|
inline |
Definition at line 85 of file oct-shlib.h.
bool octave::dynamic_library::dynlib_rep::remove_fcn_name | ( | const std::string & | fcn_name | ) |
Definition at line 141 of file oct-shlib.cc.
|
inlinevirtual |
Definition at line 69 of file oct-shlib.h.
|
inline |
Definition at line 79 of file oct-shlib.h.
refcount<int> octave::dynamic_library::dynlib_rep::count |
Definition at line 97 of file oct-shlib.h.
Referenced by octave::dynamic_library::operator=().
|
protected |
Definition at line 110 of file oct-shlib.h.
|
protected |
Definition at line 103 of file oct-shlib.h.
Referenced by dynlib_rep().
|
staticprotected |
Definition at line 112 of file oct-shlib.h.
Referenced by dynlib_rep().
|
protected |
Definition at line 113 of file oct-shlib.h.
|
protected |
Definition at line 104 of file oct-shlib.h.