34 #if defined (HAVE_CONFIG_H)
54 const char *
const *t = s;
147 for (i = 0; i <
len - 1; i++)
148 retval +=
elem (i) + sep;
161 char **retval =
new char * [
len + 1];
163 retval[
len] =
nullptr;
171 std::list<std::string>
176 std::list<std::string> retval;
179 retval.push_back (
elem (i));
190 const char *
const *p = v;
202 const std::string& prefix)
const
209 if (total_names == 0)
220 if (name_length > max_name_length)
221 max_name_length = name_length;
226 max_name_length += 2;
231 = ((width <= 0 ? octave::command_editor::terminal_cols () : width)
254 std::string nm =
elem (count);
260 if (count >= total_names)
OCTARRAY_API T * fortran_vec(void)
Size of the specified dimension.
Vector representing the dimensions (size) of an Array.
void sort(T *data, octave_idx_type nel)
string_vector(void)=default
char ** c_str_vec(void) const
string_vector & append(const std::string &s)
string_vector & sort(bool make_uniq=false)
string_vector & uniq(void)
void resize(octave_idx_type n, const std::string &rfv="")
std::string & elem(octave_idx_type i)
static void delete_c_str_vec(const char *const *)
std::ostream & list_in_columns(std::ostream &, int width=0, const std::string &prefix="") const
std::string join(const std::string &sep="") const
octave_idx_type numel(void) const
std::list< std::string > std_list(void) const
Array< std::string > m_data
static char * strsave(const char *s)