comparison libinterp/octave-value/ov-flt-cx-mat.h @ 21739:c4ab2e54f100

use namespace for oct_mach_info class * mach-info.h, mach-info.cc: Put oct_mach_info in octave namespace and rename to mach_info. Change all uses.
author John W. Eaton <jwe@octave.org>
date Thu, 19 May 2016 01:59:35 -0400
parents 1473547f50f5
children 278fc29b69ca
comparison
equal deleted inserted replaced
21738:a99c2407f930 21739:c4ab2e54f100
149 bool load_ascii (std::istream& is); 149 bool load_ascii (std::istream& is);
150 150
151 bool save_binary (std::ostream& os, bool& save_as_floats); 151 bool save_binary (std::ostream& os, bool& save_as_floats);
152 152
153 bool load_binary (std::istream& is, bool swap, 153 bool load_binary (std::istream& is, bool swap,
154 oct_mach_info::float_format fmt); 154 octave::mach_info::float_format fmt);
155 155
156 bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats); 156 bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats);
157 157
158 bool load_hdf5 (octave_hdf5_id loc_id, const char *name); 158 bool load_hdf5 (octave_hdf5_id loc_id, const char *name);
159 159
160 int write (octave_stream& os, int block_size, 160 int write (octave_stream& os, int block_size,
161 oct_data_conv::data_type output_type, int skip, 161 oct_data_conv::data_type output_type, int skip,
162 oct_mach_info::float_format flt_fmt) const 162 octave::mach_info::float_format flt_fmt) const
163 { 163 {
164 // Yes, for compatibility, we drop the imaginary part here. 164 // Yes, for compatibility, we drop the imaginary part here.
165 return os.write (matrix_value (true), block_size, output_type, 165 return os.write (matrix_value (true), block_size, output_type,
166 skip, flt_fmt); 166 skip, flt_fmt);
167 } 167 }