Implementation of the Memento_TextObject and (private) Memento class, along with IMemento interface implemented on the Memento class, as used in the Memento Pattern. More...
Go to the source code of this file.
Classes | |
| class | IMemento |
| Represents a single memento, a single snapshot of the state of the Memento_TextObject class as represented by the private class, Memento. More... | |
| class | Memento_TextObject |
| Container for a string. More... | |
| class | Memento_TextObject.Memento |
| Represents a single memento (snapshot) of the text state before an operation is applied. More... | |
Namespaces | |
| namespace | DesignPatternExamples_python |
| The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace. | |
| namespace | DesignPatternExamples_python.memento |
| namespace | DesignPatternExamples_python.memento.memento |
Implementation of the Memento_TextObject and (private) Memento class, along with IMemento interface implemented on the Memento class, as used in the Memento Pattern.
Definition in file memento.py.