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

Implementation of the Real_Class class and the Real_Classes_Container class factory as used in the Proxy Pattern. More...

Go to the source code of this file.

Classes

class  Real_Class
 The real class object that does all the work. More...
 
class  Real_Classes_Container
 A class factory for getting the real class. More...
 

Namespaces

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

Variables

list __all__ = ["Real_Classes_Container"]
 Control what will be exported from this module if the user were to use from proxy_class_real import * (Which no one really should be doing as it's bad form.)
 

Detailed Description

Implementation of the Real_Class class and the Real_Classes_Container class factory as used in the Proxy Pattern.

Definition in file proxy_class_real.py.