# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# 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
if 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('_poldiff', [dirname(__file__)])
        except ImportError:
            import _poldiff
            return _poldiff
        if fp is not None:
            try:
                _mod = imp.load_module('_poldiff', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _poldiff = swig_import_helper()
    del swig_import_helper
else:
    import _poldiff
del version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


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_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


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

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object:
        pass
    _newclass = 0


import apol
import qpol

def libpoldiff_get_version():
    return _poldiff.libpoldiff_get_version()
libpoldiff_get_version = _poldiff.libpoldiff_get_version

_poldiff.POLDIFF_DIFF_CLASSES_swigconstant(_poldiff)
POLDIFF_DIFF_CLASSES = _poldiff.POLDIFF_DIFF_CLASSES

_poldiff.POLDIFF_DIFF_COMMONS_swigconstant(_poldiff)
POLDIFF_DIFF_COMMONS = _poldiff.POLDIFF_DIFF_COMMONS

_poldiff.POLDIFF_DIFF_TYPES_swigconstant(_poldiff)
POLDIFF_DIFF_TYPES = _poldiff.POLDIFF_DIFF_TYPES

_poldiff.POLDIFF_DIFF_ATTRIBS_swigconstant(_poldiff)
POLDIFF_DIFF_ATTRIBS = _poldiff.POLDIFF_DIFF_ATTRIBS

_poldiff.POLDIFF_DIFF_ROLES_swigconstant(_poldiff)
POLDIFF_DIFF_ROLES = _poldiff.POLDIFF_DIFF_ROLES

_poldiff.POLDIFF_DIFF_USERS_swigconstant(_poldiff)
POLDIFF_DIFF_USERS = _poldiff.POLDIFF_DIFF_USERS

_poldiff.POLDIFF_DIFF_BOOLS_swigconstant(_poldiff)
POLDIFF_DIFF_BOOLS = _poldiff.POLDIFF_DIFF_BOOLS

_poldiff.POLDIFF_DIFF_LEVELS_swigconstant(_poldiff)
POLDIFF_DIFF_LEVELS = _poldiff.POLDIFF_DIFF_LEVELS

_poldiff.POLDIFF_DIFF_CATS_swigconstant(_poldiff)
POLDIFF_DIFF_CATS = _poldiff.POLDIFF_DIFF_CATS

_poldiff.POLDIFF_DIFF_AVRULES_swigconstant(_poldiff)
POLDIFF_DIFF_AVRULES = _poldiff.POLDIFF_DIFF_AVRULES

_poldiff.POLDIFF_DIFF_TERULES_swigconstant(_poldiff)
POLDIFF_DIFF_TERULES = _poldiff.POLDIFF_DIFF_TERULES

_poldiff.POLDIFF_DIFF_ROLE_ALLOWS_swigconstant(_poldiff)
POLDIFF_DIFF_ROLE_ALLOWS = _poldiff.POLDIFF_DIFF_ROLE_ALLOWS

_poldiff.POLDIFF_DIFF_ROLE_TRANS_swigconstant(_poldiff)
POLDIFF_DIFF_ROLE_TRANS = _poldiff.POLDIFF_DIFF_ROLE_TRANS

_poldiff.POLDIFF_DIFF_RANGE_TRANS_swigconstant(_poldiff)
POLDIFF_DIFF_RANGE_TRANS = _poldiff.POLDIFF_DIFF_RANGE_TRANS

_poldiff.POLDIFF_DIFF_SYMBOLS_swigconstant(_poldiff)
POLDIFF_DIFF_SYMBOLS = _poldiff.POLDIFF_DIFF_SYMBOLS

_poldiff.POLDIFF_DIFF_RULES_swigconstant(_poldiff)
POLDIFF_DIFF_RULES = _poldiff.POLDIFF_DIFF_RULES

_poldiff.POLDIFF_DIFF_RBAC_swigconstant(_poldiff)
POLDIFF_DIFF_RBAC = _poldiff.POLDIFF_DIFF_RBAC

_poldiff.POLDIFF_DIFF_MLS_swigconstant(_poldiff)
POLDIFF_DIFF_MLS = _poldiff.POLDIFF_DIFF_MLS

_poldiff.POLDIFF_DIFF_OCONS_swigconstant(_poldiff)
POLDIFF_DIFF_OCONS = _poldiff.POLDIFF_DIFF_OCONS

_poldiff.POLDIFF_DIFF_REMAPPED_swigconstant(_poldiff)
POLDIFF_DIFF_REMAPPED = _poldiff.POLDIFF_DIFF_REMAPPED

_poldiff.POLDIFF_DIFF_ALL_swigconstant(_poldiff)
POLDIFF_DIFF_ALL = _poldiff.POLDIFF_DIFF_ALL

_poldiff.POLDIFF_FORM_NONE_swigconstant(_poldiff)
POLDIFF_FORM_NONE = _poldiff.POLDIFF_FORM_NONE

_poldiff.POLDIFF_FORM_ADDED_swigconstant(_poldiff)
POLDIFF_FORM_ADDED = _poldiff.POLDIFF_FORM_ADDED

_poldiff.POLDIFF_FORM_REMOVED_swigconstant(_poldiff)
POLDIFF_FORM_REMOVED = _poldiff.POLDIFF_FORM_REMOVED

_poldiff.POLDIFF_FORM_MODIFIED_swigconstant(_poldiff)
POLDIFF_FORM_MODIFIED = _poldiff.POLDIFF_FORM_MODIFIED

_poldiff.POLDIFF_FORM_ADD_TYPE_swigconstant(_poldiff)
POLDIFF_FORM_ADD_TYPE = _poldiff.POLDIFF_FORM_ADD_TYPE

_poldiff.POLDIFF_FORM_REMOVE_TYPE_swigconstant(_poldiff)
POLDIFF_FORM_REMOVE_TYPE = _poldiff.POLDIFF_FORM_REMOVE_TYPE
class poldiff_stats_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_stats_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_stats_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_stats_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_stats_t
    __del__ = lambda self: None

    def get_stat(self, form):
        return _poldiff.poldiff_stats_t_get_stat(self, form)
poldiff_stats_t_swigregister = _poldiff.poldiff_stats_t_swigregister
poldiff_stats_t_swigregister(poldiff_stats_t)


def to_ulong(x):
    return _poldiff.to_ulong(x)
to_ulong = _poldiff.to_ulong
class poldiff_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_t, name)
    __repr__ = _swig_repr

    def __init__(self, op, mp):
        this = _poldiff.new_poldiff_t(op, mp)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_t
    __del__ = lambda self: None

    def run(self, flags):
        return _poldiff.poldiff_t_run(self, flags)

    def is_run(self, flags):
        return _poldiff.poldiff_t_is_run(self, flags)

    def get_stats(self, flags):
        return _poldiff.poldiff_t_get_stats(self, flags)

    def enable_line_numbers(self):
        return _poldiff.poldiff_t_enable_line_numbers(self)

    def get_attrib_vector(self):
        return _poldiff.poldiff_t_get_attrib_vector(self)

    def get_avrule_vector_allow(self):
        return _poldiff.poldiff_t_get_avrule_vector_allow(self)

    def get_avrule_vector_auditallow(self):
        return _poldiff.poldiff_t_get_avrule_vector_auditallow(self)

    def get_avrule_vector_dontaudit(self):
        return _poldiff.poldiff_t_get_avrule_vector_dontaudit(self)

    def get_avrule_vector_neverallow(self):
        return _poldiff.poldiff_t_get_avrule_vector_neverallow(self)

    def get_bool_vector(self):
        return _poldiff.poldiff_t_get_bool_vector(self)

    def get_cat_vector(self):
        return _poldiff.poldiff_t_get_cat_vector(self)

    def get_class_vector(self):
        return _poldiff.poldiff_t_get_class_vector(self)

    def get_common_vector(self):
        return _poldiff.poldiff_t_get_common_vector(self)

    def get_level_vector(self):
        return _poldiff.poldiff_t_get_level_vector(self)

    def get_range_trans_vector(self):
        return _poldiff.poldiff_t_get_range_trans_vector(self)

    def get_role_allow_vector(self):
        return _poldiff.poldiff_t_get_role_allow_vector(self)

    def get_role_trans_vector(self):
        return _poldiff.poldiff_t_get_role_trans_vector(self)

    def get_role_vector(self):
        return _poldiff.poldiff_t_get_role_vector(self)

    def get_terule_vector_change(self):
        return _poldiff.poldiff_t_get_terule_vector_change(self)

    def get_terule_vector_member(self):
        return _poldiff.poldiff_t_get_terule_vector_member(self)

    def get_terule_vector_trans(self):
        return _poldiff.poldiff_t_get_terule_vector_trans(self)

    def get_type_vector(self):
        return _poldiff.poldiff_t_get_type_vector(self)

    def get_user_vector(self):
        return _poldiff.poldiff_t_get_user_vector(self)

    def get_type_remap_entries(self):
        return _poldiff.poldiff_t_get_type_remap_entries(self)

    def type_remap_create(self, orig_types, mod_types):
        return _poldiff.poldiff_t_type_remap_create(self, orig_types, mod_types)

    def type_remap_remove(self, ent):
        return _poldiff.poldiff_t_type_remap_remove(self, ent)
