48 size_t n = lst.size ();
54 for (std::list<std::string>::const_iterator p = lst.begin ();
63 size_t n = lst.size ();
69 for (std::set<std::string>::const_iterator p = lst.begin ();
84 const char *
const *t = s;
161 elem (len + i) = sv[i];
177 for (i = 0; i < len - 1; i++)
178 retval +=
elem (i) + sep;
191 char **retval =
new char * [len + 1];
204 const char *
const *p = v;
216 const std::string& prefix)
const
223 if (total_names == 0)
234 if (name_length > max_name_length)
235 max_name_length = name_length;
240 max_name_length += 2;
269 std::string nm =
elem (count);
275 if (count >= total_names)
281 pos += max_name_length;
static int terminal_cols(void)
std::ostream & list_in_columns(std::ostream &, int width=0, const std::string &prefix=std::string()) const
static char * strsave(const char *s)
string_vector & uniq(void)
char ** c_str_vec(void) const
static void delete_c_str_vec(const char *const *)
std::string & elem(octave_idx_type n)
void resize(octave_idx_type n, const std::string &rfv=std::string())
string_vector & append(const std::string &s)
string_vector & sort(bool make_uniq=false)
Handles the reference counting for all the derived classes.
octave_idx_type length(void) const
Number of elements in the array.
void sort(T *data, octave_idx_type nel)
std::string join(const std::string &sep=std::string()) const