GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::auto_shlib Class Reference

#include "defun-int.h"

Inheritance diagram for octave::auto_shlib:
Collaboration diagram for octave::auto_shlib:

Public Types

typedef std::function< std::string(const std::string &)> name_mangler
 

Public Member Functions

 auto_shlib (const dynamic_library &shl)
 
 auto_shlib (void)
 
void add (const std::string &name)
 
std::list< std::string > close (void)
 
std::string file_name (void) const
 
bool is_out_of_date (void) const
 
size_t number_of_functions_loaded (void) const
 
void open (const std::string &f)
 
 operator bool () const
 
bool operator== (const dynamic_library &sl) const
 
bool remove (const std::string &name)
 
void * search (const std::string &nm, const name_mangler &mangler=name_mangler()) const
 
sys::time time_loaded (void) const
 

Private Attributes

dynlib_repm_rep
 

Static Private Attributes

static dynlib_rep s_nil_rep
 

Detailed Description

Definition at line 76 of file defun-int.h.

Member Typedef Documentation

◆ name_mangler

typedef std::function<std::string (const std::string&)> octave::dynamic_library::name_mangler
inherited

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

Constructor & Destructor Documentation

◆ auto_shlib() [1/2]

octave::auto_shlib::auto_shlib ( void  )
inline

Definition at line 80 of file defun-int.h.

◆ auto_shlib() [2/2]

octave::auto_shlib::auto_shlib ( const dynamic_library shl)
inline

Definition at line 82 of file defun-int.h.

Member Function Documentation

◆ add()

void octave::dynamic_library::add ( const std::string &  name)
inlineinherited

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

References name.

◆ close()

std::list<std::string> octave::dynamic_library::close ( void  )
inlineinherited

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

Referenced by octave::dynamic_loader::shlibs_list::remove(), and terminate_jvm().

◆ file_name()

std::string octave::dynamic_library::file_name ( void  ) const
inlineinherited

◆ is_out_of_date()

bool octave::dynamic_library::is_out_of_date ( void  ) const
inlineinherited

◆ number_of_functions_loaded()

size_t octave::dynamic_library::number_of_functions_loaded ( void  ) const
inlineinherited

◆ open()

void octave::dynamic_library::open ( const std::string &  f)
inlineinherited

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

References octave::f().

Referenced by octave::dynamic_loader::load_mex(), and octave::dynamic_loader::load_oct().

◆ operator bool()

octave::dynamic_library::operator bool ( ) const
inlineinherited

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

◆ operator==()

bool octave::dynamic_library::operator== ( const dynamic_library sl) const
inlineinherited

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

References octave::dynamic_library::m_rep.

◆ remove()

bool octave::dynamic_library::remove ( const std::string &  name)
inlineinherited

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

References name.

Referenced by octave::dynamic_loader::remove_oct().

◆ search()

void* octave::dynamic_library::search ( const std::string &  nm,
const name_mangler mangler = name_mangler () 
) const
inlineinherited

◆ time_loaded()

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

Member Data Documentation

◆ m_rep

dynlib_rep* octave::dynamic_library::m_rep
privateinherited

◆ s_nil_rep

dynamic_library::dynlib_rep octave::dynamic_library::s_nil_rep
staticprivateinherited

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


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