poldiff_t_swigregister = _poldiff.poldiff_t_swigregister
poldiff_t_swigregister(poldiff_t)

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

    def __init__(self):
        this = _poldiff.new_poldiff_attrib_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_attrib_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_attrib_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_attrib_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_attrib_t_get_form(self)

    def get_added_types(self):
        return _poldiff.poldiff_attrib_t_get_added_types(self)

    def get_removed_types(self):
        return _poldiff.poldiff_attrib_t_get_removed_types(self)
poldiff_attrib_t_swigregister = _poldiff.poldiff_attrib_t_swigregister
poldiff_attrib_t_swigregister(poldiff_attrib_t)


def poldiff_attrib_from_void(x):
    return _poldiff.poldiff_attrib_from_void(x)
poldiff_attrib_from_void = _poldiff.poldiff_attrib_from_void
class poldiff_avrule_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_avrule_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_avrule_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_avrule_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_avrule_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_avrule_t_to_string(self, p)

    def get_form(self):
        return _poldiff.poldiff_avrule_t_get_form(self)

    def get_rule_type(self):
        return _poldiff.poldiff_avrule_t_get_rule_type(self)

    def get_source_type(self):
        return _poldiff.poldiff_avrule_t_get_source_type(self)

    def get_target_type(self):
        return _poldiff.poldiff_avrule_t_get_target_type(self)

    def get_object_class(self):
        return _poldiff.poldiff_avrule_t_get_object_class(self)

    def get_cond(self, p):
        return _poldiff.poldiff_avrule_t_get_cond(self, p)

    def get_cond_list(self, p):
        return _poldiff.poldiff_avrule_t_get_cond_list(self, p)

    def get_cond_policy(self, p):
        return _poldiff.poldiff_avrule_t_get_cond_policy(self, p)

    def get_unmodified_perms(self):
        return _poldiff.poldiff_avrule_t_get_unmodified_perms(self)

    def get_added_perms(self):
        return _poldiff.poldiff_avrule_t_get_added_perms(self)

    def get_removed_perms(self):
        return _poldiff.poldiff_avrule_t_get_removed_perms(self)

    def get_orig_line_numbers(self):
        return _poldiff.poldiff_avrule_t_get_orig_line_numbers(self)

    def get_orig_line_numbers_for_perm(self, p, perm):
        return _poldiff.poldiff_avrule_t_get_orig_line_numbers_for_perm(self, p, perm)

    def get_mod_line_numbers(self):
        return _poldiff.poldiff_avrule_t_get_mod_line_numbers(self)

    def get_mod_line_numbers_for_perm(self, p, perm):
        return _poldiff.poldiff_avrule_t_get_mod_line_numbers_for_perm(self, p, perm)
