Navigation

Operators and Keywords

Function List:

C++ API

string_vector Class Reference

#include <str-vec.h>

Inherits Array< std::string >.

Collaboration diagram for string_vector:

List of all members.


Public Member Functions

 string_vector (void)
 string_vector (octave_idx_type n)
 string_vector (const char *s)
 string_vector (const std::string &s)
 string_vector (const string_vector &s)
 string_vector (const std::list< std::string > &lst)
 string_vector (const std::set< std::string > &lst)
 string_vector (const char *const *s)
 string_vector (const char *const *s, octave_idx_type n)
string_vectoroperator= (const string_vector &s)
 ~string_vector (void)
bool empty (void) const
octave_idx_type max_length (void) const
std::stringoperator[] (octave_idx_type i)
std::string operator[] (octave_idx_type i) const
string_vectorsort (bool make_uniq=false)
string_vectoruniq (void)
string_vectorappend (const std::string &s)
string_vectorappend (const string_vector &sv)
char ** c_str_vec (void) const
std::ostreamlist_in_columns (std::ostream &, int width=0) const

Static Public Member Functions

static void delete_c_str_vec (const char *const *)

Constructor & Destructor Documentation

string_vector::string_vector ( void   )  [inline]

string_vector::string_vector ( octave_idx_type  n  )  [inline, explicit]

string_vector::string_vector ( const char *  s  )  [inline]

string_vector::string_vector ( const std::string s  )  [inline]

string_vector::string_vector ( const string_vector s  )  [inline]

string_vector::string_vector ( const std::list< std::string > &  lst  ) 

string_vector::string_vector ( const std::set< std::string > &  lst  ) 

string_vector::string_vector ( const char *const s  ) 

string_vector::string_vector ( const char *const s,
octave_idx_type  n 
)

string_vector::~string_vector ( void   )  [inline]


Member Function Documentation

string_vector & string_vector::append ( const string_vector sv  ) 

string_vector & string_vector::append ( const std::string s  ) 

char ** string_vector::c_str_vec ( void   )  const

void string_vector::delete_c_str_vec ( const char *const v  )  [static]

bool string_vector::empty ( void   )  const [inline]

std::ostream & string_vector::list_in_columns ( std::ostream os,
int  width = 0 
) const

octave_idx_type string_vector::max_length ( void   )  const [inline]

string_vector& string_vector::operator= ( const string_vector s  )  [inline]

std::string string_vector::operator[] ( octave_idx_type  i  )  const [inline]

std::string& string_vector::operator[] ( octave_idx_type  i  )  [inline]

string_vector & string_vector::sort ( bool  make_uniq = false  ) 

string_vector & string_vector::uniq ( void   ) 


The documentation for this class was generated from the following files: