GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "symtab.h"
Public Member Functions | |
~scope_id_cache (void) |
Static Public Member Functions | |
static scope_id | alloc (void) |
static void | create_instance (void) |
static void | free (scope_id scope) |
static bool | instance_ok (void) |
static std::list< scope_id > | scopes (void) |
Protected Types | |
typedef std::set< scope_id > ::const_iterator | set_const_iterator |
typedef std::set< scope_id > ::iterator | set_iterator |
Protected Member Functions | |
scope_id_cache (void) |
Private Member Functions | |
scope_id_cache (const scope_id_cache &) | |
scope_id | do_alloc (void) |
void | do_free (scope_id scope) |
std::list< scope_id > | do_scopes (void) const |
scope_id_cache & | operator= (const scope_id_cache &) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
std::set< scope_id > | free_list |
std::set< scope_id > | in_use |
scope_id | next_available |
Static Private Attributes | |
static scope_id_cache * | instance = 0 |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 64 of file symtab.h.
Referenced by create_instance().
|
inline |
|
private |
Definition at line 115 of file symtab.h.
Referenced by create_instance().
Definition at line 77 of file symtab.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, and scope_id_cache().
Definition at line 75 of file symtab.h.
Referenced by symbol_table::free_scope().
|
private |
|
private |
|
private |
|
staticprivate |
Definition at line 113 of file symtab.h.
Referenced by create_instance().
|
private |