GNU Octave
4.2.1
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 | |
mach_info (void) | |
Private Member Functions | |
mach_info (const mach_info &) | |
mach_info & | operator= (const 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 mach_info * | instance = 0 |
Definition at line 32 of file mach-info.h.
Enumerator | |
---|---|
flt_fmt_unknown | |
flt_fmt_ieee_little_endian | |
flt_fmt_ieee_big_endian |
Definition at line 42 of file mach-info.h.
|
protected |
Definition at line 137 of file mach-info.cc.
Referenced by instance_ok().
|
private |
|
inlinestaticprivate |
Definition at line 65 of file mach-info.h.
Referenced by instance_ok().
|
static |
Definition at line 202 of file mach-info.cc.
References flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, retval, and string.
Referenced by octave_stream_list::do_get_info(), and octave_stream_list::do_list_open_files().
|
static |
Definition at line 142 of file mach-info.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, mach_info(), and retval.
Referenced by native_float_format(), words_big_endian(), and words_little_endian().
|
static |
Definition at line 162 of file mach-info.cc.
References flt_fmt_unknown, instance, instance_ok(), and native_float_fmt.
Referenced by convert_and_copy(), octave_rand::do_seed(), octave_ieee_init(), pr_any_float(), save_mat_binary_data(), string_to_float_format(), and write_header().
|
static |
Definition at line 183 of file mach-info.cc.
References current_liboctave_error_handler, flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, flt_fmt_unknown, native_float_format(), and retval.
Referenced by do_fwrite().
|
static |
Definition at line 169 of file mach-info.cc.
References big_chief, instance, and instance_ok().
Referenced by convert_data(), octave_stream::finalize_read(), pr_int(), read_binary_file_header(), read_mat_file_header(), octave_stream::write(), and write_header().
|
static |
Definition at line 176 of file mach-info.cc.
References big_chief, instance, and instance_ok().
|
mutableprivate |
Definition at line 71 of file mach-info.h.
Referenced by words_big_endian(), and words_little_endian().
|
staticprivate |
Definition at line 63 of file mach-info.h.
Referenced by instance_ok(), native_float_format(), words_big_endian(), and words_little_endian().
|
mutableprivate |
Definition at line 68 of file mach-info.h.
Referenced by native_float_format().