GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "mach-info.h"
Public Types | |
enum | float_format { flt_fmt_unknown, flt_fmt_ieee_little_endian, flt_fmt_ieee_big_endian } |
Static Public Member Functions | |
static std::string | float_format_as_string (float_format) |
static bool | instance_ok (void) |
static float_format | native_float_format (void) |
static float_format | string_to_float_format (const std::string &) |
static bool | words_big_endian (void) |
static bool | words_little_endian (void) |
Protected Member Functions | |
oct_mach_info (void) |
Private Member Functions | |
oct_mach_info (const oct_mach_info &) | |
oct_mach_info & | operator= (const oct_mach_info &) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
bool | big_chief |
float_format | native_float_fmt |
Static Private Attributes | |
static oct_mach_info * | instance = 0 |
Definition at line 28 of file mach-info.h.
Definition at line 38 of file mach-info.h.
|
protected |
Definition at line 135 of file mach-info.cc.
Referenced by instance_ok().
|
private |
Definition at line 61 of file mach-info.h.
Referenced by instance_ok().
|
static |
Definition at line 205 of file mach-info.cc.
References flt_fmt_ieee_big_endian, and flt_fmt_ieee_little_endian.
Referenced by octave_stream_list::do_get_info(), octave_stream_list::do_list_open_files(), Fnative_float_format(), and Foctave_config_info().
Definition at line 140 of file mach-info.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, and oct_mach_info().
Referenced by native_float_format(), words_big_endian(), and words_little_endian().
|
static |
Definition at line 164 of file mach-info.cc.
References flt_fmt_unknown, instance, instance_ok(), and native_float_fmt.
Referenced by octave_rand::do_seed(), Fisieee(), Fnative_float_format(), Foctave_config_info(), octave_ieee_init(), pr_any_float(), save_mat_binary_data(), string_to_float_format(), and write_header().
|
private |
|
static |
Definition at line 185 of file mach-info.cc.
References current_liboctave_error_handler, flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, flt_fmt_unknown, and native_float_format().
Referenced by do_fread(), do_fwrite(), and do_stream_open().
Definition at line 171 of file mach-info.cc.
References big_chief, instance, and instance_ok().
Referenced by convert_data(), octave_stream::finalize_read(), Foctave_config_info(), pr_int(), read_binary_file_header(), read_mat_file_header(), octave_stream::write(), and write_header().
Definition at line 178 of file mach-info.cc.
References big_chief, instance, and instance_ok().
Referenced by Foctave_config_info().
|
mutableprivate |
Definition at line 67 of file mach-info.h.
Referenced by words_big_endian(), and words_little_endian().
|
staticprivate |
Definition at line 59 of file mach-info.h.
Referenced by instance_ok(), native_float_format(), words_big_endian(), and words_little_endian().
|
mutableprivate |
Definition at line 64 of file mach-info.h.
Referenced by native_float_format().