class documentation

class DerivedDictBase(abc.MutableMapping):

Known subclasses: cma.utilities.utils.SolutionDict

Constructor: DerivedDictBase(*args, **kwargs)

View In Hierarchy

for conveniently adding methods/functionality to a dictionary.

The actual dictionary is in self.data. Derive from this class and copy-paste and modify setitem, getitem, and delitem, if necessary.

Details: This is the clean way to subclass the build-in dict, however it depends on MutableMapping.

Method __contains__ Undocumented
Method __delitem__ Undocumented
Method __getitem__ define access self[key]
Method __init__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __setitem__ define self[key] = value
Instance Variable data Undocumented
def __contains__(self, key):

Undocumented

def __delitem__(self, key):

Undocumented

def __getitem__(self, key):

define access self[key]

def __init__(self, *args, **kwargs):

Undocumented

def __iter__(self):

Undocumented

def __len__(self):

Undocumented

def __setitem__(self, key, value):

define self[key] = value

data =

Undocumented