Design Pattern Examples
Overview of object-oriented design patterns
composite Directory Reference
Directory dependency graph for composite:
composite

Files

file  composite/__init__.py [code]
 Python implementation of the Composite Pattern example.
 
file  composite_exercise.py [code]
 Implementation of the Composite_Exercise() function as used in the Composite Pattern.
 
file  composite_fileaccess.py [code]
 Implementation of the Composite_FileAccess, class used in the Composite Pattern.
 
file  composite_filedirentry.py [code]
 Implementation of the FileDirEntry base class, and the FileEntry and DirEntry classes used in the Composite Pattern.