A parser for the Music Metadata XML format.
More...
A parser for the Music Metadata XML format.
- See also
- The Music Metadata XML Format
◆ MbXmlParser()
MusicBrainz::MbXmlParser::MbXmlParser |
( |
| ) |
|
◆ ~MbXmlParser()
virtual MusicBrainz::MbXmlParser::~MbXmlParser |
( |
| ) |
|
|
virtual |
◆ parse()
Metadata* MusicBrainz::MbXmlParser::parse |
( |
const std::string & |
data | ) |
|
Parses the MusicBrainz web service XML.
Returns a Metadata object representing the parsed XML or raises a ParseError exception if the data was malformed. The parser tries to be liberal and skips invalid content if possible.
- Parameters
-
data | a string containing the XML data |
- Returns
- a Metadata object (never NULL)
- Exceptions
-