Package tdi :: Module filters :: Class BaseStreamFilter
[frames] | no frames]

Class BaseStreamFilter

source code

object --+
         |
        BaseStreamFilter
Known Subclasses:

Base stream filter class, which actually passes everything unfiltered
Instance Methods
 
__init__(self, stream)
Initialization
source code
any
__getattr__(self, name)
Delegate unknown symbols to the next stream (downwards)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, stream)
(Constructor)

source code 
Initialization
Parameters:
  • stream (file) - The stream to decorate
Overrides: object.__init__

__getattr__(self, name)
(Qualification operator)

source code 
Delegate unknown symbols to the next stream (downwards)
Parameters:
  • name (str) - The symbol to look up
Returns: any
The requested symbol
Raises:
  • AttributeError - The symbol was not found