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

#include "auto-shlib.h"

Inheritance diagram for auto_shlib:
Collaboration diagram for auto_shlib:

Public Types

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

Public Member Functions

 auto_shlib (const auto_shlib &)=default
 
 auto_shlib (void)
 
 ~auto_shlib (void)=default
 
void add (const std::string &name)
 
std::list< std::string > close (void)
 
OCTAVE_API void delete_later (void)
 
std::string file_name (void) const
 
bool is_out_of_date (void) const
 
std::size_t number_of_functions_loaded (void) const
 
void open (const std::string &f)
 
 operator bool () const
 
auto_shliboperator= (const auto_shlib &)=default
 
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 OCTAVE_API dynlib_rep s_nil_rep
 

Detailed Description

Definition at line 40 of file auto-shlib.h.

Member Typedef Documentation

◆ name_mangler

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

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

Constructor & Destructor Documentation

◆ auto_shlib() [1/2]

auto_shlib::auto_shlib ( void  )

Definition at line 37 of file auto-shlib.cc.

◆ ~auto_shlib()

auto_shlib::~auto_shlib ( void  )
default

◆ auto_shlib() [2/2]

auto_shlib::auto_shlib ( const auto_shlib )
default

Member Function Documentation

◆ add()

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

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

◆ close()

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

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

Referenced by dynamic_loader::shlibs_list::remove().

◆ delete_later()

void dynamic_library::delete_later ( void  )
inherited

Definition at line 65 of file oct-shlib.cc.

References possibly_unreferenced_dynamic_libraries.

◆ file_name()

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

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

Referenced by dynamic_loader::clear().

◆ is_out_of_date()

bool dynamic_library::is_out_of_date ( void  ) const
inlineinherited

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

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

◆ number_of_functions_loaded()

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

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

Referenced by dynamic_loader::clear(), and dynamic_loader::remove_oct().

◆ open()

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

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

References f.

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

◆ operator bool()

dynamic_library::operator bool ( ) const
inlineinherited

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

◆ operator=()

auto_shlib& auto_shlib::operator= ( const auto_shlib )
default

◆ operator==()

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

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

References dynamic_library::m_rep.

◆ remove()

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

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

Referenced by dynamic_loader::remove_oct().

◆ search()

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

◆ time_loaded()

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

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

Member Data Documentation

◆ m_rep

dynlib_rep* dynamic_library::m_rep
privateinherited

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

Referenced by dynamic_library::operator=(), and dynamic_library::operator==().

◆ s_nil_rep

dynamic_library::dynlib_rep 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 files: