00001
00002
00003
00004 import _ogre_tools
00005 import new
00006 new_instancemethod = new.instancemethod
00007 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
00008 if (name == "thisown"): return self.this.own(value)
00009 if (name == "this"):
00010 if type(value).__name__ == 'PySwigObject':
00011 self.__dict__[name] = value
00012 return
00013 method = class_type.__swig_setmethods__.get(name,None)
00014 if method: return method(self,value)
00015 if (not static) or hasattr(self,name):
00016 self.__dict__[name] = value
00017 else:
00018 raise AttributeError("You cannot add attributes to %s" % self)
00019
00020 def _swig_setattr(self,class_type,name,value):
00021 return _swig_setattr_nondynamic(self,class_type,name,value,0)
00022
00023 def _swig_getattr(self,class_type,name):
00024 if (name == "thisown"): return self.this.own()
00025 method = class_type.__swig_getmethods__.get(name,None)
00026 if method: return method(self)
00027 raise AttributeError,name
00028
00029 def _swig_repr(self):
00030 try: strthis = "proxy of " + self.this.__repr__()
00031 except: strthis = ""
00032 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
00033
00034 import types
00035 try:
00036 _object = types.ObjectType
00037 _newclass = 1
00038 except AttributeError:
00039 class _object : pass
00040 _newclass = 0
00041 del types
00042
00043
00044 def _swig_setattr_nondynamic_method(set):
00045 def set_attr(self,name,value):
00046 if (name == "thisown"): return self.this.own(value)
00047 if hasattr(self,name) or (name == "this"):
00048 set(self,name,value)
00049 else:
00050 raise AttributeError("You cannot add attributes to %s" % self)
00051 return set_attr
00052
00053
00054 class PySwigIterator(object):
00055 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00056 def __init__(self): raise AttributeError, "No constructor defined"
00057 __repr__ = _swig_repr
00058 __swig_destroy__ = _ogre_tools.delete_PySwigIterator
00059 __del__ = lambda self : None;
00060 def value(*args, **kwargs): return _ogre_tools.PySwigIterator_value(*args, **kwargs)
00061 def incr(*args, **kwargs): return _ogre_tools.PySwigIterator_incr(*args, **kwargs)
00062 def decr(*args, **kwargs): return _ogre_tools.PySwigIterator_decr(*args, **kwargs)
00063 def distance(*args, **kwargs): return _ogre_tools.PySwigIterator_distance(*args, **kwargs)
00064 def equal(*args, **kwargs): return _ogre_tools.PySwigIterator_equal(*args, **kwargs)
00065 def copy(*args, **kwargs): return _ogre_tools.PySwigIterator_copy(*args, **kwargs)
00066 def next(*args, **kwargs): return _ogre_tools.PySwigIterator_next(*args, **kwargs)
00067 def previous(*args, **kwargs): return _ogre_tools.PySwigIterator_previous(*args, **kwargs)
00068 def advance(*args, **kwargs): return _ogre_tools.PySwigIterator_advance(*args, **kwargs)
00069 def __eq__(*args, **kwargs): return _ogre_tools.PySwigIterator___eq__(*args, **kwargs)
00070 def __ne__(*args, **kwargs): return _ogre_tools.PySwigIterator___ne__(*args, **kwargs)
00071 def __iadd__(*args, **kwargs): return _ogre_tools.PySwigIterator___iadd__(*args, **kwargs)
00072 def __isub__(*args, **kwargs): return _ogre_tools.PySwigIterator___isub__(*args, **kwargs)
00073 def __add__(*args, **kwargs): return _ogre_tools.PySwigIterator___add__(*args, **kwargs)
00074 def __sub__(*args): return _ogre_tools.PySwigIterator___sub__(*args)
00075 def __iter__(self): return self
00076 _ogre_tools.PySwigIterator_swigregister(PySwigIterator)
00077
00078 class V_string(object):
00079 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00080 __repr__ = _swig_repr
00081 def iterator(*args, **kwargs): return _ogre_tools.V_string_iterator(*args, **kwargs)
00082 def __iter__(self): return self.iterator()
00083 def __nonzero__(*args, **kwargs): return _ogre_tools.V_string___nonzero__(*args, **kwargs)
00084 def __len__(*args, **kwargs): return _ogre_tools.V_string___len__(*args, **kwargs)
00085 def pop(*args, **kwargs): return _ogre_tools.V_string_pop(*args, **kwargs)
00086 def __getslice__(*args, **kwargs): return _ogre_tools.V_string___getslice__(*args, **kwargs)
00087 def __setslice__(*args, **kwargs): return _ogre_tools.V_string___setslice__(*args, **kwargs)
00088 def __delslice__(*args, **kwargs): return _ogre_tools.V_string___delslice__(*args, **kwargs)
00089 def __delitem__(*args, **kwargs): return _ogre_tools.V_string___delitem__(*args, **kwargs)
00090 def __getitem__(*args, **kwargs): return _ogre_tools.V_string___getitem__(*args, **kwargs)
00091 def __setitem__(*args, **kwargs): return _ogre_tools.V_string___setitem__(*args, **kwargs)
00092 def append(*args, **kwargs): return _ogre_tools.V_string_append(*args, **kwargs)
00093 def empty(*args, **kwargs): return _ogre_tools.V_string_empty(*args, **kwargs)
00094 def size(*args, **kwargs): return _ogre_tools.V_string_size(*args, **kwargs)
00095 def clear(*args, **kwargs): return _ogre_tools.V_string_clear(*args, **kwargs)
00096 def swap(*args, **kwargs): return _ogre_tools.V_string_swap(*args, **kwargs)
00097 def get_allocator(*args, **kwargs): return _ogre_tools.V_string_get_allocator(*args, **kwargs)
00098 def begin(*args): return _ogre_tools.V_string_begin(*args)
00099 def end(*args): return _ogre_tools.V_string_end(*args)
00100 def rbegin(*args): return _ogre_tools.V_string_rbegin(*args)
00101 def rend(*args): return _ogre_tools.V_string_rend(*args)
00102 def pop_back(*args, **kwargs): return _ogre_tools.V_string_pop_back(*args, **kwargs)
00103 def erase(*args): return _ogre_tools.V_string_erase(*args)
00104 def __init__(self, *args):
00105 _ogre_tools.V_string_swiginit(self,_ogre_tools.new_V_string(*args))
00106 def push_back(*args, **kwargs): return _ogre_tools.V_string_push_back(*args, **kwargs)
00107 def front(*args, **kwargs): return _ogre_tools.V_string_front(*args, **kwargs)
00108 def back(*args, **kwargs): return _ogre_tools.V_string_back(*args, **kwargs)
00109 def assign(*args, **kwargs): return _ogre_tools.V_string_assign(*args, **kwargs)
00110 def resize(*args): return _ogre_tools.V_string_resize(*args)
00111 def insert(*args): return _ogre_tools.V_string_insert(*args)
00112 def reserve(*args, **kwargs): return _ogre_tools.V_string_reserve(*args, **kwargs)
00113 def capacity(*args, **kwargs): return _ogre_tools.V_string_capacity(*args, **kwargs)
00114 __swig_destroy__ = _ogre_tools.delete_V_string
00115 __del__ = lambda self : None;
00116 _ogre_tools.V_string_swigregister(V_string)
00117
00118 initializeOgre = _ogre_tools.initializeOgre
00119 cleanupOgre = _ogre_tools.cleanupOgre
00120 initializeResources = _ogre_tools.initializeResources
00121
00122