PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/proc/self/root/lib64/python3.6/site-packages/libdnf/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/proc/self/root/lib64/python3.6/site-packages/libdnf/module.py

# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_module')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_module')
    _module = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_module', [dirname(__file__)])
        except ImportError:
            import _module
            return _module
        try:
            _mod = imp.load_module('_module', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _module = swig_import_helper()
    del swig_import_helper
else:
    import _module
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0

class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _module.delete_SwigPyIterator
    __del__ = lambda self: None

    def value(self):
        return _module.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _module.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _module.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _module.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _module.SwigPyIterator_equal(self, x)

    def copy(self):
        return _module.SwigPyIterator_copy(self)

    def next(self):
        return _module.SwigPyIterator_next(self)

    def __next__(self):
        return _module.SwigPyIterator___next__(self)

    def previous(self):
        return _module.SwigPyIterator_previous(self)

    def advance(self, n):
        return _module.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _module.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _module.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _module.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _module.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _module.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _module.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _module.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

import libdnf.common_types
class VectorModulePackagePtr(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorModulePackagePtr, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorModulePackagePtr, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorModulePackagePtr_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorModulePackagePtr___nonzero__(self)

    def __bool__(self):
        return _module.VectorModulePackagePtr___bool__(self)

    def __len__(self):
        return _module.VectorModulePackagePtr___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorModulePackagePtr___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorModulePackagePtr___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorModulePackagePtr___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorModulePackagePtr___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorModulePackagePtr___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorModulePackagePtr___setitem__(self, *args)

    def pop(self):
        return _module.VectorModulePackagePtr_pop(self)

    def append(self, x):
        return _module.VectorModulePackagePtr_append(self, x)

    def empty(self):
        return _module.VectorModulePackagePtr_empty(self)

    def size(self):
        return _module.VectorModulePackagePtr_size(self)

    def swap(self, v):
        return _module.VectorModulePackagePtr_swap(self, v)

    def begin(self):
        return _module.VectorModulePackagePtr_begin(self)

    def end(self):
        return _module.VectorModulePackagePtr_end(self)

    def rbegin(self):
        return _module.VectorModulePackagePtr_rbegin(self)

    def rend(self):
        return _module.VectorModulePackagePtr_rend(self)

    def clear(self):
        return _module.VectorModulePackagePtr_clear(self)

    def get_allocator(self):
        return _module.VectorModulePackagePtr_get_allocator(self)

    def pop_back(self):
        return _module.VectorModulePackagePtr_pop_back(self)

    def erase(self, *args):
        return _module.VectorModulePackagePtr_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorModulePackagePtr(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorModulePackagePtr_push_back(self, x)

    def front(self):
        return _module.VectorModulePackagePtr_front(self)

    def back(self):
        return _module.VectorModulePackagePtr_back(self)

    def assign(self, n, x):
        return _module.VectorModulePackagePtr_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorModulePackagePtr_resize(self, *args)

    def insert(self, *args):
        return _module.VectorModulePackagePtr_insert(self, *args)

    def reserve(self, n):
        return _module.VectorModulePackagePtr_reserve(self, n)

    def capacity(self):
        return _module.VectorModulePackagePtr_capacity(self)
    __swig_destroy__ = _module.delete_VectorModulePackagePtr
    __del__ = lambda self: None
VectorModulePackagePtr_swigregister = _module.VectorModulePackagePtr_swigregister
VectorModulePackagePtr_swigregister(VectorModulePackagePtr)

class VectorVectorVectorModulePackagePtr(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorVectorVectorModulePackagePtr, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorVectorVectorModulePackagePtr, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorVectorVectorModulePackagePtr_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorVectorVectorModulePackagePtr___nonzero__(self)

    def __bool__(self):
        return _module.VectorVectorVectorModulePackagePtr___bool__(self)

    def __len__(self):
        return _module.VectorVectorVectorModulePackagePtr___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorVectorVectorModulePackagePtr___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorVectorVectorModulePackagePtr___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorVectorVectorModulePackagePtr___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorVectorVectorModulePackagePtr___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorVectorVectorModulePackagePtr___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorVectorVectorModulePackagePtr___setitem__(self, *args)

    def pop(self):
        return _module.VectorVectorVectorModulePackagePtr_pop(self)

    def append(self, x):
        return _module.VectorVectorVectorModulePackagePtr_append(self, x)

    def empty(self):
        return _module.VectorVectorVectorModulePackagePtr_empty(self)

    def size(self):
        return _module.VectorVectorVectorModulePackagePtr_size(self)

    def swap(self, v):
        return _module.VectorVectorVectorModulePackagePtr_swap(self, v)

    def begin(self):
        return _module.VectorVectorVectorModulePackagePtr_begin(self)

    def end(self):
        return _module.VectorVectorVectorModulePackagePtr_end(self)

    def rbegin(self):
        return _module.VectorVectorVectorModulePackagePtr_rbegin(self)

    def rend(self):
        return _module.VectorVectorVectorModulePackagePtr_rend(self)

    def clear(self):
        return _module.VectorVectorVectorModulePackagePtr_clear(self)

    def get_allocator(self):
        return _module.VectorVectorVectorModulePackagePtr_get_allocator(self)

    def pop_back(self):
        return _module.VectorVectorVectorModulePackagePtr_pop_back(self)

    def erase(self, *args):
        return _module.VectorVectorVectorModulePackagePtr_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorVectorVectorModulePackagePtr(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorVectorVectorModulePackagePtr_push_back(self, x)

    def front(self):
        return _module.VectorVectorVectorModulePackagePtr_front(self)

    def back(self):
        return _module.VectorVectorVectorModulePackagePtr_back(self)

    def assign(self, n, x):
        return _module.VectorVectorVectorModulePackagePtr_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorVectorVectorModulePackagePtr_resize(self, *args)

    def insert(self, *args):
        return _module.VectorVectorVectorModulePackagePtr_insert(self, *args)

    def reserve(self, n):
        return _module.VectorVectorVectorModulePackagePtr_reserve(self, n)

    def capacity(self):
        return _module.VectorVectorVectorModulePackagePtr_capacity(self)
    __swig_destroy__ = _module.delete_VectorVectorVectorModulePackagePtr
    __del__ = lambda self: None
VectorVectorVectorModulePackagePtr_swigregister = _module.VectorVectorVectorModulePackagePtr_swigregister
VectorVectorVectorModulePackagePtr_swigregister(VectorVectorVectorModulePackagePtr)

class VectorModuleProfile(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorModuleProfile, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorModuleProfile, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorModuleProfile_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorModuleProfile___nonzero__(self)

    def __bool__(self):
        return _module.VectorModuleProfile___bool__(self)

    def __len__(self):
        return _module.VectorModuleProfile___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorModuleProfile___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorModuleProfile___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorModuleProfile___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorModuleProfile___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorModuleProfile___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorModuleProfile___setitem__(self, *args)

    def pop(self):
        return _module.VectorModuleProfile_pop(self)

    def append(self, x):
        return _module.VectorModuleProfile_append(self, x)

    def empty(self):
        return _module.VectorModuleProfile_empty(self)

    def size(self):
        return _module.VectorModuleProfile_size(self)

    def swap(self, v):
        return _module.VectorModuleProfile_swap(self, v)

    def begin(self):
        return _module.VectorModuleProfile_begin(self)

    def end(self):
        return _module.VectorModuleProfile_end(self)

    def rbegin(self):
        return _module.VectorModuleProfile_rbegin(self)

    def rend(self):
        return _module.VectorModuleProfile_rend(self)

    def clear(self):
        return _module.VectorModuleProfile_clear(self)

    def get_allocator(self):
        return _module.VectorModuleProfile_get_allocator(self)

    def pop_back(self):
        return _module.VectorModuleProfile_pop_back(self)

    def erase(self, *args):
        return _module.VectorModuleProfile_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorModuleProfile(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorModuleProfile_push_back(self, x)

    def front(self):
        return _module.VectorModuleProfile_front(self)

    def back(self):
        return _module.VectorModuleProfile_back(self)

    def assign(self, n, x):
        return _module.VectorModuleProfile_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorModuleProfile_resize(self, *args)

    def insert(self, *args):
        return _module.VectorModuleProfile_insert(self, *args)

    def reserve(self, n):
        return _module.VectorModuleProfile_reserve(self, n)

    def capacity(self):
        return _module.VectorModuleProfile_capacity(self)
    __swig_destroy__ = _module.delete_VectorModuleProfile
    __del__ = lambda self: None
VectorModuleProfile_swigregister = _module.VectorModuleProfile_swigregister
VectorModuleProfile_swigregister(VectorModuleProfile)

class VectorModuleDependencies(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorModuleDependencies, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorModuleDependencies, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorModuleDependencies_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorModuleDependencies___nonzero__(self)

    def __bool__(self):
        return _module.VectorModuleDependencies___bool__(self)

    def __len__(self):
        return _module.VectorModuleDependencies___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorModuleDependencies___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorModuleDependencies___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorModuleDependencies___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorModuleDependencies___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorModuleDependencies___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorModuleDependencies___setitem__(self, *args)

    def pop(self):
        return _module.VectorModuleDependencies_pop(self)

    def append(self, x):
        return _module.VectorModuleDependencies_append(self, x)

    def empty(self):
        return _module.VectorModuleDependencies_empty(self)

    def size(self):
        return _module.VectorModuleDependencies_size(self)

    def swap(self, v):
        return _module.VectorModuleDependencies_swap(self, v)

    def begin(self):
        return _module.VectorModuleDependencies_begin(self)

    def end(self):
        return _module.VectorModuleDependencies_end(self)

    def rbegin(self):
        return _module.VectorModuleDependencies_rbegin(self)

    def rend(self):
        return _module.VectorModuleDependencies_rend(self)

    def clear(self):
        return _module.VectorModuleDependencies_clear(self)

    def get_allocator(self):
        return _module.VectorModuleDependencies_get_allocator(self)

    def pop_back(self):
        return _module.VectorModuleDependencies_pop_back(self)

    def erase(self, *args):
        return _module.VectorModuleDependencies_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorModuleDependencies(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorModuleDependencies_push_back(self, x)

    def front(self):
        return _module.VectorModuleDependencies_front(self)

    def back(self):
        return _module.VectorModuleDependencies_back(self)

    def assign(self, n, x):
        return _module.VectorModuleDependencies_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorModuleDependencies_resize(self, *args)

    def insert(self, *args):
        return _module.VectorModuleDependencies_insert(self, *args)

    def reserve(self, n):
        return _module.VectorModuleDependencies_reserve(self, n)

    def capacity(self):
        return _module.VectorModuleDependencies_capacity(self)
    __swig_destroy__ = _module.delete_VectorModuleDependencies
    __del__ = lambda self: None
VectorModuleDependencies_swigregister = _module.VectorModuleDependencies_swigregister
VectorModuleDependencies_swigregister(VectorModuleDependencies)

class VectorString(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorString, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorString, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorString_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorString___nonzero__(self)

    def __bool__(self):
        return _module.VectorString___bool__(self)

    def __len__(self):
        return _module.VectorString___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorString___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorString___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorString___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorString___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorString___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorString___setitem__(self, *args)

    def pop(self):
        return _module.VectorString_pop(self)

    def append(self, x):
        return _module.VectorString_append(self, x)

    def empty(self):
        return _module.VectorString_empty(self)

    def size(self):
        return _module.VectorString_size(self)

    def swap(self, v):
        return _module.VectorString_swap(self, v)

    def begin(self):
        return _module.VectorString_begin(self)

    def end(self):
        return _module.VectorString_end(self)

    def rbegin(self):
        return _module.VectorString_rbegin(self)

    def rend(self):
        return _module.VectorString_rend(self)

    def clear(self):
        return _module.VectorString_clear(self)

    def get_allocator(self):
        return _module.VectorString_get_allocator(self)

    def pop_back(self):
        return _module.VectorString_pop_back(self)

    def erase(self, *args):
        return _module.VectorString_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorString(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorString_push_back(self, x)

    def front(self):
        return _module.VectorString_front(self)

    def back(self):
        return _module.VectorString_back(self)

    def assign(self, n, x):
        return _module.VectorString_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorString_resize(self, *args)

    def insert(self, *args):
        return _module.VectorString_insert(self, *args)

    def reserve(self, n):
        return _module.VectorString_reserve(self, n)

    def capacity(self):
        return _module.VectorString_capacity(self)
    __swig_destroy__ = _module.delete_VectorString
    __del__ = lambda self: None
VectorString_swigregister = _module.VectorString_swigregister
VectorString_swigregister(VectorString)



def VectorString__str__(self):
    return str(list(self))
VectorString.__str__ = VectorString__str__

def VectorString__eq__(self, other):
    return list(self) == list(other)
VectorString.__eq__ = VectorString__eq__

def VectorString__ne__(self, other):
    return list(self) != list(other)
VectorString.__ne__ = VectorString__ne__

def VectorString__lt__(self, other):
    return list(self) < list(other)
VectorString.__lt__ = VectorString__lt__

def VectorString__le__(self, other):
    return list(self) <= list(other)
VectorString.__le__ = VectorString__le__

def VectorString__gt__(self, other):
    return list(self) > list(other)
VectorString.__gt__ = VectorString__gt__

def VectorString__ge__(self, other):
    return list(self) >= list(other)
VectorString.__ge__ = VectorString__ge__

def VectorString__iadd__(self, value):
    self.extend(value)
    return self
VectorString.__iadd__ = VectorString__iadd__

def VectorString__imul__(self, value):
    data = list(self)
    data *= value
    self.clear()
    self.extend(data)
    return self
VectorString.__imul__ = VectorString__imul__

def VectorString__mul__(self, value):
    result = self.copy()
    result *= value
    return result
VectorString.__mul__ = VectorString__mul__

def VectorString__rmul__(self, value):
    return self * value
VectorString.__rmul__ = VectorString__rmul__

def VectorString__add__(self, value):
    result = self.copy()
    result.extend(value)
    return result
VectorString.__add__ = VectorString__add__

def VectorString__append(self, item):
    self.push_back(item)
VectorString.append = VectorString__append

def VectorString__copy(self):
    return VectorString(list(self))
VectorString.copy = VectorString__copy

def VectorString__count(self, item):
    return list(self).count(item)
VectorString.count = VectorString__count

def VectorString__extend(self, iterable):
    for i in iterable:
        self.push_back(i)
VectorString.extend = VectorString__extend

def VectorString__index(self, *args, **kwargs):
    data = list(self)
    return data.index(*args, **kwargs)
VectorString.index = VectorString__index

def VectorString__insert(self, *args, **kwargs):
    data = list(self)
    data.insert(*args, **kwargs)
    self.clear()
    self.extend(data)
VectorString.insert = VectorString__insert

def VectorString__remove(self, *args, **kwargs):
    data = list(self)
    data.remove(*args, **kwargs)
    self.clear()
    self.extend(data)
VectorString.remove = VectorString__remove

def VectorString__sort(self, *args, **kwargs):
    data = list(self)
    data.sort()
    self.clear()
    self.extend(data)
VectorString.sort = VectorString__sort

def VectorString__reverse(self, *args, **kwargs):
    data = list(self)
    data.reverse()
    self.clear()
    self.extend(data)
VectorString.reverse = VectorString__reverse

class MapStringVectorString(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MapStringVectorString, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MapStringVectorString, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.MapStringVectorString_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.MapStringVectorString___nonzero__(self)

    def __bool__(self):
        return _module.MapStringVectorString___bool__(self)

    def __len__(self):
        return _module.MapStringVectorString___len__(self)
    def __iter__(self):
        return self.key_iterator()
    def iterkeys(self):
        return self.key_iterator()
    def itervalues(self):
        return self.value_iterator()
    def iteritems(self):
        return self.iterator()

    def __getitem__(self, key):
        return _module.MapStringVectorString___getitem__(self, key)

    def __delitem__(self, key):
        return _module.MapStringVectorString___delitem__(self, key)

    def has_key(self, key):
        return _module.MapStringVectorString_has_key(self, key)

    def keys(self):
        return _module.MapStringVectorString_keys(self)

    def values(self):
        return _module.MapStringVectorString_values(self)

    def items(self):
        return _module.MapStringVectorString_items(self)

    def __contains__(self, key):
        return _module.MapStringVectorString___contains__(self, key)

    def key_iterator(self):
        return _module.MapStringVectorString_key_iterator(self)

    def value_iterator(self):
        return _module.MapStringVectorString_value_iterator(self)

    def __setitem__(self, *args):
        return _module.MapStringVectorString___setitem__(self, *args)

    def asdict(self):
        return _module.MapStringVectorString_asdict(self)

    def __init__(self, *args):
        this = _module.new_MapStringVectorString(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def empty(self):
        return _module.MapStringVectorString_empty(self)

    def size(self):
        return _module.MapStringVectorString_size(self)

    def swap(self, v):
        return _module.MapStringVectorString_swap(self, v)

    def begin(self):
        return _module.MapStringVectorString_begin(self)

    def end(self):
        return _module.MapStringVectorString_end(self)

    def rbegin(self):
        return _module.MapStringVectorString_rbegin(self)

    def rend(self):
        return _module.MapStringVectorString_rend(self)

    def clear(self):
        return _module.MapStringVectorString_clear(self)

    def get_allocator(self):
        return _module.MapStringVectorString_get_allocator(self)

    def count(self, x):
        return _module.MapStringVectorString_count(self, x)

    def erase(self, *args):
        return _module.MapStringVectorString_erase(self, *args)

    def find(self, x):
        return _module.MapStringVectorString_find(self, x)

    def lower_bound(self, x):
        return _module.MapStringVectorString_lower_bound(self, x)

    def upper_bound(self, x):
        return _module.MapStringVectorString_upper_bound(self, x)
    __swig_destroy__ = _module.delete_MapStringVectorString
    __del__ = lambda self: None
MapStringVectorString_swigregister = _module.MapStringVectorString_swigregister
MapStringVectorString_swigregister(MapStringVectorString)

class VectorMapStringVectorString(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorMapStringVectorString, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorMapStringVectorString, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorMapStringVectorString_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorMapStringVectorString___nonzero__(self)

    def __bool__(self):
        return _module.VectorMapStringVectorString___bool__(self)

    def __len__(self):
        return _module.VectorMapStringVectorString___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorMapStringVectorString___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorMapStringVectorString___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorMapStringVectorString___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorMapStringVectorString___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorMapStringVectorString___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorMapStringVectorString___setitem__(self, *args)

    def pop(self):
        return _module.VectorMapStringVectorString_pop(self)

    def append(self, x):
        return _module.VectorMapStringVectorString_append(self, x)

    def empty(self):
        return _module.VectorMapStringVectorString_empty(self)

    def size(self):
        return _module.VectorMapStringVectorString_size(self)

    def swap(self, v):
        return _module.VectorMapStringVectorString_swap(self, v)

    def begin(self):
        return _module.VectorMapStringVectorString_begin(self)

    def end(self):
        return _module.VectorMapStringVectorString_end(self)

    def rbegin(self):
        return _module.VectorMapStringVectorString_rbegin(self)

    def rend(self):
        return _module.VectorMapStringVectorString_rend(self)

    def clear(self):
        return _module.VectorMapStringVectorString_clear(self)

    def get_allocator(self):
        return _module.VectorMapStringVectorString_get_allocator(self)

    def pop_back(self):
        return _module.VectorMapStringVectorString_pop_back(self)

    def erase(self, *args):
        return _module.VectorMapStringVectorString_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorMapStringVectorString(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorMapStringVectorString_push_back(self, x)

    def front(self):
        return _module.VectorMapStringVectorString_front(self)

    def back(self):
        return _module.VectorMapStringVectorString_back(self)

    def assign(self, n, x):
        return _module.VectorMapStringVectorString_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorMapStringVectorString_resize(self, *args)

    def insert(self, *args):
        return _module.VectorMapStringVectorString_insert(self, *args)

    def reserve(self, n):
        return _module.VectorMapStringVectorString_reserve(self, n)

    def capacity(self):
        return _module.VectorMapStringVectorString_capacity(self)
    __swig_destroy__ = _module.delete_VectorMapStringVectorString
    __del__ = lambda self: None
VectorMapStringVectorString_swigregister = _module.VectorMapStringVectorString_swigregister
VectorMapStringVectorString_swigregister(VectorMapStringVectorString)

class VectorVectorString(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, VectorVectorString, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, VectorVectorString, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _module.VectorVectorString_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _module.VectorVectorString___nonzero__(self)

    def __bool__(self):
        return _module.VectorVectorString___bool__(self)

    def __len__(self):
        return _module.VectorVectorString___len__(self)

    def __getslice__(self, i, j):
        return _module.VectorVectorString___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _module.VectorVectorString___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _module.VectorVectorString___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _module.VectorVectorString___delitem__(self, *args)

    def __getitem__(self, *args):
        return _module.VectorVectorString___getitem__(self, *args)

    def __setitem__(self, *args):
        return _module.VectorVectorString___setitem__(self, *args)

    def pop(self):
        return _module.VectorVectorString_pop(self)

    def append(self, x):
        return _module.VectorVectorString_append(self, x)

    def empty(self):
        return _module.VectorVectorString_empty(self)

    def size(self):
        return _module.VectorVectorString_size(self)

    def swap(self, v):
        return _module.VectorVectorString_swap(self, v)

    def begin(self):
        return _module.VectorVectorString_begin(self)

    def end(self):
        return _module.VectorVectorString_end(self)

    def rbegin(self):
        return _module.VectorVectorString_rbegin(self)

    def rend(self):
        return _module.VectorVectorString_rend(self)

    def clear(self):
        return _module.VectorVectorString_clear(self)

    def get_allocator(self):
        return _module.VectorVectorString_get_allocator(self)

    def pop_back(self):
        return _module.VectorVectorString_pop_back(self)

    def erase(self, *args):
        return _module.VectorVectorString_erase(self, *args)

    def __init__(self, *args):
        this = _module.new_VectorVectorString(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _module.VectorVectorString_push_back(self, x)

    def front(self):
        return _module.VectorVectorString_front(self)

    def back(self):
        return _module.VectorVectorString_back(self)

    def assign(self, n, x):
        return _module.VectorVectorString_assign(self, n, x)

    def resize(self, *args):
        return _module.VectorVectorString_resize(self, *args)

    def insert(self, *args):
        return _module.VectorVectorString_insert(self, *args)

    def reserve(self, n):
        return _module.VectorVectorString_reserve(self, n)

    def capacity(self):
        return _module.VectorVectorString_capacity(self)
    __swig_destroy__ = _module.delete_VectorVectorString
    __del__ = lambda self: None
VectorVectorString_swigregister = _module.VectorVectorString_swigregister
VectorVectorString_swigregister(VectorVectorString)

class ModulePackage(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ModulePackage, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ModulePackage, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _module.delete_ModulePackage
    __del__ = lambda self: None

    def getNameCStr(self):
        return _module.ModulePackage_getNameCStr(self)

    def getName(self):
        return _module.ModulePackage_getName(self)

    def getStreamCStr(self):
        return _module.ModulePackage_getStreamCStr(self)

    def getStream(self):
        return _module.ModulePackage_getStream(self)

    def getNameStream(self):
        return _module.ModulePackage_getNameStream(self)

    def getNameStreamVersion(self):
        return _module.ModulePackage_getNameStreamVersion(self)

    def getRepoID(self):
        return _module.ModulePackage_getRepoID(self)

    def getVersion(self):
        return _module.ModulePackage_getVersion(self)

    def getVersionNum(self):
        return _module.ModulePackage_getVersionNum(self)

    def getContextCStr(self):
        return _module.ModulePackage_getContextCStr(self)

    def getContext(self):
        return _module.ModulePackage_getContext(self)

    def getArchCStr(self):
        return _module.ModulePackage_getArchCStr(self)

    def getArch(self):
        return _module.ModulePackage_getArch(self)

    def getFullIdentifier(self):
        return _module.ModulePackage_getFullIdentifier(self)

    def getSummary(self):
        return _module.ModulePackage_getSummary(self)

    def getDescription(self):
        return _module.ModulePackage_getDescription(self)

    def getArtifacts(self):
        return _module.ModulePackage_getArtifacts(self)

    def __eq__(self, r):
        return _module.ModulePackage___eq__(self, r)

    def getProfiles(self, *args):
        return _module.ModulePackage_getProfiles(self, *args)

    def getDefaultProfile(self):
        return _module.ModulePackage_getDefaultProfile(self)

    def getModuleDependencies(self):
        return _module.ModulePackage_getModuleDependencies(self)

    def addStreamConflict(self, package):
        return _module.ModulePackage_addStreamConflict(self, package)

    def getId(self):
        return _module.ModulePackage_getId(self)

    def getYaml(self):
        return _module.ModulePackage_getYaml(self)

    def getStaticContext(self):
        return _module.ModulePackage_getStaticContext(self)

    def getRequires(self, removePlatform=False):
        return _module.ModulePackage_getRequires(self, removePlatform)

    def __hash__(self):
        return _module.ModulePackage___hash__(self)
ModulePackage_swigregister = _module.ModulePackage_swigregister
ModulePackage_swigregister(ModulePackage)

class ModulePackageContainer(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ModulePackageContainer, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ModulePackageContainer, name)
    __repr__ = _swig_repr
    ModuleState_UNKNOWN = _module.ModulePackageContainer_ModuleState_UNKNOWN
    ModuleState_ENABLED = _module.ModulePackageContainer_ModuleState_ENABLED
    ModuleState_DISABLED = _module.ModulePackageContainer_ModuleState_DISABLED
    ModuleState_DEFAULT = _module.ModulePackageContainer_ModuleState_DEFAULT
    ModuleState_INSTALLED = _module.ModulePackageContainer_ModuleState_INSTALLED
    ModuleErrorType_NO_ERROR = _module.ModulePackageContainer_ModuleErrorType_NO_ERROR
    ModuleErrorType_INFO = _module.ModulePackageContainer_ModuleErrorType_INFO
    ModuleErrorType_ERROR_IN_DEFAULTS = _module.ModulePackageContainer_ModuleErrorType_ERROR_IN_DEFAULTS
    ModuleErrorType_ERROR = _module.ModulePackageContainer_ModuleErrorType_ERROR
    ModuleErrorType_CANNOT_RESOLVE_MODULES = _module.ModulePackageContainer_ModuleErrorType_CANNOT_RESOLVE_MODULES
    ModuleErrorType_CANNOT_RESOLVE_MODULE_SPEC = _module.ModulePackageContainer_ModuleErrorType_CANNOT_RESOLVE_MODULE_SPEC
    ModuleErrorType_CANNOT_ENABLE_MULTIPLE_STREAMS = _module.ModulePackageContainer_ModuleErrorType_CANNOT_ENABLE_MULTIPLE_STREAMS
    ModuleErrorType_CANNOT_MODIFY_MULTIPLE_TIMES_MODULE_STATE = _module.ModulePackageContainer_ModuleErrorType_CANNOT_MODIFY_MULTIPLE_TIMES_MODULE_STATE

    def __init__(self, allArch, installRoot, arch, persistDir=None):
        this = _module.new_ModulePackageContainer(allArch, installRoot, arch, persistDir)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _module.delete_ModulePackageContainer
    __del__ = lambda self: None

    def add(self, *args):
        return _module.ModulePackageContainer_add(self, *args)

    def addDefaultsFromDisk(self):
        return _module.ModulePackageContainer_addDefaultsFromDisk(self)

    def moduleDefaultsResolve(self):
        return _module.ModulePackageContainer_moduleDefaultsResolve(self)

    def addPlatformPackage(self, *args):
        return _module.ModulePackageContainer_addPlatformPackage(self, *args)

    def createConflictsBetweenStreams(self):
        return _module.ModulePackageContainer_createConflictsBetweenStreams(self)

    def empty(self):
        return _module.ModulePackageContainer_empty(self)

    def getModulePackage(self, id):
        return _module.ModulePackageContainer_getModulePackage(self, id)

    def getModulePackages(self):
        return _module.ModulePackageContainer_getModulePackages(self)

    def getLatestModulesPerRepo(self, moduleFilter, modulePackages):
        return _module.ModulePackageContainer_getLatestModulesPerRepo(self, moduleFilter, modulePackages)

    def getLatestModules(self, modulePackages, activeOnly):
        return _module.ModulePackageContainer_getLatestModules(self, modulePackages, activeOnly)

    def requiresModuleEnablement(self, packages):
        return _module.ModulePackageContainer_requiresModuleEnablement(self, packages)

    def enable(self, *args):
        return _module.ModulePackageContainer_enable(self, *args)

    def disable(self, *args):
        return _module.ModulePackageContainer_disable(self, *args)

    def reset(self, *args):
        return _module.ModulePackageContainer_reset(self, *args)

    def install(self, *args):
        return _module.ModulePackageContainer_install(self, *args)

    def uninstall(self, *args):
        return _module.ModulePackageContainer_uninstall(self, *args)

    def save(self):
        return _module.ModulePackageContainer_save(self)

    def rollback(self):
        return _module.ModulePackageContainer_rollback(self)

    def isChanged(self):
        return _module.ModulePackageContainer_isChanged(self)

    def isEnabled(self, *args):
        return _module.ModulePackageContainer_isEnabled(self, *args)

    def isDisabled(self, *args):
        return _module.ModulePackageContainer_isDisabled(self, *args)

    def getModuleState(self, name):
        return _module.ModulePackageContainer_getModuleState(self, name)

    def getInstalledPkgNames(self):
        return _module.ModulePackageContainer_getInstalledPkgNames(self)

    def getReport(self):
        return _module.ModulePackageContainer_getReport(self)

    def getDefaultProfiles(self, moduleName, moduleStream):
        return _module.ModulePackageContainer_getDefaultProfiles(self, moduleName, moduleStream)

    def getDefaultStream(self, name):
        return _module.ModulePackageContainer_getDefaultStream(self, name)

    def getEnabledStream(self, name):
        return _module.ModulePackageContainer_getEnabledStream(self, name)

    def getEnabledStreams(self):
        return _module.ModulePackageContainer_getEnabledStreams(self)

    def getDisabledModules(self):
        return _module.ModulePackageContainer_getDisabledModules(self)

    def getDisabledStreams(self):
        return _module.ModulePackageContainer_getDisabledStreams(self)

    def getResetModules(self):
        return _module.ModulePackageContainer_getResetModules(self)

    def getResetStreams(self):
        return _module.ModulePackageContainer_getResetStreams(self)

    def getSwitchedStreams(self):
        return _module.ModulePackageContainer_getSwitchedStreams(self)

    def getInstalledProfiles(self, *args):
        return _module.ModulePackageContainer_getInstalledProfiles(self, *args)

    def getRemovedProfiles(self):
        return _module.ModulePackageContainer_getRemovedProfiles(self)

    def query(self, *args):
        return _module.ModulePackageContainer_query(self, *args)

    def enableDependencyTree(self, modulePackages):
        return _module.ModulePackageContainer_enableDependencyTree(self, modulePackages)

    def resolveActiveModulePackages(self, debugSolver):
        return _module.ModulePackageContainer_resolveActiveModulePackages(self, debugSolver)

    def isModuleActive(self, *args):
        return _module.ModulePackageContainer_isModuleActive(self, *args)

    def loadFailSafeData(self):
        return _module.ModulePackageContainer_loadFailSafeData(self)

    def updateFailSafeData(self):
        return _module.ModulePackageContainer_updateFailSafeData(self)

    def applyObsoletes(self):
        return _module.ModulePackageContainer_applyObsoletes(self)
ModulePackageContainer_swigregister = _module.ModulePackageContainer_swigregister
ModulePackageContainer_swigregister(ModulePackageContainer)

class ModuleProfile(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ModuleProfile, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ModuleProfile, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _module.new_ModuleProfile(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _module.delete_ModuleProfile
    __del__ = lambda self: None

    def getName(self):
        return _module.ModuleProfile_getName(self)

    def getDescription(self):
        return _module.ModuleProfile_getDescription(self)

    def getContent(self):
        return _module.ModuleProfile_getContent(self)

    def isDefault(self):
        return _module.ModuleProfile_isDefault(self)
ModuleProfile_swigregister = _module.ModuleProfile_swigregister
ModuleProfile_swigregister(ModuleProfile)

class ModuleDependencies(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ModuleDependencies, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ModuleDependencies, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _module.new_ModuleDependencies(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _module.delete_ModuleDependencies
    __del__ = lambda self: None

    def getRequires(self):
        return _module.ModuleDependencies_getRequires(self)
ModuleDependencies_swigregister = _module.ModuleDependencies_swigregister
ModuleDependencies_swigregister(ModuleDependencies)

class PairVectorVectorStringModuleErrorType(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PairVectorVectorStringModuleErrorType, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PairVectorVectorStringModuleErrorType, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _module.new_PairVectorVectorStringModuleErrorType(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_setmethods__["first"] = _module.PairVectorVectorStringModuleErrorType_first_set
    __swig_getmethods__["first"] = _module.PairVectorVectorStringModuleErrorType_first_get
    if _newclass:
        first = _swig_property(_module.PairVectorVectorStringModuleErrorType_first_get, _module.PairVectorVectorStringModuleErrorType_first_set)
    __swig_setmethods__["second"] = _module.PairVectorVectorStringModuleErrorType_second_set
    __swig_getmethods__["second"] = _module.PairVectorVectorStringModuleErrorType_second_get
    if _newclass:
        second = _swig_property(_module.PairVectorVectorStringModuleErrorType_second_get, _module.PairVectorVectorStringModuleErrorType_second_set)
    def __len__(self):
        return 2
    def __repr__(self):
        return str((self.first, self.second))
    def __getitem__(self, index): 
        if not (index % 2):
            return self.first
        else:
            return self.second
    def __setitem__(self, index, val):
        if not (index % 2):
            self.first = val
        else:
            self.second = val
    __swig_destroy__ = _module.delete_PairVectorVectorStringModuleErrorType
    __del__ = lambda self: None
PairVectorVectorStringModuleErrorType_swigregister = _module.PairVectorVectorStringModuleErrorType_swigregister
PairVectorVectorStringModuleErrorType_swigregister(PairVectorVectorStringModuleErrorType)

# This file is compatible with both classic and new-style classes.