Classes | Public Types | Public Member Functions | Private Attributes | Static Private Attributes

octave_shlib Class Reference

#include "oct-shlib.h"

Inheritance diagram for octave_shlib:
Inheritance graph
[legend]
Collaboration diagram for octave_shlib:
Collaboration graph
[legend]

List of all members.

Classes

class  shlib_rep

Public Types

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

Public Member Functions

 octave_shlib (void)
 octave_shlib (const std::string &f, bool fake=true)
 octave_shlib (const octave_shlib &sl)
 ~octave_shlib (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
octave_shliboperator= (const octave_shlib &sl)
bool operator== (const octave_shlib &sl) const
bool remove (const std::string &name)
void * search (const std::string &nm, name_mangler mangler=0) const
octave_time time_loaded (void) const

Private Attributes

shlib_reprep

Static Private Attributes

static shlib_rep nil_rep

Detailed Description

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


Member Typedef Documentation

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

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

typedef std::string(* octave_shlib::name_mangler)(const std::string &)

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


Constructor & Destructor Documentation

octave_shlib::octave_shlib ( void   )  [inline]

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

octave_shlib::octave_shlib ( const std::string &  f,
bool  fake = true 
) [inline]

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

octave_shlib::~octave_shlib ( void   )  [inline]

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

octave_shlib::octave_shlib ( const octave_shlib sl  )  [inline]

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


Member Function Documentation

void octave_shlib::add ( const std::string &  name  )  [inline]

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

void octave_shlib::close ( close_hook  cl_hook = 0  )  [inline]

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

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

std::string octave_shlib::file_name ( void   )  const [inline]
bool octave_shlib::is_out_of_date ( void   )  const [inline]
size_t octave_shlib::number_of_functions_loaded ( void   )  const [inline]
void octave_shlib::open ( const std::string &  f  )  [inline]
octave_shlib::operator bool ( void   )  const [inline]

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

octave_shlib& octave_shlib::operator= ( const octave_shlib sl  )  [inline]

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

References octave_shlib::shlib_rep::count, and rep.

bool octave_shlib::operator== ( const octave_shlib sl  )  const [inline]

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

References rep.

bool octave_shlib::remove ( const std::string &  name  )  [inline]
void* octave_shlib::search ( const std::string &  nm,
name_mangler  mangler = 0 
) const [inline]

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

References f.

Referenced by octave_dynamic_loader::do_load_mex(), and octave_dynamic_loader::do_load_oct().

octave_time octave_shlib::time_loaded ( void   )  const [inline]

Member Data Documentation

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

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

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


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines