#include "oct-shlib.h"
Public Member Functions | |
dynlib_rep (void) | |
virtual | ~dynlib_rep (void) |
OCTAVE_API void | add_fcn_name (const std::string &) |
void | clear_fcn_names (void) |
std::string | file_name (void) const |
OCTAVE_API std::list< std::string > | function_names (void) const |
virtual bool | is_open (void) const |
OCTAVE_API bool | is_out_of_date (void) const |
std::size_t | num_fcn_names (void) const |
OCTAVE_API bool | remove_fcn_name (const std::string &) |
virtual void * | search (const std::string &, const name_mangler &=name_mangler()) |
sys::time | time_loaded (void) const |
Static Public Member Functions | |
static OCTAVE_API dynlib_rep * | get_instance (const std::string &f, bool fake) |
static OCTAVE_API dynlib_rep * | new_instance (const std::string &f) |
Public Attributes | |
refcount< octave_idx_type > | m_count |
Protected Types | |
typedef std::map< std::string, std::size_t >::const_iterator | fcn_names_const_iterator |
typedef std::map< std::string, std::size_t >::iterator | fcn_names_iterator |
Protected Member Functions | |
OCTAVE_API | dynlib_rep (const std::string &f) |
OCTAVE_API void | fake_reload (void) |
Protected Attributes | |
std::map< std::string, std::size_t > | m_fcn_names |
std::string | m_file |
bool | m_search_all_loaded |
sys::time | m_time_loaded |
Static Protected Attributes | |
static OCTAVE_API std::map< std::string, dynlib_rep * > | s_instances |
Definition at line 48 of file oct-shlib.h.
|
protected |
Definition at line 111 of file oct-shlib.h.
|
protected |
Definition at line 110 of file oct-shlib.h.
|
inline |
Definition at line 52 of file oct-shlib.h.
|
protected |
Definition at line 77 of file oct-shlib.cc.
References f, is_out_of_date(), m_file, and s_instances.
|
inlinevirtual |
Definition at line 64 of file oct-shlib.h.
void dynamic_library::dynlib_rep::add_fcn_name | ( | const std::string & | name | ) |
Definition at line 141 of file oct-shlib.cc.
|
inline |
Definition at line 97 of file oct-shlib.h.
|
protected |
Definition at line 97 of file oct-shlib.cc.
Referenced by get_instance().
|
inline |
Definition at line 86 of file oct-shlib.h.
std::list< std::string > dynamic_library::dynlib_rep::function_names | ( | void | ) | const |
Definition at line 130 of file oct-shlib.cc.
|
static |
Definition at line 112 of file oct-shlib.cc.
References f, fake_reload(), and m_count.
|
inlinevirtual |
Definition at line 69 of file oct-shlib.h.
bool dynamic_library::dynlib_rep::is_out_of_date | ( | void | ) | const |
Definition at line 90 of file oct-shlib.cc.
Referenced by dynlib_rep().
|
static |
Definition at line 439 of file oct-shlib.cc.
References f.
|
inline |
Definition at line 89 of file oct-shlib.h.
bool dynamic_library::dynlib_rep::remove_fcn_name | ( | const std::string & | fcn_name | ) |
Definition at line 152 of file oct-shlib.cc.
|
inlinevirtual |
Definition at line 72 of file oct-shlib.h.
|
inline |
Definition at line 83 of file oct-shlib.h.
refcount<octave_idx_type> dynamic_library::dynlib_rep::m_count |
Definition at line 101 of file oct-shlib.h.
Referenced by get_instance(), and dynamic_library::operator=().
|
protected |
Definition at line 113 of file oct-shlib.h.
|
protected |
Definition at line 114 of file oct-shlib.h.
Referenced by dynlib_rep().
|
protected |
Definition at line 116 of file oct-shlib.h.
|
protected |
Definition at line 115 of file oct-shlib.h.
|
staticprotected |
Definition at line 107 of file oct-shlib.h.
Referenced by dynlib_rep().