poldiff_avrule_t_swigregister = _poldiff.poldiff_avrule_t_swigregister
poldiff_avrule_t_swigregister(poldiff_avrule_t)


def poldiff_avrule_from_void(x):
    return _poldiff.poldiff_avrule_from_void(x)
poldiff_avrule_from_void = _poldiff.poldiff_avrule_from_void
class poldiff_bool_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_bool_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_bool_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_bool_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_bool_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_bool_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_bool_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_bool_t_get_form(self)
poldiff_bool_t_swigregister = _poldiff.poldiff_bool_t_swigregister
poldiff_bool_t_swigregister(poldiff_bool_t)


def poldiff_bool_from_void(x):
    return _poldiff.poldiff_bool_from_void(x)
poldiff_bool_from_void = _poldiff.poldiff_bool_from_void
class poldiff_cat_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_cat_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_cat_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_cat_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_cat_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_cat_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_cat_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_cat_t_get_form(self)
poldiff_cat_t_swigregister = _poldiff.poldiff_cat_t_swigregister
poldiff_cat_t_swigregister(poldiff_cat_t)


def poldiff_cat_from_void(x):
    return _poldiff.poldiff_cat_from_void(x)
poldiff_cat_from_void = _poldiff.poldiff_cat_from_void
class poldiff_class_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_class_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_class_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_class_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_class_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_class_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_class_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_class_t_get_form(self)

    def get_added_perms(self):
        return _poldiff.poldiff_class_t_get_added_perms(self)

    def get_removed_perms(self):
        return _poldiff.poldiff_class_t_get_removed_perms(self)
