1 # This file was automatically generated by SWIG (http://www.swig.org).
4 # Don't modify this file, modify the SWIG interface instead.
5 # This file is compatible with both classic and new-style classes.
9 new_instancemethod
= new
.instancemethod
11 _swig_property
= property
13 pass # Python < 2.2 doesn't have 'property'.
14 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
15 if (name
== "thisown"): return self
.this
.own(value
)
17 if type(value
).__name
__ == 'PySwigObject':
18 self
.__dict
__[name
] = value
20 method
= class_type
.__swig
_setmethods
__.get(name
,None)
21 if method
: return method(self
,value
)
22 if (not static
) or hasattr(self
,name
):
23 self
.__dict
__[name
] = value
25 raise AttributeError("You cannot add attributes to %s" % self
)
27 def _swig_setattr(self
,class_type
,name
,value
):
28 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
30 def _swig_getattr(self
,class_type
,name
):
31 if (name
== "thisown"): return self
.this
.own()
32 method
= class_type
.__swig
_getmethods
__.get(name
,None)
33 if method
: return method(self
)
34 raise AttributeError,name
37 try: strthis
= "proxy of " + self
.this
.__repr
__()
39 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
43 _object
= types
.ObjectType
45 except AttributeError:
53 setParameters
= _waves
.setParameters