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
Typedefs | Functions | Variables
lo-error.h File Reference
#include "octave-config.h"
Include dependency graph for lo-error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* liboctave_error_handler )(const char *,...)
 
typedef void(* liboctave_error_with_id_handler )(const char *, const char *,...)
 
typedef void(* liboctave_warning_handler )(const char *,...)
 
typedef void(* liboctave_warning_with_id_handler )(const char *, const char *,...)
 

Functions

OCTAVE_NORETURN void liboctave_fatal (const char *fmt,...)
 
OCTAVE_NORETURN void liboctave_fatal_with_id (const char *id, const char *fmt,...)
 
void liboctave_warning (const char *fmt,...)
 
void liboctave_warning_with_id (const char *id, const char *fmt,...)
 
OCTAVE_API void set_liboctave_error_handler (OCTAVE_NORETURN liboctave_error_handler f)
 
OCTAVE_API void set_liboctave_error_with_id_handler (OCTAVE_NORETURN liboctave_error_with_id_handler f)
 
OCTAVE_API void set_liboctave_warning_handler (liboctave_warning_handler f)
 
OCTAVE_API void set_liboctave_warning_with_id_handler (liboctave_warning_with_id_handler f)
 

Variables

OCTAVE_NORETURN OCTAVE_API
liboctave_error_handler 
current_liboctave_error_handler
 
OCTAVE_NORETURN OCTAVE_API
liboctave_error_with_id_handler 
current_liboctave_error_with_id_handler
 
OCTAVE_API
liboctave_warning_handler 
current_liboctave_warning_handler
 
OCTAVE_API
liboctave_warning_with_id_handler 
current_liboctave_warning_with_id_handler
 

Typedef Documentation

typedef void(* liboctave_error_handler)(const char *,...)

Definition at line 44 of file lo-error.h.

typedef void(* liboctave_error_with_id_handler)(const char *, const char *,...)

Definition at line 46 of file lo-error.h.

typedef void(* liboctave_warning_handler)(const char *,...)

Definition at line 49 of file lo-error.h.

typedef void(* liboctave_warning_with_id_handler)(const char *, const char *,...)

Definition at line 51 of file lo-error.h.

Function Documentation

OCTAVE_NORETURN void liboctave_fatal ( const char *  fmt,
  ... 
)

Definition at line 101 of file lo-error.c.

References verror().

Referenced by set_liboctave_error_handler().

OCTAVE_NORETURN void liboctave_fatal_with_id ( const char *  id,
const char *  fmt,
  ... 
)

Definition at line 112 of file lo-error.c.

References verror().

Referenced by set_liboctave_error_with_id_handler().

void liboctave_warning ( const char *  fmt,
  ... 
)

Definition at line 125 of file lo-error.c.

References verror().

Referenced by set_liboctave_warning_handler().

void liboctave_warning_with_id ( const char *  id,
const char *  fmt,
  ... 
)

Definition at line 134 of file lo-error.c.

References verror().

Referenced by set_liboctave_warning_with_id_handler().

OCTAVE_API void set_liboctave_error_handler ( OCTAVE_NORETURN liboctave_error_handler  f)

Definition at line 64 of file lo-error.c.

References current_liboctave_error_handler, f, and liboctave_fatal().

Referenced by initialize_error_handlers().

OCTAVE_API void set_liboctave_error_with_id_handler ( OCTAVE_NORETURN liboctave_error_with_id_handler  f)
OCTAVE_API void set_liboctave_warning_handler ( liboctave_warning_handler  f)

Definition at line 83 of file lo-error.c.

References current_liboctave_warning_handler, f, and liboctave_warning().

Referenced by initialize_error_handlers().

OCTAVE_API void set_liboctave_warning_with_id_handler ( liboctave_warning_with_id_handler  f)

Variable Documentation

OCTAVE_NORETURN OCTAVE_API liboctave_error_handler current_liboctave_error_handler

Definition at line 38 of file lo-error.c.

Referenced by aepbalance< T >::aepbalance(), Matrix::append(), FloatMatrix::append(), ComplexMatrix::append(), FloatComplexMatrix::append(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), octave::math::chol2inv(), DiagMatrix::column(), FloatDiagMatrix::column(), ComplexDiagMatrix::column(), FloatComplexDiagMatrix::column(), ComplexMatrix::ComplexMatrix(), Sparse< T >::compute_index(), qr< T >::delete_col(), Sparse< T >::delete_elements(), qr< T >::delete_row(), Matrix::diag(), FloatMatrix::diag(), FloatComplexMatrix::diag(), octave::math::do_bessel(), do_bsxfun_op(), chol< T >::downdate(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), octave::command_history::error(), F77_FUNC(), DiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), octave_rand::get_dist_id(), octave::crypto::hash(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ind2sub(), gepbalance< T >::init(), EIG::init(), FloatEIG::init(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), Sparse< T >::insert(), qr< T >::insert_col(), qr< T >::insert_row(), chol< T >::insert_sym(), linspace(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::ltsolve(), FloatMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), octave::math::lu< T >::lu(), MatrixType::mark_as_permuted(), MatrixType::mark_as_symmetric(), matrix_norm(), max(), min(), octave_base64_encode(), octave_putenv(), Array< T >::permute(), DiagMatrix::row(), FloatDiagMatrix::row(), ComplexDiagMatrix::row(), FloatComplexDiagMatrix::row(), octave::math::rsf2csf< ComplexMatrix, Matrix >(), octave::math::rsf2csf< FloatComplexMatrix, FloatMatrix >(), octave::math::chol< T >::set(), LSODE_options::set_integration_method(), set_liboctave_error_handler(), Sparse< T >::Sparse(), Matrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), FloatComplexMatrix::stack(), oct_data_conv::string_to_data_type(), octave::mach_info::string_to_float_format(), sub2ind(), svd_matrix_norm(), EIG::symmetric_init(), FloatEIG::symmetric_init(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), lu< T >::update(), qr< T >::update(), chol< T >::update(), lu< T >::update_piv(), Matrix::utsolve(), FloatMatrix::utsolve(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), and FloatComplexMatrix::utsolve().

OCTAVE_NORETURN OCTAVE_API liboctave_error_with_id_handler current_liboctave_error_with_id_handler

Definition at line 42 of file lo-error.c.

Referenced by set_liboctave_error_with_id_handler().

OCTAVE_API liboctave_warning_handler current_liboctave_warning_handler

Definition at line 46 of file lo-error.c.

Referenced by set_liboctave_warning_handler().

OCTAVE_API liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler

Definition at line 50 of file lo-error.c.

Referenced by set_liboctave_warning_with_id_handler().