# 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 _IPY_XMLLoader
|
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 IPY_XMLNode(_object):
|
__swig_setmethods__ = {}
|
__setattr__ = lambda self, name, value: _swig_setattr(self, IPY_XMLNode, name, value)
|
__swig_getmethods__ = {}
|
__getattr__ = lambda self, name: _swig_getattr(self, IPY_XMLNode, name)
|
__repr__ = _swig_repr
|
def __init__(self, *args):
|
this = _IPY_XMLLoader.new_IPY_XMLNode(*args)
|
try: self.this.append(this)
|
except: self.this = this
|
__swig_destroy__ = _IPY_XMLLoader.delete_IPY_XMLNode
|
__del__ = lambda self : None;
|
def GetNodeData(*args): return _IPY_XMLLoader.IPY_XMLNode_GetNodeData(*args)
|
def SetInstance(*args): return _IPY_XMLLoader.IPY_XMLNode_SetInstance(*args)
|
def GetXML(*args): return _IPY_XMLLoader.IPY_XMLNode_GetXML(*args)
|
def GetNodeName(*args): return _IPY_XMLLoader.IPY_XMLNode_GetNodeName(*args)
|
def GetAttribute(*args): return _IPY_XMLLoader.IPY_XMLNode_GetAttribute(*args)
|
def SetAttribute(*args): return _IPY_XMLLoader.IPY_XMLNode_SetAttribute(*args)
|
def DelAttribute(*args): return _IPY_XMLLoader.IPY_XMLNode_DelAttribute(*args)
|
def GetText(*args): return _IPY_XMLLoader.IPY_XMLNode_GetText(*args)
|
def SetText(*args): return _IPY_XMLLoader.IPY_XMLNode_SetText(*args)
|
def GetAttributeNode(*args): return _IPY_XMLLoader.IPY_XMLNode_GetAttributeNode(*args)
|
def ChildNodes(*args): return _IPY_XMLLoader.IPY_XMLNode_ChildNodes(*args)
|
def GetChildCount(*args): return _IPY_XMLLoader.IPY_XMLNode_GetChildCount(*args)
|
def GetChild(*args): return _IPY_XMLLoader.IPY_XMLNode_GetChild(*args)
|
def FindChildNode(*args): return _IPY_XMLLoader.IPY_XMLNode_FindChildNode(*args)
|
def ReplaceChildNode(*args): return _IPY_XMLLoader.IPY_XMLNode_ReplaceChildNode(*args)
|
def AddChild(*args): return _IPY_XMLLoader.IPY_XMLNode_AddChild(*args)
|
def CloneNode(*args): return _IPY_XMLLoader.IPY_XMLNode_CloneNode(*args)
|
IPY_XMLNode_swigregister = _IPY_XMLLoader.IPY_XMLNode_swigregister
|
IPY_XMLNode_swigregister(IPY_XMLNode)
|
|
class IPY_XMLNodeList(_object):
|
__swig_setmethods__ = {}
|
__setattr__ = lambda self, name, value: _swig_setattr(self, IPY_XMLNodeList, name, value)
|
__swig_getmethods__ = {}
|
__getattr__ = lambda self, name: _swig_getattr(self, IPY_XMLNodeList, name)
|
__repr__ = _swig_repr
|
def __init__(self, *args):
|
this = _IPY_XMLLoader.new_IPY_XMLNodeList(*args)
|
try: self.this.append(this)
|
except: self.this = this
|
__swig_destroy__ = _IPY_XMLLoader.delete_IPY_XMLNodeList
|
__del__ = lambda self : None;
|
def SetInstance(*args): return _IPY_XMLLoader.IPY_XMLNodeList_SetInstance(*args)
|
def GetCount(*args): return _IPY_XMLLoader.IPY_XMLNodeList_GetCount(*args)
|
def Get(*args): return _IPY_XMLLoader.IPY_XMLNodeList_Get(*args)
|
def FindNode(*args): return _IPY_XMLLoader.IPY_XMLNodeList_FindNode(*args)
|
def Delete(*args): return _IPY_XMLLoader.IPY_XMLNodeList_Delete(*args)
|
def Add(*args): return _IPY_XMLLoader.IPY_XMLNodeList_Add(*args)
|
def Insert(*args): return _IPY_XMLLoader.IPY_XMLNodeList_Insert(*args)
|
def ReplaceNode(*args): return _IPY_XMLLoader.IPY_XMLNodeList_ReplaceNode(*args)
|
IPY_XMLNodeList_swigregister = _IPY_XMLLoader.IPY_XMLNodeList_swigregister
|
IPY_XMLNodeList_swigregister(IPY_XMLNodeList)
|
|
class IPY_XMLLoader(_object):
|
__swig_setmethods__ = {}
|
__setattr__ = lambda self, name, value: _swig_setattr(self, IPY_XMLLoader, name, value)
|
__swig_getmethods__ = {}
|
__getattr__ = lambda self, name: _swig_getattr(self, IPY_XMLLoader, name)
|
__repr__ = _swig_repr
|
def __init__(self, *args):
|
this = _IPY_XMLLoader.new_IPY_XMLLoader(*args)
|
try: self.this.append(this)
|
except: self.this = this
|
__swig_destroy__ = _IPY_XMLLoader.delete_IPY_XMLLoader
|
__del__ = lambda self : None;
|
def CreateNode(*args): return _IPY_XMLLoader.IPY_XMLLoader_CreateNode(*args)
|
def LoadFromFile(*args): return _IPY_XMLLoader.IPY_XMLLoader_LoadFromFile(*args)
|
def LoadFromXML(*args): return _IPY_XMLLoader.IPY_XMLLoader_LoadFromXML(*args)
|
def CreateEmptyXML(*args): return _IPY_XMLLoader.IPY_XMLLoader_CreateEmptyXML(*args)
|
def Save(*args): return _IPY_XMLLoader.IPY_XMLLoader_Save(*args)
|
def SaveToFile(*args): return _IPY_XMLLoader.IPY_XMLLoader_SaveToFile(*args)
|
def ClearLoader(*args): return _IPY_XMLLoader.IPY_XMLLoader_ClearLoader(*args)
|
def GetNodeList(*args): return _IPY_XMLLoader.IPY_XMLLoader_GetNodeList(*args)
|
IPY_XMLLoader_swigregister = _IPY_XMLLoader.IPY_XMLLoader_swigregister
|
IPY_XMLLoader_swigregister(IPY_XMLLoader)
|
|
PyCoInitialize = _IPY_XMLLoader.PyCoInitialize
|
PyCoUninitialize = _IPY_XMLLoader.PyCoUninitialize
|
|
|