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 Types | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
octave_shlib_list Class Reference
Collaboration diagram for octave_shlib_list:
Collaboration graph
[legend]

Public Types

typedef std::list
< octave::dynamic_library >
::const_iterator 
const_iterator
 
typedef std::list
< octave::dynamic_library >
::iterator 
iterator
 

Static Public Member Functions

static void append (const octave::dynamic_library &shl)
 
static void display (void)
 
static octave::dynamic_library find_file (const std::string &file_name)
 
static void remove (octave::dynamic_library &shl, octave::dynamic_library::close_hook cl_hook=0)
 

Private Member Functions

 octave_shlib_list (void)
 
 octave_shlib_list (const octave_shlib_list &)
 
 ~octave_shlib_list (void)
 
void do_append (const octave::dynamic_library &shl)
 
void do_display (void) const
 
octave::dynamic_library do_find_file (const std::string &file_name) const
 
void do_remove (octave::dynamic_library &shl, octave::dynamic_library::close_hook cl_hook=0)
 
octave_shlib_listoperator= (const octave_shlib_list &)
 

Static Private Member Functions

static void cleanup_instance (void)
 
static bool instance_ok (void)
 

Private Attributes

std::list
< octave::dynamic_library
lib_list
 

Static Private Attributes

static octave_shlib_listinstance = 0
 

Detailed Description

Definition at line 50 of file dynamic-ld.cc.

Member Typedef Documentation

Definition at line 56 of file dynamic-ld.cc.

Definition at line 55 of file dynamic-ld.cc.

Constructor & Destructor Documentation

octave_shlib_list::octave_shlib_list ( void  )
inlineprivate

Definition at line 69 of file dynamic-ld.cc.

Referenced by instance_ok().

octave_shlib_list::~octave_shlib_list ( void  )
inlineprivate

Definition at line 71 of file dynamic-ld.cc.

octave_shlib_list::octave_shlib_list ( const octave_shlib_list )
private

Member Function Documentation

void octave_shlib_list::append ( const octave::dynamic_library shl)
static
static void octave_shlib_list::cleanup_instance ( void  )
inlinestaticprivate

Definition at line 84 of file dynamic-ld.cc.

Referenced by instance_ok().

void octave_shlib_list::display ( void  )
static

Definition at line 192 of file dynamic-ld.cc.

References do_display(), instance, and instance_ok().

void octave_shlib_list::do_append ( const octave::dynamic_library shl)
private

Definition at line 101 of file dynamic-ld.cc.

References lib_list.

Referenced by append().

void octave_shlib_list::do_display ( void  ) const
private

Definition at line 143 of file dynamic-ld.cc.

References lib_list, and p.

Referenced by display().

octave::dynamic_library octave_shlib_list::do_find_file ( const std::string file_name) const
private

Definition at line 126 of file dynamic-ld.cc.

References lib_list, p, and retval.

Referenced by find_file().

void octave_shlib_list::do_remove ( octave::dynamic_library shl,
octave::dynamic_library::close_hook  cl_hook = 0 
)
private

Definition at line 107 of file dynamic-ld.cc.

References octave::dynamic_library::close(), lib_list, and p.

Referenced by remove().

octave::dynamic_library octave_shlib_list::find_file ( const std::string file_name)
static
bool octave_shlib_list::instance_ok ( void  )
staticprivate
octave_shlib_list& octave_shlib_list::operator= ( const octave_shlib_list )
private
void octave_shlib_list::remove ( octave::dynamic_library shl,
octave::dynamic_library::close_hook  cl_hook = 0 
)
static

Member Data Documentation

octave_shlib_list * octave_shlib_list::instance = 0
staticprivate

Definition at line 82 of file dynamic-ld.cc.

Referenced by append(), display(), find_file(), instance_ok(), and remove().

std::list<octave::dynamic_library> octave_shlib_list::lib_list
private

Definition at line 89 of file dynamic-ld.cc.

Referenced by do_append(), do_display(), do_find_file(), and do_remove().


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