Design Pattern Examples
Overview of object-oriented design patterns
composite_filedirentry.py File Reference

Implementation of the FileDirEntry base class, and the FileEntry and DirEntry classes used in the Composite Pattern. More...

Go to the source code of this file.

Classes

class  FileDirTypes
 Represents the type of entries allowed in the hierarchy for the Composite design pattern example. More...
 
class  FileDirEntryList
 Makes it easier to refer to a list of child nodes. More...
 
class  FileDirEntry
 Base class representing a File or Directory entry. More...
 
class  FileEntry
 Represents a File entry. More...
 
class  DirEntry
 Represents a Directory entry. More...
 

Namespaces

namespace  DesignPatternExamples_python
 The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace.
 
namespace  DesignPatternExamples_python.composite
 
namespace  DesignPatternExamples_python.composite.composite_filedirentry
 

Detailed Description

Implementation of the FileDirEntry base class, and the FileEntry and DirEntry classes used in the Composite Pattern.

Definition in file composite_filedirentry.py.