Teonet string array class.
More...
#include <teonet.hpp>
|
| | StringArray () |
| |
| | StringArray (const char *str, const char *separators=",", bool with_empty=true, int max_parts=0) |
| |
| | StringArray (const std::string &str, const std::string &separators=",", bool with_empty=true, int max_parts=0) |
| |
| | StringArray (const std::vector< const char * > &vstr, const char *separators=",") |
| |
| StringArray & | operator= (const StringArray &ar) |
| |
| virtual | ~StringArray () |
| |
| const char * | operator[] (int i) const |
| |
| int | size () const |
| |
| StringArray & | add (const char *str) |
| |
| StringArray & | add (const std::string &str) |
| |
| std::string | to_string (const char *separator=NULL) const |
| |
| std::string | to_string (const std::string &separator) const |
| |
| bool | move (unsigned int fromIdx, unsigned int toIdx) |
| |
| iterator | begin () |
| |
| iterator | end () |
| |
Teonet string array class.
| teo::StringArray::StringArray |
( |
| ) |
|
|
inline |
| teo::StringArray::StringArray |
( |
const char * |
str, |
|
|
const char * |
separators = ",", |
|
|
bool |
with_empty = true, |
|
|
int |
max_parts = 0 |
|
) |
| |
|
inlineexplicit |
| teo::StringArray::StringArray |
( |
const std::string & |
str, |
|
|
const std::string & |
separators = ",", |
|
|
bool |
with_empty = true, |
|
|
int |
max_parts = 0 |
|
) |
| |
|
inlineexplicit |
| teo::StringArray::StringArray |
( |
const std::vector< const char * > & |
vstr, |
|
|
const char * |
separators = "," |
|
) |
| |
|
inlineexplicit |
| virtual teo::StringArray::~StringArray |
( |
| ) |
|
|
inlinevirtual |
| StringArray& teo::StringArray::add |
( |
const std::string & |
str | ) |
|
|
inline |
| bool teo::StringArray::move |
( |
unsigned int |
fromIdx, |
|
|
unsigned int |
toIdx |
|
) |
| |
|
inline |
| const char* teo::StringArray::operator[] |
( |
int |
i | ) |
const |
|
inline |
| int teo::StringArray::size |
( |
| ) |
const |
|
inline |
| std::string teo::StringArray::to_string |
( |
const char * |
separator = NULL | ) |
const |
|
inline |
| std::string teo::StringArray::to_string |
( |
const std::string & |
separator | ) |
const |
|
inline |
The documentation for this class was generated from the following file: