API for implementing MetadataParsers module
API for implementing MetadataParsers.
Class MetadataParser provides an interface for parsing TOC files.
The MetadataParser provides function parse()
to parse the input file to a arcstk::TOC instance. The TOC object is constructed using arcstk::make_toc.
A MetadataParser internally holds a concrete instance of MetadataParserImpl. MetadataParserImpl can be subclassed to implement the capabilities of a MetadataParser.
The concrete reading of a given TOC file is implemented by the subclasses of MetadataParserImpl.
A parse error is reported by a MetadataParseException.
Classes
- class arcsdec::v_1_0_0::MetadataParseException
- Reports unexpected content while parsing a metadata file.
- class arcsdec::v_1_0_0::MetadataParser
- Parse metadata files and provide the content as a TOC instance.
- class arcsdec::v_1_0_0::MetadataParserImpl
- Abstract base class for MetadataParser implementations.