GNU Octave  4.2.1
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 | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
octave::dynamic_library::dynlib_rep Class Reference

#include "oct-shlib.h"

Collaboration diagram for octave::dynamic_library::dynlib_rep:
Collaboration graph

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_repget_instance (const std::string &f, bool fake)
static dynlib_repnew_instance (const std::string &f)

Public Attributes

octave_refcount< intcount

Protected Types

typedef std::map< std::string,
size_t >::const_iterator 
typedef std::map< std::string,
size_t >::iterator 

Protected Member Functions

 dynlib_rep (const std::string &f)
void fake_reload (void)

Protected Attributes

std::map< std::string, size_tfcn_names
std::string file
octave::sys::time tm_loaded

Static Protected Attributes

static std::map< std::string,
dynlib_rep * > 

Detailed Description

Definition at line 46 of file oct-shlib.h.

Member Typedef Documentation

Definition at line 104 of file oct-shlib.h.

Definition at line 103 of file oct-shlib.h.

Constructor & Destructor Documentation

octave::dynamic_library::dynlib_rep::dynlib_rep ( void  )

Definition at line 50 of file oct-shlib.h.

octave::dynamic_library::dynlib_rep::dynlib_rep ( const std::string f)

Definition at line 66 of file

References f, file, instances, and is_out_of_date().

virtual octave::dynamic_library::dynlib_rep::~dynlib_rep ( void  )

Definition at line 59 of file oct-shlib.h.

References file.

Member Function Documentation

void octave::dynamic_library::dynlib_rep::add_fcn_name ( const std::string name)

Definition at line 118 of file

References p.

void octave::dynamic_library::dynlib_rep::do_close_hook ( dynamic_library::close_hook  cl_hook)

Definition at line 145 of file

void octave::dynamic_library::dynlib_rep::fake_reload ( void  )
std::string octave::dynamic_library::dynlib_rep::file_name ( void  ) const

Definition at line 80 of file oct-shlib.h.

References file.

dynamic_library::dynlib_rep * octave::dynamic_library::dynlib_rep::get_instance ( const std::string f,
bool  fake 

Definition at line 100 of file

References count, fake_reload(), p, and retval.

virtual bool octave::dynamic_library::dynlib_rep::is_open ( void  ) const

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

References file, fs, and octave::sys::base_file_stat::is_newer().

Referenced by dynlib_rep().

dynamic_library::dynlib_rep * octave::dynamic_library::dynlib_rep::new_instance ( const std::string f)

Definition at line 517 of file

size_t octave::dynamic_library::dynlib_rep::num_fcn_names ( void  ) const

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

References p, and retval.

virtual void* octave::dynamic_library::dynlib_rep::search ( const std::string ,
name_mangler  = 0 

Definition at line 67 of file oct-shlib.h.

octave::sys::time octave::dynamic_library::dynlib_rep::time_loaded ( void  ) const

Definition at line 77 of file oct-shlib.h.

Member Data Documentation

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=().

std::map<std::string, size_t> octave::dynamic_library::dynlib_rep::fcn_names

Definition at line 106 of file oct-shlib.h.

std::string octave::dynamic_library::dynlib_rep::file

Definition at line 99 of file oct-shlib.h.

Referenced by dynlib_rep().

std::map< std::string, dynamic_library::dynlib_rep * > octave::dynamic_library::dynlib_rep::instances

Definition at line 108 of file oct-shlib.h.

Referenced by dynlib_rep().

octave::sys::time octave::dynamic_library::dynlib_rep::tm_loaded

Definition at line 100 of file oct-shlib.h.

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