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
Classes | Public Types | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
octave::dynamic_library Class Reference

#include "oct-shlib.h"

Inheritance diagram for octave::dynamic_library:
Inheritance graph
[legend]
Collaboration diagram for octave::dynamic_library:
Collaboration graph
[legend]

Classes

class  dynlib_rep
 

Public Types

typedef void(* close_hook )(const std::string &)
 
typedef std::string(* name_mangler )(const std::string &)
 

Public Member Functions

 dynamic_library (void)
 
 dynamic_library (const std::string &f, bool fake=true)
 
 dynamic_library (const dynamic_library &sl)
 
 ~dynamic_library (void)
 
void add (const std::string &name)
 
void close (close_hook cl_hook=0)
 
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
 
dynamic_libraryoperator= (const dynamic_library &sl)
 
bool operator== (const dynamic_library &sl) const
 
bool remove (const std::string &name)
 
void * search (const std::string &nm, name_mangler mangler=0) const
 
octave::sys::time time_loaded (void) const
 

Private Attributes

dynlib_reprep
 

Static Private Attributes

static dynlib_rep nil_rep
 

Detailed Description

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

Member Typedef Documentation

typedef void(* octave::dynamic_library::close_hook)(const std::string &)

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

typedef std::string(* octave::dynamic_library::name_mangler)(const std::string &)

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

Constructor & Destructor Documentation

octave::dynamic_library::dynamic_library ( void  )
inline

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

octave::dynamic_library::dynamic_library ( const std::string f,
bool  fake = true 
)
inline

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

octave::dynamic_library::~dynamic_library ( void  )
inline

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

octave::dynamic_library::dynamic_library ( const dynamic_library sl)
inline

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

Member Function Documentation

void octave::dynamic_library::add ( const std::string name)
inline

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

void octave::dynamic_library::close ( close_hook  cl_hook = 0)
inline

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

Referenced by octave_shlib_list::do_remove(), and terminate_jvm().

std::string octave::dynamic_library::file_name ( void  ) const
inline
bool octave::dynamic_library::is_out_of_date ( void  ) const
inline
size_t octave::dynamic_library::number_of_functions_loaded ( void  ) const
inline
void octave::dynamic_library::open ( const std::string f)
inline
octave::dynamic_library::operator bool ( ) const
inline

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

dynamic_library& octave::dynamic_library::operator= ( const dynamic_library sl)
inline

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

References octave::dynamic_library::dynlib_rep::count, and rep.

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

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

References rep.

bool octave::dynamic_library::remove ( const std::string name)
inline

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

References name.

Referenced by octave_dynamic_loader::do_remove_mex(), and octave_dynamic_loader::do_remove_oct().

void* octave::dynamic_library::search ( const std::string nm,
name_mangler  mangler = 0 
) const
inline
octave::sys::time octave::dynamic_library::time_loaded ( void  ) const
inline

Member Data Documentation

dynamic_library::dynlib_rep octave::dynamic_library::nil_rep
staticprivate

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

dynlib_rep* octave::dynamic_library::rep
private

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

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


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