poldiff_class_t_swigregister = _poldiff.poldiff_class_t_swigregister
poldiff_class_t_swigregister(poldiff_class_t)


def poldiff_class_from_void(x):
    return _poldiff.poldiff_class_from_void(x)
poldiff_class_from_void = _poldiff.poldiff_class_from_void
class poldiff_common_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_common_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_common_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_common_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_common_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_common_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_common_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_common_t_get_form(self)

    def get_added_perms(self):
        return _poldiff.poldiff_common_t_get_added_perms(self)

    def get_removed_perms(self):
        return _poldiff.poldiff_common_t_get_removed_perms(self)
poldiff_common_t_swigregister = _poldiff.poldiff_common_t_swigregister
poldiff_common_t_swigregister(poldiff_common_t)


def poldiff_common_from_void(x):
    return _poldiff.poldiff_common_from_void(x)
poldiff_common_from_void = _poldiff.poldiff_common_from_void
class poldiff_level_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_level_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_level_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_level_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_level_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_level_t_to_string(self, p)

    def to_string_brief(self, p):
        return _poldiff.poldiff_level_t_to_string_brief(self, p)

    def get_name(self):
        return _poldiff.poldiff_level_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_level_t_get_form(self)

    def get_unmodified_cats(self):
        return _poldiff.poldiff_level_t_get_unmodified_cats(self)

    def get_added_cats(self):
        return _poldiff.poldiff_level_t_get_added_cats(self)

    def get_removed_cats(self):
        return _poldiff.poldiff_level_t_get_removed_cats(self)
poldiff_level_t_swigregister = _poldiff.poldiff_level_t_swigregister
poldiff_level_t_swigregister(poldiff_level_t)


def poldiff_level_from_void(x):
    return _poldiff.poldiff_level_from_void(x)
poldiff_level_from_void = _poldiff.poldiff_level_from_void
class poldiff_range_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_range_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_range_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_range_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_range_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_range_t_to_string(self, p)

    def get_levels(self):
        return _poldiff.poldiff_range_t_get_levels(self)

    def get_original_range(self):
        return _poldiff.poldiff_range_t_get_original_range(self)

    def get_modified_range(self):
        return _poldiff.poldiff_range_t_get_modified_range(self)

    def get_min_added_cats(self):
        return _poldiff.poldiff_range_t_get_min_added_cats(self)

    def get_min_removed_cats(self):
        return _poldiff.poldiff_range_t_get_min_removed_cats(self)

    def get_min_unmodified_cats(self):
        return _poldiff.poldiff_range_t_get_min_unmodified_cats(self)
poldiff_range_t_swigregister = _poldiff.poldiff_range_t_swigregister
poldiff_range_t_swigregister(poldiff_range_t)


def poldiff_range_from_void(x):
    return _poldiff.poldiff_range_from_void(x)
