Mercurial > octave
comparison libinterp/octave-value/ov-re-sparse.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 |
---|---|
135 octave_value convert_to_str_internal (bool pad, bool force, char type) const; | 135 octave_value convert_to_str_internal (bool pad, bool force, char type) const; |
136 | 136 |
137 #if 0 | 137 #if 0 |
138 int write (octave_stream& os, int block_size, | 138 int write (octave_stream& os, int block_size, |
139 oct_data_conv::data_type output_type, int skip, | 139 oct_data_conv::data_type output_type, int skip, |
140 oct_mach_info::float_format flt_fmt) const | 140 octave::mach_info::float_format flt_fmt) const |
141 { return os.write (matrix, block_size, output_type, skip, flt_fmt); } | 141 { return os.write (matrix, block_size, output_type, skip, flt_fmt); } |
142 #endif | 142 #endif |
143 | 143 |
144 bool save_binary (std::ostream& os, bool& save_as_floats); | 144 bool save_binary (std::ostream& os, bool& save_as_floats); |
145 | 145 |
146 bool load_binary (std::istream& is, bool swap, | 146 bool load_binary (std::istream& is, bool swap, |
147 oct_mach_info::float_format fmt); | 147 octave::mach_info::float_format fmt); |
148 | 148 |
149 bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats); | 149 bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats); |
150 | 150 |
151 bool load_hdf5 (octave_hdf5_id loc_id, const char *name); | 151 bool load_hdf5 (octave_hdf5_id loc_id, const char *name); |
152 | 152 |