Logo Search packages:      
Sourcecode: libwfut version File versions  Download package

WFUT.py

# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.33
#
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import pyWFUT
import new
new_instancemethod = new.instancemethod
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__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        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,name

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

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


class MirrorList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MirrorList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MirrorList, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.MirrorList_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.MirrorList___nonzero__(*args)
    def __len__(*args): return pyWFUT.MirrorList___len__(*args)
    def pop(*args): return pyWFUT.MirrorList_pop(*args)
    def __getslice__(*args): return pyWFUT.MirrorList___getslice__(*args)
    def __setslice__(*args): return pyWFUT.MirrorList___setslice__(*args)
    def __delslice__(*args): return pyWFUT.MirrorList___delslice__(*args)
    def __delitem__(*args): return pyWFUT.MirrorList___delitem__(*args)
    def __getitem__(*args): return pyWFUT.MirrorList___getitem__(*args)
    def __setitem__(*args): return pyWFUT.MirrorList___setitem__(*args)
    def append(*args): return pyWFUT.MirrorList_append(*args)
    def empty(*args): return pyWFUT.MirrorList_empty(*args)
    def size(*args): return pyWFUT.MirrorList_size(*args)
    def clear(*args): return pyWFUT.MirrorList_clear(*args)
    def swap(*args): return pyWFUT.MirrorList_swap(*args)
    def get_allocator(*args): return pyWFUT.MirrorList_get_allocator(*args)
    def begin(*args): return pyWFUT.MirrorList_begin(*args)
    def end(*args): return pyWFUT.MirrorList_end(*args)
    def rbegin(*args): return pyWFUT.MirrorList_rbegin(*args)
    def rend(*args): return pyWFUT.MirrorList_rend(*args)
    def pop_back(*args): return pyWFUT.MirrorList_pop_back(*args)
    def erase(*args): return pyWFUT.MirrorList_erase(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_MirrorList(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(*args): return pyWFUT.MirrorList_push_back(*args)
    def front(*args): return pyWFUT.MirrorList_front(*args)
    def back(*args): return pyWFUT.MirrorList_back(*args)
    def assign(*args): return pyWFUT.MirrorList_assign(*args)
    def resize(*args): return pyWFUT.MirrorList_resize(*args)
    def insert(*args): return pyWFUT.MirrorList_insert(*args)
    def reserve(*args): return pyWFUT.MirrorList_reserve(*args)
    def capacity(*args): return pyWFUT.MirrorList_capacity(*args)
    __swig_destroy__ = pyWFUT.delete_MirrorList
    __del__ = lambda self : None;
MirrorList_swigregister = pyWFUT.MirrorList_swigregister
MirrorList_swigregister(MirrorList)

class FileList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FileList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FileList, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.FileList_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.FileList___nonzero__(*args)
    def __len__(*args): return pyWFUT.FileList___len__(*args)
    def pop(*args): return pyWFUT.FileList_pop(*args)
    def __getslice__(*args): return pyWFUT.FileList___getslice__(*args)
    def __setslice__(*args): return pyWFUT.FileList___setslice__(*args)
    def __delslice__(*args): return pyWFUT.FileList___delslice__(*args)
    def __delitem__(*args): return pyWFUT.FileList___delitem__(*args)
    def __getitem__(*args): return pyWFUT.FileList___getitem__(*args)
    def __setitem__(*args): return pyWFUT.FileList___setitem__(*args)
    def append(*args): return pyWFUT.FileList_append(*args)
    def empty(*args): return pyWFUT.FileList_empty(*args)
    def size(*args): return pyWFUT.FileList_size(*args)
    def clear(*args): return pyWFUT.FileList_clear(*args)
    def swap(*args): return pyWFUT.FileList_swap(*args)
    def get_allocator(*args): return pyWFUT.FileList_get_allocator(*args)
    def begin(*args): return pyWFUT.FileList_begin(*args)
    def end(*args): return pyWFUT.FileList_end(*args)
    def rbegin(*args): return pyWFUT.FileList_rbegin(*args)
    def rend(*args): return pyWFUT.FileList_rend(*args)
    def pop_back(*args): return pyWFUT.FileList_pop_back(*args)
    def erase(*args): return pyWFUT.FileList_erase(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_FileList(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(*args): return pyWFUT.FileList_push_back(*args)
    def front(*args): return pyWFUT.FileList_front(*args)
    def back(*args): return pyWFUT.FileList_back(*args)
    def assign(*args): return pyWFUT.FileList_assign(*args)
    def resize(*args): return pyWFUT.FileList_resize(*args)
    def insert(*args): return pyWFUT.FileList_insert(*args)
    def reserve(*args): return pyWFUT.FileList_reserve(*args)
    def capacity(*args): return pyWFUT.FileList_capacity(*args)
    __swig_destroy__ = pyWFUT.delete_FileList
    __del__ = lambda self : None;
FileList_swigregister = pyWFUT.FileList_swigregister
FileList_swigregister(FileList)

class ChannelList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ChannelList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ChannelList, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.ChannelList_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.ChannelList___nonzero__(*args)
    def __len__(*args): return pyWFUT.ChannelList___len__(*args)
    def pop(*args): return pyWFUT.ChannelList_pop(*args)
    def __getslice__(*args): return pyWFUT.ChannelList___getslice__(*args)
    def __setslice__(*args): return pyWFUT.ChannelList___setslice__(*args)
    def __delslice__(*args): return pyWFUT.ChannelList___delslice__(*args)
    def __delitem__(*args): return pyWFUT.ChannelList___delitem__(*args)
    def __getitem__(*args): return pyWFUT.ChannelList___getitem__(*args)
    def __setitem__(*args): return pyWFUT.ChannelList___setitem__(*args)
    def append(*args): return pyWFUT.ChannelList_append(*args)
    def empty(*args): return pyWFUT.ChannelList_empty(*args)
    def size(*args): return pyWFUT.ChannelList_size(*args)
    def clear(*args): return pyWFUT.ChannelList_clear(*args)
    def swap(*args): return pyWFUT.ChannelList_swap(*args)
    def get_allocator(*args): return pyWFUT.ChannelList_get_allocator(*args)
    def begin(*args): return pyWFUT.ChannelList_begin(*args)
    def end(*args): return pyWFUT.ChannelList_end(*args)
    def rbegin(*args): return pyWFUT.ChannelList_rbegin(*args)
    def rend(*args): return pyWFUT.ChannelList_rend(*args)
    def pop_back(*args): return pyWFUT.ChannelList_pop_back(*args)
    def erase(*args): return pyWFUT.ChannelList_erase(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_ChannelList(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(*args): return pyWFUT.ChannelList_push_back(*args)
    def front(*args): return pyWFUT.ChannelList_front(*args)
    def back(*args): return pyWFUT.ChannelList_back(*args)
    def assign(*args): return pyWFUT.ChannelList_assign(*args)
    def resize(*args): return pyWFUT.ChannelList_resize(*args)
    def insert(*args): return pyWFUT.ChannelList_insert(*args)
    def reserve(*args): return pyWFUT.ChannelList_reserve(*args)
    def capacity(*args): return pyWFUT.ChannelList_capacity(*args)
    __swig_destroy__ = pyWFUT.delete_ChannelList
    __del__ = lambda self : None;
ChannelList_swigregister = pyWFUT.ChannelList_swigregister
ChannelList_swigregister(ChannelList)

class FileMap(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FileMap, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FileMap, name)
    __repr__ = _swig_repr
    def iterator(*args): return pyWFUT.FileMap_iterator(*args)
    def __iter__(self): return self.iterator()
    def __nonzero__(*args): return pyWFUT.FileMap___nonzero__(*args)
    def __len__(*args): return pyWFUT.FileMap___len__(*args)
    def __getitem__(*args): return pyWFUT.FileMap___getitem__(*args)
    def __delitem__(*args): return pyWFUT.FileMap___delitem__(*args)
    def has_key(*args): return pyWFUT.FileMap_has_key(*args)
    def keys(*args): return pyWFUT.FileMap_keys(*args)
    def values(*args): return pyWFUT.FileMap_values(*args)
    def items(*args): return pyWFUT.FileMap_items(*args)
    def __contains__(*args): return pyWFUT.FileMap___contains__(*args)
    def key_iterator(*args): return pyWFUT.FileMap_key_iterator(*args)
    def value_iterator(*args): return pyWFUT.FileMap_value_iterator(*args)
    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 __setitem__(*args): return pyWFUT.FileMap___setitem__(*args)
    def __init__(self, *args): 
        this = pyWFUT.new_FileMap(*args)
        try: self.this.append(this)
        except: self.this = this
    def empty(*args): return pyWFUT.FileMap_empty(*args)
    def size(*args): return pyWFUT.FileMap_size(*args)
    def clear(*args): return pyWFUT.FileMap_clear(*args)
    def swap(*args): return pyWFUT.FileMap_swap(*args)
    def get_allocator(*args): return pyWFUT.FileMap_get_allocator(*args)
    def begin(*args): return pyWFUT.FileMap_begin(*args)
    def end(*args): return pyWFUT.FileMap_end(*args)
    def rbegin(*args): return pyWFUT.FileMap_rbegin(*args)
    def rend(*args): return pyWFUT.FileMap_rend(*args)
    def count(*args): return pyWFUT.FileMap_count(*args)
    def erase(*args): return pyWFUT.FileMap_erase(*args)
    def find(*args): return pyWFUT.FileMap_find(*args)
    def lower_bound(*args): return pyWFUT.FileMap_lower_bound(*args)
    def upper_bound(*args): return pyWFUT.FileMap_upper_bound(*args)
    __swig_destroy__ = pyWFUT.delete_FileMap
    __del__ = lambda self : None;
FileMap_swigregister = pyWFUT.FileMap_swigregister
FileMap_swigregister(FileMap)

LIBWFUT_TYPES_H = pyWFUT.LIBWFUT_TYPES_H
class ChannelObject(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ChannelObject, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ChannelObject, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = pyWFUT.ChannelObject_name_set
    __swig_getmethods__["name"] = pyWFUT.ChannelObject_name_get
    if _newclass:name = _swig_property(pyWFUT.ChannelObject_name_get, pyWFUT.ChannelObject_name_set)
    __swig_setmethods__["description"] = pyWFUT.ChannelObject_description_set
    __swig_getmethods__["description"] = pyWFUT.ChannelObject_description_get
    if _newclass:description = _swig_property(pyWFUT.ChannelObject_description_get, pyWFUT.ChannelObject_description_set)
    __swig_setmethods__["url"] = pyWFUT.ChannelObject_url_set
    __swig_getmethods__["url"] = pyWFUT.ChannelObject_url_get
    if _newclass:url = _swig_property(pyWFUT.ChannelObject_url_get, pyWFUT.ChannelObject_url_set)
    __swig_setmethods__["email"] = pyWFUT.ChannelObject_email_set
    __swig_getmethods__["email"] = pyWFUT.ChannelObject_email_get
    if _newclass:email = _swig_property(pyWFUT.ChannelObject_email_get, pyWFUT.ChannelObject_email_set)
    __swig_setmethods__["logo"] = pyWFUT.ChannelObject_logo_set
    __swig_getmethods__["logo"] = pyWFUT.ChannelObject_logo_get
    if _newclass:logo = _swig_property(pyWFUT.ChannelObject_logo_get, pyWFUT.ChannelObject_logo_set)
    def __init__(self, *args): 
        this = pyWFUT.new_ChannelObject(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_ChannelObject
    __del__ = lambda self : None;
ChannelObject_swigregister = pyWFUT.ChannelObject_swigregister
ChannelObject_swigregister(ChannelObject)

class FileObject(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FileObject, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FileObject, name)
    __repr__ = _swig_repr
    __swig_setmethods__["filename"] = pyWFUT.FileObject_filename_set
    __swig_getmethods__["filename"] = pyWFUT.FileObject_filename_get
    if _newclass:filename = _swig_property(pyWFUT.FileObject_filename_get, pyWFUT.FileObject_filename_set)
    __swig_setmethods__["version"] = pyWFUT.FileObject_version_set
    __swig_getmethods__["version"] = pyWFUT.FileObject_version_get
    if _newclass:version = _swig_property(pyWFUT.FileObject_version_get, pyWFUT.FileObject_version_set)
    __swig_setmethods__["crc32"] = pyWFUT.FileObject_crc32_set
    __swig_getmethods__["crc32"] = pyWFUT.FileObject_crc32_get
    if _newclass:crc32 = _swig_property(pyWFUT.FileObject_crc32_get, pyWFUT.FileObject_crc32_set)
    __swig_setmethods__["size"] = pyWFUT.FileObject_size_set
    __swig_getmethods__["size"] = pyWFUT.FileObject_size_get
    if _newclass:size = _swig_property(pyWFUT.FileObject_size_get, pyWFUT.FileObject_size_set)
    __swig_setmethods__["execute"] = pyWFUT.FileObject_execute_set
    __swig_getmethods__["execute"] = pyWFUT.FileObject_execute_get
    if _newclass:execute = _swig_property(pyWFUT.FileObject_execute_get, pyWFUT.FileObject_execute_set)
    __swig_setmethods__["deleted"] = pyWFUT.FileObject_deleted_set
    __swig_getmethods__["deleted"] = pyWFUT.FileObject_deleted_get
    if _newclass:deleted = _swig_property(pyWFUT.FileObject_deleted_get, pyWFUT.FileObject_deleted_set)
    def __init__(self, *args): 
        this = pyWFUT.new_FileObject(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_FileObject
    __del__ = lambda self : None;
FileObject_swigregister = pyWFUT.FileObject_swigregister
FileObject_swigregister(FileObject)

class MirrorObject(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MirrorObject, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MirrorObject, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = pyWFUT.MirrorObject_name_set
    __swig_getmethods__["name"] = pyWFUT.MirrorObject_name_get
    if _newclass:name = _swig_property(pyWFUT.MirrorObject_name_get, pyWFUT.MirrorObject_name_set)
    __swig_setmethods__["url"] = pyWFUT.MirrorObject_url_set
    __swig_getmethods__["url"] = pyWFUT.MirrorObject_url_get
    if _newclass:url = _swig_property(pyWFUT.MirrorObject_url_get, pyWFUT.MirrorObject_url_set)
    def __init__(self, *args): 
        this = pyWFUT.new_MirrorObject(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_MirrorObject
    __del__ = lambda self : None;
MirrorObject_swigregister = pyWFUT.MirrorObject_swigregister
MirrorObject_swigregister(MirrorObject)

calcCRC32 = pyWFUT.calcCRC32
LIBWFUT_CHANNELFILELIST_H = pyWFUT.LIBWFUT_CHANNELFILELIST_H
class ChannelFileList(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ChannelFileList, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ChannelFileList, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = pyWFUT.new_ChannelFileList(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_ChannelFileList
    __del__ = lambda self : None;
    def getName(*args): return pyWFUT.ChannelFileList_getName(*args)
    def setName(*args): return pyWFUT.ChannelFileList_setName(*args)
    def getFiles(*args): return pyWFUT.ChannelFileList_getFiles(*args)
    def addFile(*args): return pyWFUT.ChannelFileList_addFile(*args)
    def removeFile(*args): return pyWFUT.ChannelFileList_removeFile(*args)
    def clear(*args): return pyWFUT.ChannelFileList_clear(*args)
    def size(*args): return pyWFUT.ChannelFileList_size(*args)
ChannelFileList_swigregister = pyWFUT.ChannelFileList_swigregister
ChannelFileList_swigregister(ChannelFileList)

LIBWFUT_CHANNELIO_H = pyWFUT.LIBWFUT_CHANNELIO_H
parseChannelList = pyWFUT.parseChannelList
parseChannelListXML = pyWFUT.parseChannelListXML
writeChannelList = pyWFUT.writeChannelList
parseMirrorList = pyWFUT.parseMirrorList
parseMirrorListXML = pyWFUT.parseMirrorListXML
LIBWFUT_ENCODER_H = pyWFUT.LIBWFUT_ENCODER_H
class Encoder(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Encoder, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Encoder, name)
    __repr__ = _swig_repr
    __swig_getmethods__["encodeString"] = lambda x: pyWFUT.Encoder_encodeString
    if _newclass:encodeString = staticmethod(pyWFUT.Encoder_encodeString)
    __swig_getmethods__["decodeString"] = lambda x: pyWFUT.Encoder_decodeString
    if _newclass:decodeString = staticmethod(pyWFUT.Encoder_decodeString)
    __swig_getmethods__["encodeURL"] = lambda x: pyWFUT.Encoder_encodeURL
    if _newclass:encodeURL = staticmethod(pyWFUT.Encoder_encodeURL)
    def __init__(self, *args): 
        this = pyWFUT.new_Encoder(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_Encoder
    __del__ = lambda self : None;
Encoder_swigregister = pyWFUT.Encoder_swigregister
Encoder_swigregister(Encoder)
cvar = pyWFUT.cvar
TAG_name = cvar.TAG_name
TAG_description = cvar.TAG_description
TAG_url = cvar.TAG_url
TAG_email = cvar.TAG_email
TAG_logo = cvar.TAG_logo
TAG_channel = cvar.TAG_channel
TAG_channellist = cvar.TAG_channellist
TAG_mirror = cvar.TAG_mirror
TAG_mirrorlist = cvar.TAG_mirrorlist
Encoder_encodeString = pyWFUT.Encoder_encodeString
Encoder_decodeString = pyWFUT.Encoder_decodeString
Encoder_encodeURL = pyWFUT.Encoder_encodeURL

LIBWFUT_FILEIO_H = pyWFUT.LIBWFUT_FILEIO_H
parseFileList = pyWFUT.parseFileList
parseFileListXML = pyWFUT.parseFileListXML
writeFileList = pyWFUT.writeFileList
LIBWFUT_IO_H = pyWFUT.LIBWFUT_IO_H
class DataStruct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, DataStruct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, DataStruct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["filename"] = pyWFUT.DataStruct_filename_set
    __swig_getmethods__["filename"] = pyWFUT.DataStruct_filename_get
    if _newclass:filename = _swig_property(pyWFUT.DataStruct_filename_get, pyWFUT.DataStruct_filename_set)
    __swig_setmethods__["path"] = pyWFUT.DataStruct_path_set
    __swig_getmethods__["path"] = pyWFUT.DataStruct_path_get
    if _newclass:path = _swig_property(pyWFUT.DataStruct_path_get, pyWFUT.DataStruct_path_set)
    __swig_setmethods__["url"] = pyWFUT.DataStruct_url_set
    __swig_getmethods__["url"] = pyWFUT.DataStruct_url_get
    if _newclass:url = _swig_property(pyWFUT.DataStruct_url_get, pyWFUT.DataStruct_url_set)
    __swig_setmethods__["executable"] = pyWFUT.DataStruct_executable_set
    __swig_getmethods__["executable"] = pyWFUT.DataStruct_executable_get
    if _newclass:executable = _swig_property(pyWFUT.DataStruct_executable_get, pyWFUT.DataStruct_executable_set)
    __swig_setmethods__["fp"] = pyWFUT.DataStruct_fp_set
    __swig_getmethods__["fp"] = pyWFUT.DataStruct_fp_get
    if _newclass:fp = _swig_property(pyWFUT.DataStruct_fp_get, pyWFUT.DataStruct_fp_set)
    __swig_setmethods__["actual_crc32"] = pyWFUT.DataStruct_actual_crc32_set
    __swig_getmethods__["actual_crc32"] = pyWFUT.DataStruct_actual_crc32_get
    if _newclass:actual_crc32 = _swig_property(pyWFUT.DataStruct_actual_crc32_get, pyWFUT.DataStruct_actual_crc32_set)
    __swig_setmethods__["expected_crc32"] = pyWFUT.DataStruct_expected_crc32_set
    __swig_getmethods__["expected_crc32"] = pyWFUT.DataStruct_expected_crc32_get
    if _newclass:expected_crc32 = _swig_property(pyWFUT.DataStruct_expected_crc32_get, pyWFUT.DataStruct_expected_crc32_set)
    __swig_setmethods__["handle"] = pyWFUT.DataStruct_handle_set
    __swig_getmethods__["handle"] = pyWFUT.DataStruct_handle_get
    if _newclass:handle = _swig_property(pyWFUT.DataStruct_handle_get, pyWFUT.DataStruct_handle_set)
    def __init__(self, *args): 
        this = pyWFUT.new_DataStruct(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_DataStruct
    __del__ = lambda self : None;
DataStruct_swigregister = pyWFUT.DataStruct_swigregister
DataStruct_swigregister(DataStruct)
TAG_filename = cvar.TAG_filename
TAG_version = cvar.TAG_version
TAG_crc32 = cvar.TAG_crc32
TAG_size = cvar.TAG_size
TAG_execute = cvar.TAG_execute
TAG_file = cvar.TAG_file
TAG_filelist = cvar.TAG_filelist
TAG_dir = cvar.TAG_dir
TAG_deleted = cvar.TAG_deleted

class IO(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, IO, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, IO, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = pyWFUT.new_IO(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_IO
    __del__ = lambda self : None;
    def init(*args): return pyWFUT.IO_init(*args)
    def shutdown(*args): return pyWFUT.IO_shutdown(*args)
    def poll(*args): return pyWFUT.IO_poll(*args)
    def downloadFile(*args): return pyWFUT.IO_downloadFile(*args)
    def queueFile(*args): return pyWFUT.IO_queueFile(*args)
    __swig_setmethods__["DownloadComplete"] = pyWFUT.IO_DownloadComplete_set
    __swig_getmethods__["DownloadComplete"] = pyWFUT.IO_DownloadComplete_get
    if _newclass:DownloadComplete = _swig_property(pyWFUT.IO_DownloadComplete_get, pyWFUT.IO_DownloadComplete_set)
    __swig_setmethods__["DownloadFailed"] = pyWFUT.IO_DownloadFailed_set
    __swig_getmethods__["DownloadFailed"] = pyWFUT.IO_DownloadFailed_get
    if _newclass:DownloadFailed = _swig_property(pyWFUT.IO_DownloadFailed_get, pyWFUT.IO_DownloadFailed_set)
    def getMaxDownloads(*args): return pyWFUT.IO_getMaxDownloads(*args)
    def setMaxDownloads(*args): return pyWFUT.IO_setMaxDownloads(*args)
IO_swigregister = pyWFUT.IO_swigregister
IO_swigregister(IO)

LIBWFUT_WFUT_H = pyWFUT.LIBWFUT_WFUT_H
WFUT_NO_ERROR = pyWFUT.WFUT_NO_ERROR
WFUT_GENERAL_ERROR = pyWFUT.WFUT_GENERAL_ERROR
WFUT_DOWNLOAD_ERROR = pyWFUT.WFUT_DOWNLOAD_ERROR
WFUT_PARSE_ERROR = pyWFUT.WFUT_PARSE_ERROR
WFUT_WRITE_ERROR = pyWFUT.WFUT_WRITE_ERROR
WFUT_UPDATE_NONE = pyWFUT.WFUT_UPDATE_NONE
WFUT_UPDATE_NO_LOCAL = pyWFUT.WFUT_UPDATE_NO_LOCAL
WFUT_UPDATE_SERVER_SYSTEM = pyWFUT.WFUT_UPDATE_SERVER_SYSTEM
WFUT_UPDATE_SERVER_LOCAL = pyWFUT.WFUT_UPDATE_SERVER_LOCAL
WFUT_UPDATE_MISSING = pyWFUT.WFUT_UPDATE_MISSING
WFUT_UPDATE_MODIFIED = pyWFUT.WFUT_UPDATE_MODIFIED
WFUT_UPDATE_DELETED = pyWFUT.WFUT_UPDATE_DELETED
class WFUTClient(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, WFUTClient, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, WFUTClient, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = pyWFUT.new_WFUTClient(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = pyWFUT.delete_WFUTClient
    __del__ = lambda self : None;
    def init(*args): return pyWFUT.WFUTClient_init(*args)
    def shutdown(*args): return pyWFUT.WFUTClient_shutdown(*args)
    def updateChannel(*args): return pyWFUT.WFUTClient_updateChannel(*args)
    def updateFile(*args): return pyWFUT.WFUTClient_updateFile(*args)
    def getMirrorList(*args): return pyWFUT.WFUTClient_getMirrorList(*args)
    def getChannelList(*args): return pyWFUT.WFUTClient_getChannelList(*args)
    def getFileList(*args): return pyWFUT.WFUTClient_getFileList(*args)
    def getLocalList(*args): return pyWFUT.WFUTClient_getLocalList(*args)
    def saveLocalList(*args): return pyWFUT.WFUTClient_saveLocalList(*args)
    def calculateUpdates(*args): return pyWFUT.WFUTClient_calculateUpdates(*args)
    def poll(*args): return pyWFUT.WFUTClient_poll(*args)
    __swig_setmethods__["DownloadComplete"] = pyWFUT.WFUTClient_DownloadComplete_set
    __swig_getmethods__["DownloadComplete"] = pyWFUT.WFUTClient_DownloadComplete_get
    if _newclass:DownloadComplete = _swig_property(pyWFUT.WFUTClient_DownloadComplete_get, pyWFUT.WFUTClient_DownloadComplete_set)
    __swig_setmethods__["DownloadFailed"] = pyWFUT.WFUTClient_DownloadFailed_set
    __swig_getmethods__["DownloadFailed"] = pyWFUT.WFUTClient_DownloadFailed_get
    if _newclass:DownloadFailed = _swig_property(pyWFUT.WFUTClient_DownloadFailed_get, pyWFUT.WFUTClient_DownloadFailed_set)
    __swig_setmethods__["UpdateReason"] = pyWFUT.WFUTClient_UpdateReason_set
    __swig_getmethods__["UpdateReason"] = pyWFUT.WFUTClient_UpdateReason_get
    if _newclass:UpdateReason = _swig_property(pyWFUT.WFUTClient_UpdateReason_get, pyWFUT.WFUTClient_UpdateReason_set)
    def DownloadCompleteCB(*args): return pyWFUT.WFUTClient_DownloadCompleteCB(*args)
    def DownloadFailedCB(*args): return pyWFUT.WFUTClient_DownloadFailedCB(*args)
    def UpdateReasonCB(*args): return pyWFUT.WFUTClient_UpdateReasonCB(*args)
WFUTClient_swigregister = pyWFUT.WFUTClient_swigregister
WFUTClient_swigregister(WFUTClient)




Generated by  Doxygen 1.6.0   Back to index