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 Types | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
oct_mach_info Class Reference

#include "mach-info.h"

Collaboration diagram for oct_mach_info:
Collaboration graph
[legend]

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_infooperator= (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_infoinstance = 0

Detailed Description

Definition at line 28 of file mach-info.h.

Member Enumeration Documentation

Enumerator:
flt_fmt_unknown 
flt_fmt_ieee_little_endian 
flt_fmt_ieee_big_endian 

Definition at line 38 of file mach-info.h.

Constructor & Destructor Documentation

oct_mach_info::oct_mach_info ( void  )
protected

Definition at line 135 of file mach-info.cc.

Referenced by instance_ok().

oct_mach_info::oct_mach_info ( const oct_mach_info )
private

Member Function Documentation

static void oct_mach_info::cleanup_instance ( void  )
inlinestaticprivate

Definition at line 61 of file mach-info.h.

Referenced by instance_ok().

std::string oct_mach_info::float_format_as_string ( float_format  flt_fmt)
static
bool oct_mach_info::instance_ok ( void  )
static
oct_mach_info::float_format oct_mach_info::native_float_format ( void  )
static
oct_mach_info& oct_mach_info::operator= ( const oct_mach_info )
private
oct_mach_info::float_format oct_mach_info::string_to_float_format ( const std::string &  s)
static
bool oct_mach_info::words_big_endian ( void  )
static
bool oct_mach_info::words_little_endian ( void  )
static

Definition at line 178 of file mach-info.cc.

References big_chief, instance, and instance_ok().

Referenced by Foctave_config_info().

Member Data Documentation

bool oct_mach_info::big_chief
mutableprivate

Definition at line 67 of file mach-info.h.

Referenced by words_big_endian(), and words_little_endian().

oct_mach_info * oct_mach_info::instance = 0
staticprivate
float_format oct_mach_info::native_float_fmt
mutableprivate

Definition at line 64 of file mach-info.h.

Referenced by native_float_format().


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