Package dlinklist :: Module linklist :: Class List
[hide private]
[frames] | no frames]

Class List

source code


This is the top level control structure which keeps track of the Node structure pointers and various variables used in the API.

Instance Methods [hide private]

Inherited from _ctypes.Structure: __init__, __new__

Inherited from unreachable._CData: __ctypes_from_outparam__, __hash__, __reduce__, __setstate__

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

Class Variables [hide private]
  _fields_ = (('head', <class 'dlinklist.linklist.LP_Node'>), ('...
  current = <Field type=LP_Node, ofs=8, size=4>
  current_index = <Field type=c_ulong, ofs=24, size=4>
  head = <Field type=LP_Node, ofs=0, size=4>
  infosize = <Field type=c_long, ofs=16, size=4>
  listsize = <Field type=c_ulong, ofs=20, size=4>
  modified = <Field type=c_bool, ofs=32, size=1>
  save_index = <Field type=c_ulong, ofs=28, size=4>
  saved = <Field type=LP_Node, ofs=12, size=4>
  search_dir = <Field type=c_long, ofs=40, size=4>
  search_origin = <Field type=c_long, ofs=36, size=4>
  tail = <Field type=LP_Node, ofs=4, size=4>
Properties [hide private]

Inherited from unreachable._CData: _b_base_, _b_needsfree_

Inherited from unreachable._CData (private): _objects

Inherited from object: __class__

Class Variable Details [hide private]

_fields_

Value:
(('head', <class 'dlinklist.linklist.LP_Node'>),
 ('tail', <class 'dlinklist.linklist.LP_Node'>),
 ('current', <class 'dlinklist.linklist.LP_Node'>),
 ('saved', <class 'dlinklist.linklist.LP_Node'>),
 ('infosize', <class 'ctypes.c_long'>),
 ('listsize', <class 'ctypes.c_ulong'>),
 ('current_index', <class 'ctypes.c_ulong'>),
 ('save_index', <class 'ctypes.c_ulong'>),
...