Song

Wrapper around a song.

Constructors

this
this(string name)

Creates a new song.

Members

Functions

addPart
void addPart(SongPart part)

Adds a part to the song.

getPart
SongPart getPart(SongPartTitle title)

Gets a part from the song.

toJson
string toJson()

Converts the song to json.

toString
string toString()

Converts the song to string. Calls toJson().

toXml
string toXml()

Converts the song to xml.

Properties

parts
auto parts [@property getter]

Gets the parts of a song.

Meta