KHTML
Go to the documentation of this file.
24 #include "wtf/Platform.h"
33 SVGStringList::SVGStringList(
const QualifiedName& attributeName)
34 : SVGList<
String>(attributeName)
38 SVGStringList::~SVGStringList()
42 void SVGStringList::reset(
const String& str)
47 if (numberOfItems() == 0)
48 appendItem(
String(
""), ec);
51 void SVGStringList::parse(
const String& data, UChar delimiter)
57 const UChar* ptr = data.characters();
58 const UChar*
end = ptr + data.length();
60 const UChar* start = ptr;
61 while (ptr < end && *ptr != delimiter && !isWhitespace(*ptr))
65 appendItem(
String(start, ptr - start), ec);
66 skipOptionalSpacesOrDelimiter(ptr, end, delimiter);
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sun Apr 28 2013 14:30:12 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.