# Path: Peach/generator.py
# class Generator(object):
# class SimpleGenerator(Generator):
# class GeneratorCompleted(StopIteration):
#     def __init__(self):
#     def identity(self):
#     def __iter__(self):
#     def next(self):
#     def getValue(self):
#     def getRawValue(self):
#     def getGroup(self):
#     def setGroup(self, group):
#     def getTransformer(self):
#     def setTransformer(self, trans):
#     def reset(self):
#     def getName(self):
#     def setName(self, name):
#     def __init__(self, group=None):
#     def next(self):
#     def getRawValue(self):
#     def reset(self):
# 
# Path: Peach/group.py
# class Group(object):
# class GroupCompleted(StopIteration):
# class GroupSequence(Group):
# class GroupForever(Group):
# class GroupFixed(Group):
# class GroupForeachDo(Group):
#     def __init__(self, name=None):
#     def getName(self):
#     def setName(self, name):
#     def addGenerator(self, gen):
#     def addGenerators(self, gens):
#     def removeGenerator(self, gen):
#     def getAllGenerators(self):
#     def __iter__(self):
#     def next(self):
#     def reset(self):
#     def __init__(self, groups=None, name=None):
#     def getNextGroup(self):
#     def addNewGroup(self, newGroup=None):
#     def append(self, group=None):
#     def remove(self, group):
#     def next(self):
#     def reset(self):
#     def __len__(self):
#     def __getitem__(self, key):
#     def __setitem__(self, key, value):
#     def __delitem__(self, key):
#     def __iter__(self):
#     def __contains__(self, item):
#     def __init__(self, groupSequence):
#     def addGroup(self, group):
#     def _resetAll(self):
#     def _pickStuff(self):
#     def _findAllGroups(self, groupSequence):
#     def next(self):
#     def reset(self):
#     def __init__(self, maxIterations=0):
#     def getMaxIterations(self):
#     def setMaxIterations(self, maxIterations):
#     def next(self):
#     def __init__(self, groupA, groupB, verbose=True, name=""):
#     def next(self):
#     def reset(self):
#     def getForeachGroup(self):
#     def getDoGroup(self):


import struct
from types import *
from Peach import generator, group
from Peach.generator import *
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

#__all__ = ['Incrementor', 'PerCallIncrementor', 'PerRoundIncrementor']

class Incrementor(generator.Generator):
    """
    Increment a value by another value each round. For example,
    one could set 1 as an initial value with an incrementor of 1.
    """

    _roundCount = 0
    _value = None
    _incrementor = None
    _currentValue = None
    _formatString = None
    _maxValue = None
    _maxIterations = None
    _packString = None


# Path: Peach/generator.py
# class Generator(object):
# class SimpleGenerator(Generator):
# class GeneratorCompleted(StopIteration):
#     def __init__(self):
#     def identity(self):
#     def __iter__(self):
#     def next(self):
#     def getValue(self):
#     def getRawValue(self):
#     def getGroup(self):
#     def setGroup(self, group):
#     def getTransformer(self):
#     def setTransformer(self, trans):
#     def reset(self):
#     def getName(self):
#     def setName(self, name):
#     def __init__(self, group=None):
#     def next(self):
#     def getRawValue(self):
#     def reset(self):
# 
# Path: Peach/group.py
# class Group(object):
# class GroupCompleted(StopIteration):
# class GroupSequence(Group):
# class GroupForever(Group):
# class GroupFixed(Group):
# class GroupForeachDo(Group):
#     def __init__(self, name=None):
#     def getName(self):
#     def setName(self, name):
#     def addGenerator(self, gen):
#     def addGenerators(self, gens):
#     def removeGenerator(self, gen):
#     def getAllGenerators(self):
#     def __iter__(self):
#     def next(self):
#     def reset(self):
#     def __init__(self, groups=None, name=None):
#     def getNextGroup(self):
#     def addNewGroup(self, newGroup=None):
#     def append(self, group=None):
#     def remove(self, group):
#     def next(self):
#     def reset(self):
#     def __len__(self):
#     def __getitem__(self, key):
#     def __setitem__(self, key, value):
#     def __delitem__(self, key):
#     def __iter__(self):
#     def __contains__(self, item):
#     def __init__(self, groupSequence):
#     def addGroup(self, group):
#     def _resetAll(self):
#     def _pickStuff(self):
#     def _findAllGroups(self, groupSequence):
#     def next(self):
#     def reset(self):
#     def __init__(self, maxIterations=0):
#     def getMaxIterations(self):
#     def setMaxIterations(self, maxIterations):
#     def next(self):
#     def __init__(self, groupA, groupB, verbose=True, name=""):
#     def next(self):
#     def reset(self):
#     def getForeachGroup(self):
#     def getDoGroup(self):


# Path: Peach/Generators/incrementor.py
import struct
from types import *
from Peach import generator, group
from Peach.generator import *

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

#__all__ = ['Incrementor', 'PerCallIncrementor', 'PerRoundIncrementor']

class Incrementor(generator.Generator):
    """
    Increment a value by another value each round. For example,
    one could set 1 as an initial value with an incrementor of 1.
    """

    _roundCount = 0
    _value = None
    _incrementor = None
    _currentValue = None
    _formatString = None
    _maxValue = None
    _maxIterations = None
    _packString = None


    def __init__(self, group=None, value=1, incrementor=1, formatString=None,