Module nwcNotePosList

A nwcItem supporting object class for a list of note position data.

An object of this type contains a list of nwcNotePos objects reflecting one or more note positions on a staff. Note positions can be retrieved using array offsets similar to other Lua tables.

Type nwcNotePosList

nwcNotePosList.ID

Contains the name of the object type (nwcNotePosList)

nwcNotePosList:WriteUsing(writeFunc)

Standard output function with a user specified write function.

nwcNotePosList:__tostring()

Provides an automatic converting to string.

nwcNotePosList.new(fieldtxt)

Constructs a new nwcNotePosList object.

Type nwcNotePosList

Field(s)

#string nwcNotePosList.ID

Contains the name of the object type (nwcNotePosList)

nwcNotePosList:WriteUsing(writeFunc)

Standard output function with a user specified write function.

Parameter

  • writeFunc : The function that will be used to write the pieces that constitute the reconstructed text.

nwcNotePosList:__tostring()

Provides an automatic converting to string.

Return value

#string: the raw string representation of the object.

nwcNotePosList.new(fieldtxt)

Constructs a new nwcNotePosList object.

Parameter

  • #string fieldtxt : The raw note Pos or Pos2 field text.

Return value

#nwcNotePosList: A new nwcNotePosList object.

Copyright © 2020 NoteWorthy Software™, Inc.
All Rights Reserved.