Class ManifestParser

Class Documentation

class ManifestParser

Parses manifest YAML files into Manifest structure.

The parser handles YAML loading and converts the document into internal model structures (Area, Component, App, Function).

Public Functions

Manifest parse_file(const std::string &file_path) const

Parse manifest from file.

Parameters:

file_path – Path to YAML file

Throws:

std::runtime_error – if file cannot be read or parsed

Returns:

Parsed manifest

Manifest parse_string(const std::string &yaml_content) const

Parse manifest from YAML string.

Parameters:

yaml_content – YAML content as string

Throws:

std::runtime_error – if YAML is malformed

Returns:

Parsed manifest