Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TagLib::StringList Class Reference

A list of strings. More...

#include <tstringlist.h>

Inheritance diagram for TagLib::StringList:

TagLib::List< String > List of all members.

Public Member Functions

 StringList ()
 StringList (const StringList &l)
 StringList (const String &s)
virtual ~StringList ()
String toString (const String &separator=" ") const

Static Public Member Functions

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)

Detailed Description

A list of strings.

This is a spcialization of the List class with some members convention for string operations.


Constructor & Destructor Documentation

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.

virtual TagLib::StringList::~StringList  )  [virtual]
 

Destroys this StringList instance.


Member Function Documentation

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.

String TagLib::StringList::toString const String separator = " "  )  const
 

Concatenate the list of strings into one string separated by separator.


Friends And Related Function Documentation

std::ostream & operator<< std::ostream &  s,
const TagLib::StringList l
[related]
 

Send the StringList to an output stream.


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 16:43:07 2004 for TagLib by doxygen 1.3.7