Trees | Index | Help |
|
---|
Module prototypes :: Class BaseProtogenClass |
|
object
--+
|
BaseProtogenClass
COUNTEDBUFFEREDSTRING
,
CSVSTRING
,
DATA
,
EXTRAZERO
,
LIST
,
PBDateTime
,
SEVENBITSTRING
,
SMSCannedFile
,
SMSDATE
,
SPURIOUSZERO
,
STRING
,
T9USERDBBLOCK
,
UINTlsb
,
USTRING
Method Summary | |
---|---|
autologread(self,
buf,
logtitle)
| |
autologwrite(self,
buf,
logtitle)
| |
Returns our underlying value if sensible (eg an integer, string or list) else returns self | |
Do we contain fields? | |
Returns size in bytes that we occupy | |
Returns tuple of begining,end offsets from last packet we were read or written from. | |
Get our value from the buffer | |
update(self,
*args,
**kwargs)
| |
Scribble ourselves to the buf | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
getvalue(self)Returns our underlying value if sensible (eg an integer, string or list) else returns self |
iscontainer(self)Do we contain fields? |
packetsize(self)Returns size in bytes that we occupy |
packetspan(self)Returns tuple of begining,end offsets from last packet we were read or written from. Note that in normal Python style, end is one beyond the last byte we actually own |
readfrombuffer(self, buf)Get our value from the buffer |
writetobuffer(self, buf)Scribble ourselves to the buf |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:24 2008 | http://epydoc.sf.net |