MythTV  master
Public Member Functions | Public Attributes | List of all members
giantbomb.OutStreamEncoder Class Reference
Inheritance diagram for giantbomb.OutStreamEncoder:
Inheritance graph
[legend]
Collaboration diagram for giantbomb.OutStreamEncoder:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, outstream, encoding=None)
 
def write (self, obj)
 
def __getattr__ (self, attr)
 

Public Attributes

 out
 
 encoding
 

Detailed Description

Wraps a stream with an encoder

Definition at line 133 of file giantbomb.py.

Constructor & Destructor Documentation

◆ __init__()

def giantbomb.OutStreamEncoder.__init__ (   self,
  outstream,
  encoding = None 
)

Definition at line 136 of file giantbomb.py.

Member Function Documentation

◆ write()

def giantbomb.OutStreamEncoder.write (   self,
  obj 
)
Wraps the output stream, encoding Unicode strings with the specified encoding

Definition at line 143 of file giantbomb.py.

◆ __getattr__()

def giantbomb.OutStreamEncoder.__getattr__ (   self,
  attr 
)
Delegate everything but write to the stream

Definition at line 150 of file giantbomb.py.

Member Data Documentation

◆ out

giantbomb.OutStreamEncoder.out

◆ encoding

giantbomb.OutStreamEncoder.encoding

Definition at line 139 of file giantbomb.py.

Referenced by giantbomb.OutStreamEncoder.write().


The documentation for this class was generated from the following file: