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

Declaration of the Flyweight_Context, Flyweight_Class, BigResource, and BigResourceManager classes as used in the Flyweight Pattern. More...

Go to the source code of this file.

Classes

class  Flyweight_Context
 Represents the context for an instance of the Flyweight_Class. More...
 
class  Flyweight_Class
 Associates a context with a big resource. More...
 
class  BigResource
 Represents some big resource. More...
 
class  BigResourceManager
 Represents a manager for big resources. More...
 

Namespaces

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

Detailed Description

Declaration of the Flyweight_Context, Flyweight_Class, BigResource, and BigResourceManager classes as used in the Flyweight Pattern.

Definition in file flyweight_classes.py.