pyre.components.PrivateInventory

Module Contents

class pyre.components.PrivateInventory.PrivateInventory

Bases: pyre.components.Inventory.Inventory

Strategy for managing the state of component classes and instances that were not given a publicly visible name, hence they are responsible for managing their own private state

key
setTraitValue(self, trait, factory, value, **kwds)

Set the value of the slot associated with {trait}

getTraitValue(self, trait)

Get the value associated with this {trait} descriptor

getTraitLocator(self, trait)

Retrieve the location of the last assignment for this {trait}

getTraitPriority(self, trait)

Retrieve the priority of the last assignment for this {trait}

getSlots(self)

Return an iterable over the trait value storage

__str__(self)