poldiff_range_from_void = _poldiff.poldiff_range_from_void
class poldiff_range_trans_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_range_trans_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_range_trans_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_range_trans_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_range_trans_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_range_trans_t_to_string(self, p)

    def get_form(self):
        return _poldiff.poldiff_range_trans_t_get_form(self)

    def get_source_type(self):
        return _poldiff.poldiff_range_trans_t_get_source_type(self)

    def get_target_type(self):
        return _poldiff.poldiff_range_trans_t_get_target_type(self)

    def get_target_class(self):
        return _poldiff.poldiff_range_trans_t_get_target_class(self)

    def get_range(self):
        return _poldiff.poldiff_range_trans_t_get_range(self)
poldiff_range_trans_t_swigregister = _poldiff.poldiff_range_trans_t_swigregister
poldiff_range_trans_t_swigregister(poldiff_range_trans_t)


def poldiff_range_trans_from_void(x):
    return _poldiff.poldiff_range_trans_from_void(x)
poldiff_range_trans_from_void = _poldiff.poldiff_range_trans_from_void
class poldiff_role_allow_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_role_allow_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_role_allow_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_role_allow_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_role_allow_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_role_allow_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_role_allow_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_role_allow_t_get_form(self)

    def get_unmodified_roles(self):
        return _poldiff.poldiff_role_allow_t_get_unmodified_roles(self)

    def get_added_roles(self):
        return _poldiff.poldiff_role_allow_t_get_added_roles(self)

    def get_removed_roles(self):
        return _poldiff.poldiff_role_allow_t_get_removed_roles(self)
poldiff_role_allow_t_swigregister = _poldiff.poldiff_role_allow_t_swigregister
poldiff_role_allow_t_swigregister(poldiff_role_allow_t)


def poldiff_role_allow_from_void(x):
    return _poldiff.poldiff_role_allow_from_void(x)
poldiff_role_allow_from_void = _poldiff.poldiff_role_allow_from_void
class poldiff_role_trans_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_role_trans_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_role_trans_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_role_trans_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_role_trans_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_role_trans_t_to_string(self, p)

    def get_form(self):
        return _poldiff.poldiff_role_trans_t_get_form(self)

    def get_source_role(self):
        return _poldiff.poldiff_role_trans_t_get_source_role(self)

    def get_target_type(self):
        return _poldiff.poldiff_role_trans_t_get_target_type(self)

    def get_original_default(self):
        return _poldiff.poldiff_role_trans_t_get_original_default(self)

    def get_modified_default(self):
        return _poldiff.poldiff_role_trans_t_get_modified_default(self)
poldiff_role_trans_t_swigregister = _poldiff.poldiff_role_trans_t_swigregister
poldiff_role_trans_t_swigregister(poldiff_role_trans_t)


def poldiff_role_trans_from_void(x):
    return _poldiff.poldiff_role_trans_from_void(x)
poldiff_role_trans_from_void = _poldiff.poldiff_role_trans_from_void
class poldiff_role_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_role_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_role_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_role_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_role_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_role_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_role_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_role_t_get_form(self)

    def get_added_types(self):
        return _poldiff.poldiff_role_t_get_added_types(self)

    def get_removed_types(self):
        return _poldiff.poldiff_role_t_get_removed_types(self)
poldiff_role_t_swigregister = _poldiff.poldiff_role_t_swigregister
poldiff_role_t_swigregister(poldiff_role_t)


def poldiff_role_from_void(x):
    return _poldiff.poldiff_role_from_void(x)
poldiff_role_from_void = _poldiff.poldiff_role_from_void
class poldiff_terule_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_terule_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_terule_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_terule_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_terule_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_terule_t_to_string(self, p)

    def get_form(self):
        return _poldiff.poldiff_terule_t_get_form(self)

    def get_rule_type(self):
        return _poldiff.poldiff_terule_t_get_rule_type(self)

    def get_source_type(self):
        return _poldiff.poldiff_terule_t_get_source_type(self)

    def get_target_type(self):
        return _poldiff.poldiff_terule_t_get_target_type(self)

    def get_object_class(self):
        return _poldiff.poldiff_terule_t_get_object_class(self)

    def get_cond(self, p):
        return _poldiff.poldiff_terule_t_get_cond(self, p)

    def get_cond_list(self, p):
        return _poldiff.poldiff_terule_t_get_cond_list(self, p)

    def get_cond_policy(self, p):
        return _poldiff.poldiff_terule_t_get_cond_policy(self, p)

    def get_original_default(self):
        return _poldiff.poldiff_terule_t_get_original_default(self)

    def get_modified_default(self):
        return _poldiff.poldiff_terule_t_get_modified_default(self)

    def get_orig_line_numbers(self):
        return _poldiff.poldiff_terule_t_get_orig_line_numbers(self)

    def get_mod_line_numbers(self):
        return _poldiff.poldiff_terule_t_get_mod_line_numbers(self)
