diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/symbian.log.Parser-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/symbian.log.Parser-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,306 @@ + + + + + symbian.log.Parser + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package symbian :: + Module log :: + Class Parser + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class Parser

source code

+
+object --+
+         |
+        Parser
+
+ +
+Generic Symbian log parser. You just need to derive that class an override few methods +from the interface to implement your own functionnalities.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + fileobject)
+ The constructor, it accepts a file object: +parser = Parser(open('output.log', 'r'))
+ source code + +
+ +
+   + + + + + + +
parse(self)
+ Function that run the parsing of the log.
+ source code + +
+ +
+   + + + + + + +
start_stage(self, + name, + date)
+ Method to override to catch the start stage event.
+ source code + +
+ +
+   + + + + + + +
end_stage(self, + name, + date)
+ Method to override to catch the end stage event.
+ source code + +
+ +
+   + + + + + + +
task(self, + name, + cmdline, + dir, + output)
+ Method to override to catch the task event.
+ source code + +
+ +
+

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

+
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(self, + fileobject) +
(Constructor) +

+
source code  +
+ + The constructor, it accepts a file object: +parser = Parser(open('output.log', 'r')) +
+
Overrides: + object.__init__ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +