Overview
The humlib library consists of several classes that abstract various functionalities for a Humdrum data parser. Briefly, the HumdrumToken class manages individual cells of data, with the HumdrumLine class managing simultaneously occurring tokens, and the HumdrumFile class manages the sequence of lines in a single-movement Humdrum score. A class for managing multiple movements will be added to the code set in the future. The figure on the right shows the relationship between the classes, and a short description of each class is given below: Here are the main classes defined in the humlib library:HumdrumFile | Main interface for Humdrum file parsing classes. |
HumdrumFileContent | Intermediate class for HumdrumFile content analysis. |
HumdrumFileStructure | Intermediate class for HumdrumFile structural analysis. durations. |
HumdrumFileBase | Low-level Humdrum file parsing class for read/write and spine analysis. |
HumdrumLine | Manages the content of a Humdrum file line. |
HumdrumToken | Manages data tokens for a HumdrumLine. |
HumNum | Rational number class for processing durations as fractions. |
HumAddress | Location information for HumdrumTokens. |
HumHash | HumdrumToken and HumdrumLine parameter system. |
Convert | Utility function for converting data between various representations. |