Skip to content

GuitarPrometheus::Parser::Result

GuitarPrometheus::Parser::Result

Result of a score-import attempt. More…

#include <IScoreImporter.h>

Public Functions

Name
boolok() const

Public Attributes

Name
std::optional< SongStructure::Score >score
std::vector< Diagnostic >errors
std::vector< Diagnostic >warnings

Detailed Description

struct GuitarPrometheus::Parser::Result;

Result of a score-import attempt.

score is populated only on success; errors collects any hard failures. warnings is collected separately and does not affect ok().

Public Functions Documentation

function ok

inline bool ok() const

Public Attributes Documentation

variable score

std::optional< SongStructure::Score > score;

variable errors

std::vector< Diagnostic > errors;

variable warnings

std::vector< Diagnostic > warnings;

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