poldiff_terule_t_swigregister = _poldiff.poldiff_terule_t_swigregister
poldiff_terule_t_swigregister(poldiff_terule_t)


def poldiff_terule_from_void(x):
    return _poldiff.poldiff_terule_from_void(x)
poldiff_terule_from_void = _poldiff.poldiff_terule_from_void
class poldiff_type_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_type_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_type_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_type_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_type_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_type_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_type_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_type_t_get_form(self)

    def get_added_attribs(self):
        return _poldiff.poldiff_type_t_get_added_attribs(self)

    def get_removed_attribs(self):
        return _poldiff.poldiff_type_t_get_removed_attribs(self)
poldiff_type_t_swigregister = _poldiff.poldiff_type_t_swigregister
poldiff_type_t_swigregister(poldiff_type_t)


def poldiff_type_from_void(x):
    return _poldiff.poldiff_type_from_void(x)
poldiff_type_from_void = _poldiff.poldiff_type_from_void
class poldiff_user_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_user_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_user_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_user_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_user_t
    __del__ = lambda self: None

    def to_string(self, p):
        return _poldiff.poldiff_user_t_to_string(self, p)

    def get_name(self):
        return _poldiff.poldiff_user_t_get_name(self)

    def get_form(self):
        return _poldiff.poldiff_user_t_get_form(self)

    def get_unmodified_roles(self):
        return _poldiff.poldiff_user_t_get_unmodified_roles(self)

    def get_added_roles(self):
        return _poldiff.poldiff_user_t_get_added_roles(self)

    def get_removed_roles(self):
        return _poldiff.poldiff_user_t_get_removed_roles(self)

    def get_original_dfltlevel(self):
        return _poldiff.poldiff_user_t_get_original_dfltlevel(self)

    def get_modified_dfltlevel(self):
        return _poldiff.poldiff_user_t_get_modified_dfltlevel(self)

    def get_range(self):
        return _poldiff.poldiff_user_t_get_range(self)
poldiff_user_t_swigregister = _poldiff.poldiff_user_t_swigregister
poldiff_user_t_swigregister(poldiff_user_t)


def poldiff_user_from_void(x):
    return _poldiff.poldiff_user_from_void(x)
poldiff_user_from_void = _poldiff.poldiff_user_from_void
class poldiff_type_remap_entry_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, poldiff_type_remap_entry_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, poldiff_type_remap_entry_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _poldiff.new_poldiff_type_remap_entry_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _poldiff.delete_poldiff_type_remap_entry_t
    __del__ = lambda self: None

    def get_original_types(self, p):
        return _poldiff.poldiff_type_remap_entry_t_get_original_types(self, p)

    def get_modified_types(self, p):
        return _poldiff.poldiff_type_remap_entry_t_get_modified_types(self, p)

    def get_is_inferred(self):
        return _poldiff.poldiff_type_remap_entry_t_get_is_inferred(self)

    def get_is_enabled(self):
        return _poldiff.poldiff_type_remap_entry_t_get_is_enabled(self)

    def set_enabled(self, enable):
        return _poldiff.poldiff_type_remap_entry_t_set_enabled(self, enable)
poldiff_type_remap_entry_t_swigregister = _poldiff.poldiff_type_remap_entry_t_swigregister
poldiff_type_remap_entry_t_swigregister(poldiff_type_remap_entry_t)


def poldiff_type_remap_entry_from_void(x):
    return _poldiff.poldiff_type_remap_entry_from_void(x)
poldiff_type_remap_entry_from_void = _poldiff.poldiff_type_remap_entry_from_void
# This file is compatible with both classic and new-style classes.


