Module MappingImpl


[Contents] [Prev] [Next]
Table of Contents

Overview

This module provides an implementation of the Mapping interface's StringMap object. This object provides a Python dictionary-like interface, where the keys and values are restricted to strings.

Classes

This module defines the following classes:

StringMap (dict)
Derived from Mapping__skel.StringMap, this class provides the basic implementation of a mapping object. This class fully implements the StringMap interface. The mapping can be seeded initially by passing a Python dictionary dict into the constructor.

This class provides one additional implementation specific method get_dict() which returns the private instance variable dictionary.


Table of Contents

[Contents] [Prev] [Next]
Copyright © 1998 by the Corporation for National Research Initiatives.