comparison src/ov-cell.h @ 8732:a669df7beb73

[mq]: x
author John W. Eaton <jwe@octave.org>
date Thu, 12 Feb 2009 14:37:43 -0500
parents 280fae940bb0
children 3ef774603887
comparison
equal deleted inserted replaced
8731:5abe5ae55465 8732:a669df7beb73
86 const std::list<octave_value_list>& idx, 86 const std::list<octave_value_list>& idx,
87 const octave_value& rhs); 87 const octave_value& rhs);
88 88
89 size_t byte_size (void) const; 89 size_t byte_size (void) const;
90 90
91 octave_value sort (octave_idx_type dim = 0, sortmode mode = ASCENDING) const;
92
93 octave_value sort (Array<octave_idx_type> &sidx, octave_idx_type dim = 0,
94 sortmode mode = ASCENDING) const;
95
96 Array<octave_idx_type> sortrows_idx (sortmode mode = ASCENDING) const;
97
91 bool is_matrix_type (void) const { return false; } 98 bool is_matrix_type (void) const { return false; }
92 99
93 bool is_numeric_type (void) const { return false; } 100 bool is_numeric_type (void) const { return false; }
94 101
95 bool is_defined (void) const { return true; } 102 bool is_defined (void) const { return true; }
108 115
109 octave_value convert_to_str_internal (bool pad, bool, char type) const 116 octave_value convert_to_str_internal (bool pad, bool, char type) const
110 { return octave_value (all_strings (pad), type); } 117 { return octave_value (all_strings (pad), type); }
111 118
112 string_vector all_strings (bool pad = false) const; 119 string_vector all_strings (bool pad = false) const;
120
121 Array<std::string> cellstr_value (void) const;
113 122
114 bool print_as_scalar (void) const; 123 bool print_as_scalar (void) const;
115 124
116 void print (std::ostream& os, bool pr_as_read_syntax = false) const; 125 void print (std::ostream& os, bool pr_as_read_syntax = false) const;
117 126