Trees | Index | Help |
|
---|
Module prototypes :: Class LIST |
|
object
--+ |BaseProtogenClass
--+ | LIST
A list of items
You can generally treat this class as though it is a list. Note that some list like methods haven't been implemented (there are so darn many!) If you are missing one you want to use, please add it to this class.Method Summary | |
---|---|
You can pass objects to start the list with, or to the value keyword arg | |
__delitem__(self,
index)
| |
__getitem__(self,
index)
| |
__iter__(self)
| |
__len__(self)
| |
__setitem__(self,
index,
value)
| |
append(self,
item)
| |
containerelements(self)
| |
extend(self,
items)
| |
insert(self,
index,
item)
| |
Do we contain fields? | |
Returns size in bytes that we occupy | |
Get our value from the buffer | |
Scribble ourselves to the buf | |
Inherited from BaseProtogenClass | |
| |
| |
Returns our underlying value if sensible (eg an integer, string or list) else returns self | |
Returns tuple of begining,end offsets from last packet we were read or written from. | |
| |
Inherited from object | |
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 |
---|
__init__(self,
*args,
**kwargs)
You can pass objects to start the list with, or to the value keyword
arg
|
iscontainer(self)Do we contain fields?
|
packetsize(self)Returns size in bytes that we occupy
|
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:27 2008 | http://epydoc.sf.net |