TagLib API Documentation

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.

Definition at line 39 of file tstringlist.h.


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

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

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

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.


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:
KDE Logo
This file is part of the documentation for TagLib Version 1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jan 22 05:44:22 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003