Package libprs500 :: Module prstypes :: Class ListAnswer
[hide private]
[frames] | no frames]

Class ListAnswer

source code


Defines the structure of packets that contain items in a list.

Instance Methods [hide private]

Inherited from Answer: __init__

Inherited from TransferBuffer: __add__, __getslice__, __str__, pack, unpack

Inherited from TransferBuffer (private): _normalize

Inherited from list: __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__


Class Methods [hide private]

Inherited from TransferBuffer: phex


Class Variables [hide private]
  name_length = An unsigned int stored in 4 bytes starting at byte 20
  name = A string starting at byte 24

Inherited from Answer: length, number


Properties [hide private]
  is_dir
True if list item points to a directory, False if it points to a file.

Inherited from object: __class__


Class Variable Details [hide private]

name_length

None
Value:
An unsigned int stored in 4 bytes starting at byte 20                  
      

name

None
Value:
A string starting at byte 24                                           
      

Property Details [hide private]

is_dir

True if list item points to a directory, False if it points to a file. unsigned int stored in 4 bytes at byte 16.
Get Method:
unreachable.fget(self)
Set Method:
unreachable.fset(self, val)
Delete Method:
None