Mercurial > octave-nkf
comparison src/ov-cell.h @ 10313:f3b65e1ae355
untabify src header files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:16:43 -0500 |
parents | cd96d29c5efa |
children | 4d1fc073fbb7 |
comparison
equal
deleted
inserted
replaced
10312:cbc402e64d83 | 10313:f3b65e1ae355 |
---|---|
71 #if 0 | 71 #if 0 |
72 octave_base_value *try_narrowing_conversion (void); | 72 octave_base_value *try_narrowing_conversion (void); |
73 #endif | 73 #endif |
74 | 74 |
75 octave_value subsref (const std::string& type, | 75 octave_value subsref (const std::string& type, |
76 const std::list<octave_value_list>& idx) | 76 const std::list<octave_value_list>& idx) |
77 { | 77 { |
78 octave_value_list tmp = subsref (type, idx, 1); | 78 octave_value_list tmp = subsref (type, idx, 1); |
79 return tmp.length () > 0 ? tmp(0) : octave_value (); | 79 return tmp.length () > 0 ? tmp(0) : octave_value (); |
80 } | 80 } |
81 | 81 |
82 octave_value_list subsref (const std::string& type, | 82 octave_value_list subsref (const std::string& type, |
83 const std::list<octave_value_list>& idx, int); | 83 const std::list<octave_value_list>& idx, int); |
84 | 84 |
85 octave_value subsref (const std::string& type, | 85 octave_value subsref (const std::string& type, |
86 const std::list<octave_value_list>& idx, | 86 const std::list<octave_value_list>& idx, |
87 bool auto_add); | 87 bool auto_add); |
88 | 88 |
89 octave_value subsasgn (const std::string& type, | 89 octave_value subsasgn (const std::string& type, |
90 const std::list<octave_value_list>& idx, | 90 const std::list<octave_value_list>& idx, |
91 const octave_value& rhs); | 91 const octave_value& rhs); |
92 | 92 |
93 void assign (const octave_value_list& idx, const Cell& rhs); | 93 void assign (const octave_value_list& idx, const Cell& rhs); |
94 | 94 |
95 void assign (const octave_value_list& idx, const octave_value& rhs); | 95 void assign (const octave_value_list& idx, const octave_value& rhs); |
96 | 96 |
99 size_t byte_size (void) const; | 99 size_t byte_size (void) const; |
100 | 100 |
101 octave_value sort (octave_idx_type dim = 0, sortmode mode = ASCENDING) const; | 101 octave_value sort (octave_idx_type dim = 0, sortmode mode = ASCENDING) const; |
102 | 102 |
103 octave_value sort (Array<octave_idx_type> &sidx, octave_idx_type dim = 0, | 103 octave_value sort (Array<octave_idx_type> &sidx, octave_idx_type dim = 0, |
104 sortmode mode = ASCENDING) const; | 104 sortmode mode = ASCENDING) const; |
105 | 105 |
106 sortmode is_sorted (sortmode mode = UNSORTED) const; | 106 sortmode is_sorted (sortmode mode = UNSORTED) const; |
107 | 107 |
108 Array<octave_idx_type> sort_rows_idx (sortmode mode = ASCENDING) const; | 108 Array<octave_idx_type> sort_rows_idx (sortmode mode = ASCENDING) const; |
109 | 109 |
148 bool load_ascii (std::istream& is); | 148 bool load_ascii (std::istream& is); |
149 | 149 |
150 bool save_binary (std::ostream& os, bool& save_as_floats); | 150 bool save_binary (std::ostream& os, bool& save_as_floats); |
151 | 151 |
152 bool load_binary (std::istream& is, bool swap, | 152 bool load_binary (std::istream& is, bool swap, |
153 oct_mach_info::float_format fmt); | 153 oct_mach_info::float_format fmt); |
154 | 154 |
155 #if defined (HAVE_HDF5) | 155 #if defined (HAVE_HDF5) |
156 bool save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats); | 156 bool save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats); |
157 | 157 |
158 bool load_hdf5 (hid_t loc_id, const char *name); | 158 bool load_hdf5 (hid_t loc_id, const char *name); |