GNU Octave  3.8.0
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 Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
octave_errno Class Reference

#include "oct-errno.h"

Collaboration diagram for octave_errno:
Collaboration graph
[legend]

Public Member Functions

 ~octave_errno (void)

Static Public Member Functions

static void cleanup_instance (void)
static int get (void)
static bool instance_ok (void)
static octave_scalar_map list (void)
static int lookup (const std::string &name)
static int set (int val)

Protected Member Functions

 octave_errno (void)

Private Member Functions

octave_scalar_map do_list (void)
int do_lookup (const std::string &name)

Private Attributes

std::map< std::string, interrno_tbl

Static Private Attributes

static octave_errnoinstance = 0

Detailed Description

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

Constructor & Destructor Documentation

octave_errno::octave_errno ( void  )
protected

Definition at line 38 of file oct-errno.cc.

References errno_tbl.

Referenced by instance_ok().

octave_errno::~octave_errno ( void  )
inline

Definition at line 42 of file oct-errno.h.

Member Function Documentation

static void octave_errno::cleanup_instance ( void  )
inlinestatic

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

Referenced by instance_ok().

octave_scalar_map octave_errno::do_list ( void  )
private

Definition at line 735 of file oct-errno.cc.

References octave_scalar_map::assign(), and errno_tbl.

Referenced by list().

int octave_errno::do_lookup ( const std::string &  name)
private

Definition at line 729 of file oct-errno.cc.

References errno_tbl.

Referenced by lookup().

static int octave_errno::get ( void  )
inlinestatic

Definition at line 52 of file oct-errno.h.

Referenced by Ferrno().

bool octave_errno::instance_ok ( void  )
static

Definition at line 694 of file oct-errno.cc.

References singleton_cleanup_list::add(), cleanup_instance(), error(), instance, and octave_errno().

Referenced by list(), and lookup().

octave_scalar_map octave_errno::list ( void  )
static

Definition at line 723 of file oct-errno.cc.

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

Referenced by Ferrno_list().

int octave_errno::lookup ( const std::string &  name)
static

Definition at line 717 of file oct-errno.cc.

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

Referenced by Ferrno().

static int octave_errno::set ( int  val)
inlinestatic

Definition at line 54 of file oct-errno.h.

Referenced by Ferrno().

Member Data Documentation

std::map<std::string, int> octave_errno::errno_tbl
private

Definition at line 63 of file oct-errno.h.

Referenced by do_list(), do_lookup(), and octave_errno().

octave_errno * octave_errno::instance = 0
staticprivate

Definition at line 65 of file oct-errno.h.

Referenced by instance_ok(), list(), and lookup().


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