comparison libinterp/octave-value/ov-flt-complex.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 2aef506f3fec
comparison
equal deleted inserted replaced
21738:a99c2407f930 21739:c4ab2e54f100
165 bool load_ascii (std::istream& is); 165 bool load_ascii (std::istream& is);
166 166
167 bool save_binary (std::ostream& os, bool& save_as_floats); 167 bool save_binary (std::ostream& os, bool& save_as_floats);
168 168
169 bool load_binary (std::istream& is, bool swap, 169 bool load_binary (std::istream& is, bool swap,
170 oct_mach_info::float_format fmt); 170 octave::mach_info::float_format fmt);
171 171
172 bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats); 172 bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats);
173 173
174 bool load_hdf5 (octave_hdf5_id loc_id, const char *name); 174 bool load_hdf5 (octave_hdf5_id loc_id, const char *name);
175 175
176 int write (octave_stream& os, int block_size, 176 int write (octave_stream& os, int block_size,
177 oct_data_conv::data_type output_type, int skip, 177 oct_data_conv::data_type output_type, int skip,
178 oct_mach_info::float_format flt_fmt) const 178 octave::mach_info::float_format flt_fmt) const
179 { 179 {
180 // Yes, for compatibility, we drop the imaginary part here. 180 // Yes, for compatibility, we drop the imaginary part here.
181 return os.write (array_value (true), block_size, output_type, 181 return os.write (array_value (true), block_size, output_type,
182 skip, flt_fmt); 182 skip, flt_fmt);
183 } 183 }