AbjadValueObject

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph cluster_builtins { graph [label=builtins]; node [color=1]; "builtins.object" [URL="https://docs.python.org/3.7/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_evans.consort" { graph [label="evans.consort"]; node [color=2]; "evans.consort.AbjadObject.AbjadObject" [URL="../api/evans/consort/AbjadObject.html#evans.consort.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; "evans.consort.AbjadValueObject.AbjadValueObject" [URL="../api/evans/consort/AbjadValueObject.html#evans.consort.AbjadValueObject.AbjadValueObject", color=black, fontcolor=white, label="Abjad\nValue\nObject", target=_top]; "evans.consort.AbjadObject.AbjadObject" -> "evans.consort.AbjadValueObject.AbjadValueObject"; } "builtins.object" -> "evans.consort.AbjadObject.AbjadObject"; }

class evans.consort.AbjadValueObject.AbjadValueObject[source]

Abstract base class for classes which compare equally based on their storage format.


Attributes Summary

__copy__

Copies Abjad value object.

__eq__

Is true when all initialization values of Abjad value object equal the initialization values of argument.

__hash__

Hashes Abjad value object.


Special methods

__copy__(*arguments)[source]

Copies Abjad value object. Returns new Abjad value object.

overridden __eq__(argument)[source]

Is true when all initialization values of Abjad value object equal the initialization values of argument. Returns true or false.

(AbjadObject).__format__(format_specification='')

Formats Abjad object. Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’. Returns string.

overridden __hash__()[source]

Hashes Abjad value object. Returns integer.

(AbjadObject).__ne__(argument)

Is true when Abjad object does not equal argument. Otherwise false. Returns true or false.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object. Returns string.

(AbjadObject).__str__()

Return str(self).