Peach :: Generators :: dictionary :: BinaryList :: Class BinaryList
[hide private]

Class BinaryList

source code


Iterates through a specified list of binary values. When the end of the list is reached a generator.GeneratorCompleted exceoption is raised.

Instance Methods [hide private]
 
__init__(self, group, list=None, packString=None)
Base constructor, please call me!
source code
string
getRawValue(self)
Return raw value w/o passing through transformer if set.
source code

Inherited from List: getList, next, reset, setList

Inherited from generator.Generator: __iter__, getGroup, getName, getTransformer, getValue, identity, setGroup, setName, setTransformer

Static Methods [hide private]
 
unittest() source code
Class Variables [hide private]
  _packString = 'b'

Inherited from List (private): _curPos, _list

Method Details [hide private]

__init__(self, group, list=None, packString=None)
(Constructor)

source code 

Base constructor, please call me!

Parameters:
  • group (Group) - Group this Generator belongs to
  • list (list) - List of values to iterate through
  • packString (string) - Defaults to 'b'
Overrides: generator.Generator.__init__

getRawValue(self)

source code 

Return raw value w/o passing through transformer if set. OVERRIDE

Returns: string
Data before transformations
Overrides: generator.Generator.getRawValue
(inherited documentation)

unittest()
Static Method

source code 
Overrides: List.unittest