[Open all] [Close all] [Open all source code] [Close all source code]

The HumAddress class manages data conversions for the humlib library.

 

HumAddress Public functions

HumAddress — HumAddress constructor.
getDataType — Return the exclusive interpretation string of the token associated with the address.
getFieldIndex — Returns the field index on the line of the token associated with the address.
getLine — return the HumdrumLine which owns the token associated with this address.
getLineIndex — Returns the line index in the owning HumdrumFile for the token associated with the address.
getLineNumber — Similar to getLineIndex() but adds one.
getSpineInfo — Return the spine information for the token associated with the address.
getSubtrack — The subtrack number of the given spine.
getSubtrackCount — The number of subtrack spines for a given spine on the owning HumdurmLine.
getTrack — The track number of the given spine.
getTrackString — Return the track and subtrack as a string.
hasOwner — Returns true if a HumdrumLine owns the token associated with the address.