orrery.models#

Classes for implementing Models for storage of data with automated value change callbacks

Classes

ClassModel

A model wrapping an instance.

ConstantModel

A simple model holding a single fixed object value.

DependentModel

A Model whose value depends on one or more other models.

EnumValueModel

Model for holding an Enumeration.

EqualityModel

Model which returns True if one or more pairs of Models have equal values

GlobalModelRegistry

A ModelRegistry where Models can be added with an additional identifying prefix, allowing multiple Models of the same name to be added.

IndirectDependentModel

A model which reflects the value of a child model

Model

Base class for storing values

ModelRegistry

Holds a list of named Models

ValueModel

A simple model holding a single object value.