Package qm :: Package test :: Package classes :: Module pickle_result_stream :: Class PickleResultReader
[hide private]
[frames] | no frames]

Class PickleResultReader

source code

                 object --+            
                          |            
        extension.Extension --+        
                              |        
     result_reader.ResultReader --+    
                                  |    
file_result_reader.FileResultReader --+
                                      |
                                     PickleResultReader

A 'PickleResultReader' reads in results from pickle files.

See also 'PickleResultStream', which does the reverse.

Nested Classes [hide private]

Inherited from file_result_reader.FileResultReader: InvalidFile

Inherited from extension.Extension: Type, __metaclass__

Instance Methods [hide private]
 
__init__(self, arguments=None, **args)
Construct a new 'FileResultReader'.
source code
 
_ResetUnpickler(self) source code
 
_ReadAddress(self) source code
 
_ReadMetadata(self) source code
 
GetAnnotations(self)
Return this run's dictionary of annotations.
source code
 
GetResult(self)
Return the next 'Result' from this reader.
source code

Inherited from result_reader.ResultReader: __iter__

Inherited from extension.Extension: GetClassName, GetExplicitArguments, MakeDomDocument, MakeDomElement, Write, __getattr__

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

Class Variables [hide private]

Inherited from file_result_reader.FileResultReader: arguments, file, filename

Inherited from result_reader.ResultReader: kind

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, arguments=None, **args)
(Constructor)

source code 

Construct a new 'FileResultReader'.

'arguments' -- As for 'ResultReader'.

If the file provided is not in the input format expected by this result reader, the derived class '__init__' function must raise an 'InvalidStream' exception.

Overrides: object.__init__
(inherited documentation)

GetAnnotations(self)

source code 

Return this run's dictionary of annotations.

Overrides: result_reader.ResultReader.GetAnnotations
(inherited documentation)

GetResult(self)

source code 

Return the next 'Result' from this reader.

returns -- A 'Result', or 'None' if there are no more results.

Overrides: result_reader.ResultReader.GetResult
(inherited documentation)