Package build :: Module io :: Class RombuildLogBinarySizeReader
[hide private]
[frames] | no frames]

Class RombuildLogBinarySizeReader

source code

object --+
         |
        RombuildLogBinarySizeReader

Reader that parses a Symbian ROM build log and extracts binary sizes.

This reader will return, using the iterator protocol, tuples containing: * Binary name. * Size of binary. (d+)



Instance Methods [hide private]
 
__init__(self, logpath)
Initialisation.
source code
 
__iter__(self)
Implement the iterator protocol.
source code

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

Class Variables [hide private]
  rom_binary_size_regex = re.compile(r'(\\epoc32[\w\\\.]+)\t(\d+)')
  rofs_binary_size_regex = re.compile(r"ile '([\w\\\.]+)' size: ...
  image_type_regex = re.compile(r'[._]([^._]+)\.log')
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, logpath)
(Constructor)

source code 
Initialisation.
Parameters:
  • logpath - The path to the Symbian log file.
Overrides: object.__init__

Class Variable Details [hide private]

rofs_binary_size_regex

Value:
re.compile(r"ile '([\w\\\.]+)' size: (\w+)")