GuitarPrometheus::Parser::GpifReader
GuitarPrometheus::Parser::GpifReader
Walks a Guitar Pro 7 / 8 score.gpif XML document and emits an [IntermediateScore]() ready for [ScoreBuilder::build](). More…
#include <GpifReader.h>
Public Classes
| Name | |
|---|---|
| struct | Output Result of a read call. |
Public Functions
| Name | |
|---|---|
| Output | read(const pugi::xml_document & doc) Parse a score.gpif document and produce the intermediate score. |
Detailed Description
class GuitarPrometheus::Parser::GpifReader;Walks a Guitar Pro 7 / 8 score.gpif XML document and emits an [IntermediateScore]() ready for [ScoreBuilder::build]().
The same reader serves both .gp (ZIP container) and .gpx (BitWise container) importers — the container layer is responsible for extracting score.gpif; this reader cares only about the XML.
Public Functions Documentation
function read
static Output read( const pugi::xml_document & doc)Parse a score.gpif document and produce the intermediate score.
Parameters:
- doc Loaded pugixml document of
score.gpif. Must have<GPIF>root.
Return: Output with the intermediate score on success, or errors describing why the parse failed. Warnings cover non-fatal anomalies (unrecognised property names, etc.).
Updated on 2026-05-29 at 07:39:52 +0000