FoscLilypondNameManager

Returns a FoscLilypondNameManager.


Description

LilyPond name manager.

Base class from which grob, setting and tweak managers inherit.


Attributes Summary

Instance Methods

size !!!TODO: can this be deprecated ??
doesNotUnderstand This allows for putting and accessing of attributes in vars through method calls to a FoscLilypondNameManager.

Instance Methods: Special Methods

== (abjad: eq)
asCompileString (abjad: repr)
put (abjad: setattr)


Instance Methods


size

!!!TODO: can this be deprecated ??

Override method inherited from Object.


doesNotUnderstand

This allows for putting and accessing of attributes in vars through method calls to a FoscLilypondNameManager.

  1. Example

    a = FoscLilypondNameManager();
    a.color = 'red';
    a.size = 12;
    a.color.postln;
    FoscLilypondNameManager().prSetState(('color': red, 'size': 12))
    a.size.postln;
    FoscLilypondNameManager().prSetState(('color': red, 'size': 12))
  2. Example

    a = FoscNote(60, 1/4);
    m = override(a);
    m.noteHead.color = 'red';
    m.noteHead.size = 12;
    a.format;
    \once \override NoteHead.color = #red
    \once \override NoteHead.size = #12
    c'4


Instance Methods: Special Methods


==

(abjad: eq)

Is true when expr is a LilyPond name manager with attribute pairs equal to those of this LilyPond name manager. Otherwise false.

Returns true or false.

  1. Example

    m = FoscLilypondNameManager().prSetState((foo: 1, bar: 2));
    n = FoscLilypondNameManager().prSetState((foo: 1, bar: 2));
    (m == n).postln;
    true


asCompileString

(abjad: repr)

Gets interpreter representation of LilyPond name manager.

Returns string.

  1. Example

    m = FoscLilypondNameManager();
    m.prSetState((foo: 1, bar: 2));
    m.asCompileString.postln;
    FoscLilypondNameManager().prSetState(('bar': 2, 'foo': 1))


put

(abjad: setattr)

Sets attribute name of grob name manager to value.