![]() |
|
#include <tstringlist.h>
Public Member Functions | |
StringList () | |
StringList (const StringList &l) | |
StringList (const String &s) | |
StringList (const ByteVectorList &vl, String::Type t=String::Latin1) | |
virtual | ~StringList () |
String | toString (const String &separator=" ") const |
StringList & | append (const String &s) |
StringList & | append (const StringList &l) |
Static Public Member Functions | |
static StringList | split (const String &s, const String &pattern) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &s, const TagLib::StringList &l) |
This is a spcialization of the List class with some members convention for string operations.
TagLib::StringList::StringList | ( | ) |
Constructs an empty StringList.
TagLib::StringList::StringList | ( | const StringList & | l | ) |
Make a shallow, implicitly shared, copy of l. Because this is implicitly shared, this method is lightweight and suitable for pass-by-value usage.
TagLib::StringList::StringList | ( | const String & | s | ) |
Constructs a StringList with s as a member.
TagLib::StringList::StringList | ( | const ByteVectorList & | vl, | |
String::Type | t = String::Latin1 | |||
) |
Makes a deep copy of the data in vl.
virtual TagLib::StringList::~StringList | ( | ) | [virtual] |
Destroys this StringList instance.
StringList& TagLib::StringList::append | ( | const StringList & | l | ) |
Appends all of the values in l to the end of the list and returns a reference to the list.
StringList& TagLib::StringList::append | ( | const String & | s | ) |
Appends s to the end of the list and returns a reference to the list.
Reimplemented from TagLib::List< String >.
static StringList TagLib::StringList::split | ( | const String & | s, | |
const String & | pattern | |||
) | [static] |
Splits the String s into several strings at pattern. This will not include the pattern in the returned strings.
Concatenate the list of strings into one string separated by separator.
std::ostream & operator<< | ( | std::ostream & | s, | |
const TagLib::StringList & | l | |||
) | [related] |
Send the StringList to an output stream.