Skip to content

GuitarPrometheus::Parser::GpifReader::Output

GuitarPrometheus::Parser::GpifReader::Output

Result of a read call. More…

#include <GpifReader.h>

Public Attributes

Name
IntermediateScorescore
Parser-built intermediate score. Empty (default-constructed) when errors is non-empty.
std::vector< Diagnostic >errors
Hard parse failures. A non-empty vector means the parse failed.
std::vector< Diagnostic >warnings
Non-fatal anomalies surfaced during the walk (unrecognised property names, unknown technique flags, malformed-but-recoverable sub-trees).

Detailed Description

struct GuitarPrometheus::Parser::GpifReader::Output;

Result of a read call.

The score field is only meaningful when errors is empty — callers should check errors.empty() before consuming it.

Public Attributes Documentation

variable score

IntermediateScore score;

Parser-built intermediate score. Empty (default-constructed) when errors is non-empty.

variable errors

std::vector< Diagnostic > errors;

Hard parse failures. A non-empty vector means the parse failed.

variable warnings

std::vector< Diagnostic > warnings;

Non-fatal anomalies surfaced during the walk (unrecognised property names, unknown technique flags, malformed-but-recoverable sub-trees).

Never affects success.


Updated on 2026-05-29 at 07:39:52 +0000