Package fife :: Module fife
[hide private]
[frames] | no frames]

Source Code for Module fife.fife

    1  # This file was automatically generated by SWIG (http://www.swig.org). 
    2  # Version 2.0.11 
    3  # 
    4  # Do not make changes to this file unless you know what you are doing--modify 
    5  # the SWIG interface file instead. 
    6   
    7   
    8   
    9   
   10   
   11  from sys import version_info 
   12  if version_info >= (2,6,0): 
13 - def swig_import_helper():
14 from os.path import dirname 15 import imp 16 fp = None 17 try: 18 fp, pathname, description = imp.find_module('_fife', [dirname(__file__)]) 19 except ImportError: 20 import _fife 21 return _fife 22 if fp is not None: 23 try: 24 _mod = imp.load_module('_fife', fp, pathname, description) 25 finally: 26 fp.close() 27 return _mod
28 _fife = swig_import_helper() 29 del swig_import_helper 30 else: 31 import _fife 32 del version_info 33 try: 34 _swig_property = property 35 except NameError: 36 pass # Python < 2.2 doesn't have 'property'.
37 -def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name == "thisown"): return self.this.own(value) 39 if (name == "this"): 40 if type(value).__name__ == 'SwigPyObject': 41 self.__dict__[name] = value 42 return 43 method = class_type.__swig_setmethods__.get(name,None) 44 if method: return method(self,value) 45 if (not static): 46 self.__dict__[name] = value 47 else: 48 raise AttributeError("You cannot add attributes to %s" % self)
49
50 -def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
52
53 -def _swig_getattr(self,class_type,name):
54 if (name == "thisown"): return self.this.own() 55 method = class_type.__swig_getmethods__.get(name,None) 56 if method: return method(self) 57 raise AttributeError(name)
58
59 -def _swig_repr(self):
60 try: strthis = "proxy of " + self.this.__repr__() 61 except: strthis = "" 62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 64 try: 65 _object = object 66 _newclass = 1 67 except AttributeError:
68 - class _object : pass
69 _newclass = 0 70 71 72 try: 73 import weakref 74 weakref_proxy = weakref.proxy 75 except: 76 weakref_proxy = lambda x: x 77 78 79 import fifechan
80 -class SwigPyIterator(_object):
81 __swig_setmethods__ = {} 82 __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value) 83 __swig_getmethods__ = {} 84 __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
85 - def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
86 __repr__ = _swig_repr 87 __swig_destroy__ = _fife.delete_SwigPyIterator 88 __del__ = lambda self : None;
89 - def value(self): return _fife.SwigPyIterator_value(self)
90 - def incr(self, n=1): return _fife.SwigPyIterator_incr(self, n)
91 - def decr(self, n=1): return _fife.SwigPyIterator_decr(self, n)
92 - def distance(self, *args): return _fife.SwigPyIterator_distance(self, *args)
93 - def equal(self, *args): return _fife.SwigPyIterator_equal(self, *args)
94 - def copy(self): return _fife.SwigPyIterator_copy(self)
95 - def next(self): return _fife.SwigPyIterator_next(self)
96 - def __next__(self): return _fife.SwigPyIterator___next__(self)
97 - def previous(self): return _fife.SwigPyIterator_previous(self)
98 - def advance(self, *args): return _fife.SwigPyIterator_advance(self, *args)
99 - def __eq__(self, *args): return _fife.SwigPyIterator___eq__(self, *args)
100 - def __ne__(self, *args): return _fife.SwigPyIterator___ne__(self, *args)
101 - def __iadd__(self, *args): return _fife.SwigPyIterator___iadd__(self, *args)
102 - def __isub__(self, *args): return _fife.SwigPyIterator___isub__(self, *args)
103 - def __add__(self, *args): return _fife.SwigPyIterator___add__(self, *args)
104 - def __sub__(self, *args): return _fife.SwigPyIterator___sub__(self, *args)
105 - def __iter__(self): return self
106 SwigPyIterator_swigregister = _fife.SwigPyIterator_swigregister 107 SwigPyIterator_swigregister(SwigPyIterator) 108
109 -class StringVector(_object):
110 """Proxy of C++ std::vector<(std::string)> class""" 111 __swig_setmethods__ = {} 112 __setattr__ = lambda self, name, value: _swig_setattr(self, StringVector, name, value) 113 __swig_getmethods__ = {} 114 __getattr__ = lambda self, name: _swig_getattr(self, StringVector, name) 115 __repr__ = _swig_repr
116 - def iterator(self):
117 """iterator(StringVector self) -> SwigPyIterator""" 118 return _fife.StringVector_iterator(self)
119
120 - def __iter__(self): return self.iterator()
121 - def __nonzero__(self):
122 """__nonzero__(StringVector self) -> bool""" 123 return _fife.StringVector___nonzero__(self)
124
125 - def __bool__(self):
126 """__bool__(StringVector self) -> bool""" 127 return _fife.StringVector___bool__(self)
128
129 - def __len__(self):
130 """__len__(StringVector self) -> std::vector< std::string >::size_type""" 131 return _fife.StringVector___len__(self)
132
133 - def pop(self):
134 """pop(StringVector self) -> std::vector< std::string >::value_type""" 135 return _fife.StringVector_pop(self)
136
137 - def __getslice__(self, *args):
138 """__getslice__(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> StringVector""" 139 return _fife.StringVector___getslice__(self, *args)
140
141 - def __setslice__(self, *args):
142 """ 143 __setslice__(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, 144 StringVector v=std::vector< std::string,std::allocator< std::string > >()) 145 __setslice__(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) 146 """ 147 return _fife.StringVector___setslice__(self, *args)
148
149 - def __delslice__(self, *args):
150 """__delslice__(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)""" 151 return _fife.StringVector___delslice__(self, *args)
152
153 - def __delitem__(self, *args):
154 """ 155 __delitem__(StringVector self, std::vector< std::string >::difference_type i) 156 __delitem__(StringVector self, PySliceObject * slice) 157 """ 158 return _fife.StringVector___delitem__(self, *args)
159
160 - def __getitem__(self, *args):
161 """ 162 __getitem__(StringVector self, PySliceObject * slice) -> StringVector 163 __getitem__(StringVector self, std::vector< std::string >::difference_type i) -> std::vector< std::string >::value_type const & 164 """ 165 return _fife.StringVector___getitem__(self, *args)
166
167 - def __setitem__(self, *args):
168 """ 169 __setitem__(StringVector self, PySliceObject * slice, StringVector v) 170 __setitem__(StringVector self, PySliceObject * slice) 171 __setitem__(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::value_type const & x) 172 """ 173 return _fife.StringVector___setitem__(self, *args)
174
175 - def append(self, *args):
176 """append(StringVector self, std::vector< std::string >::value_type const & x)""" 177 return _fife.StringVector_append(self, *args)
178
179 - def empty(self):
180 """empty(StringVector self) -> bool""" 181 return _fife.StringVector_empty(self)
182
183 - def size(self):
184 """size(StringVector self) -> std::vector< std::string >::size_type""" 185 return _fife.StringVector_size(self)
186
187 - def clear(self):
188 """clear(StringVector self)""" 189 return _fife.StringVector_clear(self)
190
191 - def swap(self, *args):
192 """swap(StringVector self, StringVector v)""" 193 return _fife.StringVector_swap(self, *args)
194
195 - def get_allocator(self):
196 """get_allocator(StringVector self) -> std::vector< std::string >::allocator_type""" 197 return _fife.StringVector_get_allocator(self)
198
199 - def begin(self):
200 """begin(StringVector self) -> std::vector< std::string >::iterator""" 201 return _fife.StringVector_begin(self)
202
203 - def end(self):
204 """end(StringVector self) -> std::vector< std::string >::iterator""" 205 return _fife.StringVector_end(self)
206
207 - def rbegin(self):
208 """rbegin(StringVector self) -> std::vector< std::string >::reverse_iterator""" 209 return _fife.StringVector_rbegin(self)
210
211 - def rend(self):
212 """rend(StringVector self) -> std::vector< std::string >::reverse_iterator""" 213 return _fife.StringVector_rend(self)
214
215 - def pop_back(self):
216 """pop_back(StringVector self)""" 217 return _fife.StringVector_pop_back(self)
218
219 - def erase(self, *args):
220 """ 221 erase(StringVector self, std::vector< std::string >::iterator pos) -> std::vector< std::string >::iterator 222 erase(StringVector self, std::vector< std::string >::iterator first, std::vector< std::string >::iterator last) -> std::vector< std::string >::iterator 223 """ 224 return _fife.StringVector_erase(self, *args)
225
226 - def __init__(self, *args):
227 """ 228 __init__(std::vector<(std::string)> self) -> StringVector 229 __init__(std::vector<(std::string)> self, StringVector arg2) -> StringVector 230 __init__(std::vector<(std::string)> self, std::vector< std::string >::size_type size) -> StringVector 231 __init__(std::vector<(std::string)> self, std::vector< std::string >::size_type size, std::vector< std::string >::value_type const & value) -> StringVector 232 """ 233 this = _fife.new_StringVector(*args) 234 try: self.this.append(this) 235 except: self.this = this
236 - def push_back(self, *args):
237 """push_back(StringVector self, std::vector< std::string >::value_type const & x)""" 238 return _fife.StringVector_push_back(self, *args)
239
240 - def front(self):
241 """front(StringVector self) -> std::vector< std::string >::value_type const &""" 242 return _fife.StringVector_front(self)
243
244 - def back(self):
245 """back(StringVector self) -> std::vector< std::string >::value_type const &""" 246 return _fife.StringVector_back(self)
247
248 - def assign(self, *args):
249 """assign(StringVector self, std::vector< std::string >::size_type n, std::vector< std::string >::value_type const & x)""" 250 return _fife.StringVector_assign(self, *args)
251
252 - def resize(self, *args):
253 """ 254 resize(StringVector self, std::vector< std::string >::size_type new_size) 255 resize(StringVector self, std::vector< std::string >::size_type new_size, std::vector< std::string >::value_type const & x) 256 """ 257 return _fife.StringVector_resize(self, *args)
258
259 - def insert(self, *args):
260 """ 261 insert(StringVector self, std::vector< std::string >::iterator pos, std::vector< std::string >::value_type const & x) -> std::vector< std::string >::iterator 262 insert(StringVector self, std::vector< std::string >::iterator pos, std::vector< std::string >::size_type n, 263 std::vector< std::string >::value_type const & x) 264 """ 265 return _fife.StringVector_insert(self, *args)
266
267 - def reserve(self, *args):
268 """reserve(StringVector self, std::vector< std::string >::size_type n)""" 269 return _fife.StringVector_reserve(self, *args)
270
271 - def capacity(self):
272 """capacity(StringVector self) -> std::vector< std::string >::size_type""" 273 return _fife.StringVector_capacity(self)
274 275 __swig_destroy__ = _fife.delete_StringVector 276 __del__ = lambda self : None; 277 StringVector_swigregister = _fife.StringVector_swigregister 278 StringVector_swigregister(StringVector) 279
280 -class UintVector(_object):
281 """Proxy of C++ std::vector<(uint32_t)> class""" 282 __swig_setmethods__ = {} 283 __setattr__ = lambda self, name, value: _swig_setattr(self, UintVector, name, value) 284 __swig_getmethods__ = {} 285 __getattr__ = lambda self, name: _swig_getattr(self, UintVector, name) 286 __repr__ = _swig_repr
287 - def iterator(self):
288 """iterator(UintVector self) -> SwigPyIterator""" 289 return _fife.UintVector_iterator(self)
290
291 - def __iter__(self): return self.iterator()
292 - def __nonzero__(self):
293 """__nonzero__(UintVector self) -> bool""" 294 return _fife.UintVector___nonzero__(self)
295
296 - def __bool__(self):
297 """__bool__(UintVector self) -> bool""" 298 return _fife.UintVector___bool__(self)
299
300 - def __len__(self):
301 """__len__(UintVector self) -> std::vector< unsigned int >::size_type""" 302 return _fife.UintVector___len__(self)
303
304 - def pop(self):
305 """pop(UintVector self) -> std::vector< unsigned int >::value_type""" 306 return _fife.UintVector_pop(self)
307
308 - def __getslice__(self, *args):
309 """__getslice__(UintVector self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j) -> UintVector""" 310 return _fife.UintVector___getslice__(self, *args)
311
312 - def __setslice__(self, *args):
313 """ 314 __setslice__(UintVector self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j, 315 UintVector v=std::vector< unsigned int,std::allocator< unsigned int > >()) 316 __setslice__(UintVector self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j) 317 """ 318 return _fife.UintVector___setslice__(self, *args)
319
320 - def __delslice__(self, *args):
321 """__delslice__(UintVector self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j)""" 322 return _fife.UintVector___delslice__(self, *args)
323
324 - def __delitem__(self, *args):
325 """ 326 __delitem__(UintVector self, std::vector< unsigned int >::difference_type i) 327 __delitem__(UintVector self, PySliceObject * slice) 328 """ 329 return _fife.UintVector___delitem__(self, *args)
330
331 - def __getitem__(self, *args):
332 """ 333 __getitem__(UintVector self, PySliceObject * slice) -> UintVector 334 __getitem__(UintVector self, std::vector< unsigned int >::difference_type i) -> std::vector< unsigned int >::value_type const & 335 """ 336 return _fife.UintVector___getitem__(self, *args)
337
338 - def __setitem__(self, *args):
339 """ 340 __setitem__(UintVector self, PySliceObject * slice, UintVector v) 341 __setitem__(UintVector self, PySliceObject * slice) 342 __setitem__(UintVector self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::value_type const & x) 343 """ 344 return _fife.UintVector___setitem__(self, *args)
345
346 - def append(self, *args):
347 """append(UintVector self, std::vector< unsigned int >::value_type const & x)""" 348 return _fife.UintVector_append(self, *args)
349
350 - def empty(self):
351 """empty(UintVector self) -> bool""" 352 return _fife.UintVector_empty(self)
353
354 - def size(self):
355 """size(UintVector self) -> std::vector< unsigned int >::size_type""" 356 return _fife.UintVector_size(self)
357
358 - def clear(self):
359 """clear(UintVector self)""" 360 return _fife.UintVector_clear(self)
361
362 - def swap(self, *args):
363 """swap(UintVector self, UintVector v)""" 364 return _fife.UintVector_swap(self, *args)
365
366 - def get_allocator(self):
367 """get_allocator(UintVector self) -> std::vector< unsigned int >::allocator_type""" 368 return _fife.UintVector_get_allocator(self)
369
370 - def begin(self):
371 """begin(UintVector self) -> std::vector< unsigned int >::iterator""" 372 return _fife.UintVector_begin(self)
373
374 - def end(self):
375 """end(UintVector self) -> std::vector< unsigned int >::iterator""" 376 return _fife.UintVector_end(self)
377
378 - def rbegin(self):
379 """rbegin(UintVector self) -> std::vector< unsigned int >::reverse_iterator""" 380 return _fife.UintVector_rbegin(self)
381
382 - def rend(self):
383 """rend(UintVector self) -> std::vector< unsigned int >::reverse_iterator""" 384 return _fife.UintVector_rend(self)
385
386 - def pop_back(self):
387 """pop_back(UintVector self)""" 388 return _fife.UintVector_pop_back(self)
389
390 - def erase(self, *args):
391 """ 392 erase(UintVector self, std::vector< unsigned int >::iterator pos) -> std::vector< unsigned int >::iterator 393 erase(UintVector self, std::vector< unsigned int >::iterator first, std::vector< unsigned int >::iterator last) -> std::vector< unsigned int >::iterator 394 """ 395 return _fife.UintVector_erase(self, *args)
396
397 - def __init__(self, *args):
398 """ 399 __init__(std::vector<(uint32_t)> self) -> UintVector 400 __init__(std::vector<(uint32_t)> self, UintVector arg2) -> UintVector 401 __init__(std::vector<(uint32_t)> self, std::vector< unsigned int >::size_type size) -> UintVector 402 __init__(std::vector<(uint32_t)> self, std::vector< unsigned int >::size_type size, std::vector< unsigned int >::value_type const & value) -> UintVector 403 """ 404 this = _fife.new_UintVector(*args) 405 try: self.this.append(this) 406 except: self.this = this
407 - def push_back(self, *args):
408 """push_back(UintVector self, std::vector< unsigned int >::value_type const & x)""" 409 return _fife.UintVector_push_back(self, *args)
410
411 - def front(self):
412 """front(UintVector self) -> std::vector< unsigned int >::value_type const &""" 413 return _fife.UintVector_front(self)
414
415 - def back(self):
416 """back(UintVector self) -> std::vector< unsigned int >::value_type const &""" 417 return _fife.UintVector_back(self)
418
419 - def assign(self, *args):
420 """assign(UintVector self, std::vector< unsigned int >::size_type n, std::vector< unsigned int >::value_type const & x)""" 421 return _fife.UintVector_assign(self, *args)
422
423 - def resize(self, *args):
424 """ 425 resize(UintVector self, std::vector< unsigned int >::size_type new_size) 426 resize(UintVector self, std::vector< unsigned int >::size_type new_size, std::vector< unsigned int >::value_type const & x) 427 """ 428 return _fife.UintVector_resize(self, *args)
429
430 - def insert(self, *args):
431 """ 432 insert(UintVector self, std::vector< unsigned int >::iterator pos, std::vector< unsigned int >::value_type const & x) -> std::vector< unsigned int >::iterator 433 insert(UintVector self, std::vector< unsigned int >::iterator pos, std::vector< unsigned int >::size_type n, 434 std::vector< unsigned int >::value_type const & x) 435 """ 436 return _fife.UintVector_insert(self, *args)
437
438 - def reserve(self, *args):
439 """reserve(UintVector self, std::vector< unsigned int >::size_type n)""" 440 return _fife.UintVector_reserve(self, *args)
441
442 - def capacity(self):
443 """capacity(UintVector self) -> std::vector< unsigned int >::size_type""" 444 return _fife.UintVector_capacity(self)
445 446 __swig_destroy__ = _fife.delete_UintVector 447 __del__ = lambda self : None; 448 UintVector_swigregister = _fife.UintVector_swigregister 449 UintVector_swigregister(UintVector) 450
451 -class IntVector(_object):
452 """Proxy of C++ std::vector<(int32_t)> class""" 453 __swig_setmethods__ = {} 454 __setattr__ = lambda self, name, value: _swig_setattr(self, IntVector, name, value) 455 __swig_getmethods__ = {} 456 __getattr__ = lambda self, name: _swig_getattr(self, IntVector, name) 457 __repr__ = _swig_repr
458 - def iterator(self):
459 """iterator(IntVector self) -> SwigPyIterator""" 460 return _fife.IntVector_iterator(self)
461
462 - def __iter__(self): return self.iterator()
463 - def __nonzero__(self):
464 """__nonzero__(IntVector self) -> bool""" 465 return _fife.IntVector___nonzero__(self)
466
467 - def __bool__(self):
468 """__bool__(IntVector self) -> bool""" 469 return _fife.IntVector___bool__(self)
470
471 - def __len__(self):
472 """__len__(IntVector self) -> std::vector< int >::size_type""" 473 return _fife.IntVector___len__(self)
474
475 - def pop(self):
476 """pop(IntVector self) -> std::vector< int >::value_type""" 477 return _fife.IntVector_pop(self)
478
479 - def __getslice__(self, *args):
480 """__getslice__(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> IntVector""" 481 return _fife.IntVector___getslice__(self, *args)
482
483 - def __setslice__(self, *args):
484 """ 485 __setslice__(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, IntVector v=std::vector< int,std::allocator< int > >()) 486 __setslice__(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) 487 """ 488 return _fife.IntVector___setslice__(self, *args)
489
490 - def __delslice__(self, *args):
491 """__delslice__(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)""" 492 return _fife.IntVector___delslice__(self, *args)
493
494 - def __delitem__(self, *args):
495 """ 496 __delitem__(IntVector self, std::vector< int >::difference_type i) 497 __delitem__(IntVector self, PySliceObject * slice) 498 """ 499 return _fife.IntVector___delitem__(self, *args)
500
501 - def __getitem__(self, *args):
502 """ 503 __getitem__(IntVector self, PySliceObject * slice) -> IntVector 504 __getitem__(IntVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const & 505 """ 506 return _fife.IntVector___getitem__(self, *args)
507
508 - def __setitem__(self, *args):
509 """ 510 __setitem__(IntVector self, PySliceObject * slice, IntVector v) 511 __setitem__(IntVector self, PySliceObject * slice) 512 __setitem__(IntVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x) 513 """ 514 return _fife.IntVector___setitem__(self, *args)
515
516 - def append(self, *args):
517 """append(IntVector self, std::vector< int >::value_type const & x)""" 518 return _fife.IntVector_append(self, *args)
519
520 - def empty(self):
521 """empty(IntVector self) -> bool""" 522 return _fife.IntVector_empty(self)
523
524 - def size(self):
525 """size(IntVector self) -> std::vector< int >::size_type""" 526 return _fife.IntVector_size(self)
527
528 - def clear(self):
529 """clear(IntVector self)""" 530 return _fife.IntVector_clear(self)
531
532 - def swap(self, *args):
533 """swap(IntVector self, IntVector v)""" 534 return _fife.IntVector_swap(self, *args)
535
536 - def get_allocator(self):
537 """get_allocator(IntVector self) -> std::vector< int >::allocator_type""" 538 return _fife.IntVector_get_allocator(self)
539
540 - def begin(self):
541 """begin(IntVector self) -> std::vector< int >::iterator""" 542 return _fife.IntVector_begin(self)
543
544 - def end(self):
545 """end(IntVector self) -> std::vector< int >::iterator""" 546 return _fife.IntVector_end(self)
547
548 - def rbegin(self):
549 """rbegin(IntVector self) -> std::vector< int >::reverse_iterator""" 550 return _fife.IntVector_rbegin(self)
551
552 - def rend(self):
553 """rend(IntVector self) -> std::vector< int >::reverse_iterator""" 554 return _fife.IntVector_rend(self)
555
556 - def pop_back(self):
557 """pop_back(IntVector self)""" 558 return _fife.IntVector_pop_back(self)
559
560 - def erase(self, *args):
561 """ 562 erase(IntVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator 563 erase(IntVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator 564 """ 565 return _fife.IntVector_erase(self, *args)
566
567 - def __init__(self, *args):
568 """ 569 __init__(std::vector<(int32_t)> self) -> IntVector 570 __init__(std::vector<(int32_t)> self, IntVector arg2) -> IntVector 571 __init__(std::vector<(int32_t)> self, std::vector< int >::size_type size) -> IntVector 572 __init__(std::vector<(int32_t)> self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> IntVector 573 """ 574 this = _fife.new_IntVector(*args) 575 try: self.this.append(this) 576 except: self.this = this
577 - def push_back(self, *args):
578 """push_back(IntVector self, std::vector< int >::value_type const & x)""" 579 return _fife.IntVector_push_back(self, *args)
580
581 - def front(self):
582 """front(IntVector self) -> std::vector< int >::value_type const &""" 583 return _fife.IntVector_front(self)
584
585 - def back(self):
586 """back(IntVector self) -> std::vector< int >::value_type const &""" 587 return _fife.IntVector_back(self)
588
589 - def assign(self, *args):
590 """assign(IntVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)""" 591 return _fife.IntVector_assign(self, *args)
592
593 - def resize(self, *args):
594 """ 595 resize(IntVector self, std::vector< int >::size_type new_size) 596 resize(IntVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x) 597 """ 598 return _fife.IntVector_resize(self, *args)
599
600 - def insert(self, *args):
601 """ 602 insert(IntVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator 603 insert(IntVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x) 604 """ 605 return _fife.IntVector_insert(self, *args)
606
607 - def reserve(self, *args):
608 """reserve(IntVector self, std::vector< int >::size_type n)""" 609 return _fife.IntVector_reserve(self, *args)
610
611 - def capacity(self):
612 """capacity(IntVector self) -> std::vector< int >::size_type""" 613 return _fife.IntVector_capacity(self)
614 615 __swig_destroy__ = _fife.delete_IntVector 616 __del__ = lambda self : None; 617 IntVector_swigregister = _fife.IntVector_swigregister 618 IntVector_swigregister(IntVector) 619
620 -class FloatVector(_object):
621 """Proxy of C++ std::vector<(float)> class""" 622 __swig_setmethods__ = {} 623 __setattr__ = lambda self, name, value: _swig_setattr(self, FloatVector, name, value) 624 __swig_getmethods__ = {} 625 __getattr__ = lambda self, name: _swig_getattr(self, FloatVector, name) 626 __repr__ = _swig_repr
627 - def iterator(self):
628 """iterator(FloatVector self) -> SwigPyIterator""" 629 return _fife.FloatVector_iterator(self)
630
631 - def __iter__(self): return self.iterator()
632 - def __nonzero__(self):
633 """__nonzero__(FloatVector self) -> bool""" 634 return _fife.FloatVector___nonzero__(self)
635
636 - def __bool__(self):
637 """__bool__(FloatVector self) -> bool""" 638 return _fife.FloatVector___bool__(self)
639
640 - def __len__(self):
641 """__len__(FloatVector self) -> std::vector< float >::size_type""" 642 return _fife.FloatVector___len__(self)
643
644 - def pop(self):
645 """pop(FloatVector self) -> std::vector< float >::value_type""" 646 return _fife.FloatVector_pop(self)
647
648 - def __getslice__(self, *args):
649 """__getslice__(FloatVector self, std::vector< float >::difference_type i, std::vector< float >::difference_type j) -> FloatVector""" 650 return _fife.FloatVector___getslice__(self, *args)
651
652 - def __setslice__(self, *args):
653 """ 654 __setslice__(FloatVector self, std::vector< float >::difference_type i, std::vector< float >::difference_type j, 655 FloatVector v=std::vector< float,std::allocator< float > >()) 656 __setslice__(FloatVector self, std::vector< float >::difference_type i, std::vector< float >::difference_type j) 657 """ 658 return _fife.FloatVector___setslice__(self, *args)
659
660 - def __delslice__(self, *args):
661 """__delslice__(FloatVector self, std::vector< float >::difference_type i, std::vector< float >::difference_type j)""" 662 return _fife.FloatVector___delslice__(self, *args)
663
664 - def __delitem__(self, *args):
665 """ 666 __delitem__(FloatVector self, std::vector< float >::difference_type i) 667 __delitem__(FloatVector self, PySliceObject * slice) 668 """ 669 return _fife.FloatVector___delitem__(self, *args)
670
671 - def __getitem__(self, *args):
672 """ 673 __getitem__(FloatVector self, PySliceObject * slice) -> FloatVector 674 __getitem__(FloatVector self, std::vector< float >::difference_type i) -> std::vector< float >::value_type const & 675 """ 676 return _fife.FloatVector___getitem__(self, *args)
677
678 - def __setitem__(self, *args):
679 """ 680 __setitem__(FloatVector self, PySliceObject * slice, FloatVector v) 681 __setitem__(FloatVector self, PySliceObject * slice) 682 __setitem__(FloatVector self, std::vector< float >::difference_type i, std::vector< float >::value_type const & x) 683 """ 684 return _fife.FloatVector___setitem__(self, *args)
685
686 - def append(self, *args):
687 """append(FloatVector self, std::vector< float >::value_type const & x)""" 688 return _fife.FloatVector_append(self, *args)
689
690 - def empty(self):
691 """empty(FloatVector self) -> bool""" 692 return _fife.FloatVector_empty(self)
693
694 - def size(self):
695 """size(FloatVector self) -> std::vector< float >::size_type""" 696 return _fife.FloatVector_size(self)
697
698 - def clear(self):
699 """clear(FloatVector self)""" 700 return _fife.FloatVector_clear(self)
701
702 - def swap(self, *args):
703 """swap(FloatVector self, FloatVector v)""" 704 return _fife.FloatVector_swap(self, *args)
705
706 - def get_allocator(self):
707 """get_allocator(FloatVector self) -> std::vector< float >::allocator_type""" 708 return _fife.FloatVector_get_allocator(self)
709
710 - def begin(self):
711 """begin(FloatVector self) -> std::vector< float >::iterator""" 712 return _fife.FloatVector_begin(self)
713
714 - def end(self):
715 """end(FloatVector self) -> std::vector< float >::iterator""" 716 return _fife.FloatVector_end(self)
717
718 - def rbegin(self):
719 """rbegin(FloatVector self) -> std::vector< float >::reverse_iterator""" 720 return _fife.FloatVector_rbegin(self)
721
722 - def rend(self):
723 """rend(FloatVector self) -> std::vector< float >::reverse_iterator""" 724 return _fife.FloatVector_rend(self)
725
726 - def pop_back(self):
727 """pop_back(FloatVector self)""" 728 return _fife.FloatVector_pop_back(self)
729
730 - def erase(self, *args):
731 """ 732 erase(FloatVector self, std::vector< float >::iterator pos) -> std::vector< float >::iterator 733 erase(FloatVector self, std::vector< float >::iterator first, std::vector< float >::iterator last) -> std::vector< float >::iterator 734 """ 735 return _fife.FloatVector_erase(self, *args)
736
737 - def __init__(self, *args):
738 """ 739 __init__(std::vector<(float)> self) -> FloatVector 740 __init__(std::vector<(float)> self, FloatVector arg2) -> FloatVector 741 __init__(std::vector<(float)> self, std::vector< float >::size_type size) -> FloatVector 742 __init__(std::vector<(float)> self, std::vector< float >::size_type size, std::vector< float >::value_type const & value) -> FloatVector 743 """ 744 this = _fife.new_FloatVector(*args) 745 try: self.this.append(this) 746 except: self.this = this
747 - def push_back(self, *args):
748 """push_back(FloatVector self, std::vector< float >::value_type const & x)""" 749 return _fife.FloatVector_push_back(self, *args)
750
751 - def front(self):
752 """front(FloatVector self) -> std::vector< float >::value_type const &""" 753 return _fife.FloatVector_front(self)
754
755 - def back(self):
756 """back(FloatVector self) -> std::vector< float >::value_type const &""" 757 return _fife.FloatVector_back(self)
758
759 - def assign(self, *args):
760 """assign(FloatVector self, std::vector< float >::size_type n, std::vector< float >::value_type const & x)""" 761 return _fife.FloatVector_assign(self, *args)
762
763 - def resize(self, *args):
764 """ 765 resize(FloatVector self, std::vector< float >::size_type new_size) 766 resize(FloatVector self, std::vector< float >::size_type new_size, std::vector< float >::value_type const & x) 767 """ 768 return _fife.FloatVector_resize(self, *args)
769
770 - def insert(self, *args):
771 """ 772 insert(FloatVector self, std::vector< float >::iterator pos, std::vector< float >::value_type const & x) -> std::vector< float >::iterator 773 insert(FloatVector self, std::vector< float >::iterator pos, std::vector< float >::size_type n, std::vector< float >::value_type const & x) 774 """ 775 return _fife.FloatVector_insert(self, *args)
776
777 - def reserve(self, *args):
778 """reserve(FloatVector self, std::vector< float >::size_type n)""" 779 return _fife.FloatVector_reserve(self, *args)
780
781 - def capacity(self):
782 """capacity(FloatVector self) -> std::vector< float >::size_type""" 783 return _fife.FloatVector_capacity(self)
784 785 __swig_destroy__ = _fife.delete_FloatVector 786 __del__ = lambda self : None; 787 FloatVector_swigregister = _fife.FloatVector_swigregister 788 FloatVector_swigregister(FloatVector) 789
790 -class DoubleVector(_object):
791 """Proxy of C++ std::vector<(double)> class""" 792 __swig_setmethods__ = {} 793 __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleVector, name, value) 794 __swig_getmethods__ = {} 795 __getattr__ = lambda self, name: _swig_getattr(self, DoubleVector, name) 796 __repr__ = _swig_repr
797 - def iterator(self):
798 """iterator(DoubleVector self) -> SwigPyIterator""" 799 return _fife.DoubleVector_iterator(self)
800
801 - def __iter__(self): return self.iterator()
802 - def __nonzero__(self):
803 """__nonzero__(DoubleVector self) -> bool""" 804 return _fife.DoubleVector___nonzero__(self)
805
806 - def __bool__(self):
807 """__bool__(DoubleVector self) -> bool""" 808 return _fife.DoubleVector___bool__(self)
809
810 - def __len__(self):
811 """__len__(DoubleVector self) -> std::vector< double >::size_type""" 812 return _fife.DoubleVector___len__(self)
813
814 - def pop(self):
815 """pop(DoubleVector self) -> std::vector< double >::value_type""" 816 return _fife.DoubleVector_pop(self)
817
818 - def __getslice__(self, *args):
819 """__getslice__(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DoubleVector""" 820 return _fife.DoubleVector___getslice__(self, *args)
821
822 - def __setslice__(self, *args):
823 """ 824 __setslice__(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, 825 DoubleVector v=std::vector< double,std::allocator< double > >()) 826 __setslice__(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) 827 """ 828 return _fife.DoubleVector___setslice__(self, *args)
829
830 - def __delslice__(self, *args):
831 """__delslice__(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)""" 832 return _fife.DoubleVector___delslice__(self, *args)
833
834 - def __delitem__(self, *args):
835 """ 836 __delitem__(DoubleVector self, std::vector< double >::difference_type i) 837 __delitem__(DoubleVector self, PySliceObject * slice) 838 """ 839 return _fife.DoubleVector___delitem__(self, *args)
840
841 - def __getitem__(self, *args):
842 """ 843 __getitem__(DoubleVector self, PySliceObject * slice) -> DoubleVector 844 __getitem__(DoubleVector self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const & 845 """ 846 return _fife.DoubleVector___getitem__(self, *args)
847
848 - def __setitem__(self, *args):
849 """ 850 __setitem__(DoubleVector self, PySliceObject * slice, DoubleVector v) 851 __setitem__(DoubleVector self, PySliceObject * slice) 852 __setitem__(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x) 853 """ 854 return _fife.DoubleVector___setitem__(self, *args)
855
856 - def append(self, *args):
857 """append(DoubleVector self, std::vector< double >::value_type const & x)""" 858 return _fife.DoubleVector_append(self, *args)
859
860 - def empty(self):
861 """empty(DoubleVector self) -> bool""" 862 return _fife.DoubleVector_empty(self)
863
864 - def size(self):
865 """size(DoubleVector self) -> std::vector< double >::size_type""" 866 return _fife.DoubleVector_size(self)
867
868 - def clear(self):
869 """clear(DoubleVector self)""" 870 return _fife.DoubleVector_clear(self)
871
872 - def swap(self, *args):
873 """swap(DoubleVector self, DoubleVector v)""" 874 return _fife.DoubleVector_swap(self, *args)
875
876 - def get_allocator(self):
877 """get_allocator(DoubleVector self) -> std::vector< double >::allocator_type""" 878 return _fife.DoubleVector_get_allocator(self)
879
880 - def begin(self):
881 """begin(DoubleVector self) -> std::vector< double >::iterator""" 882 return _fife.DoubleVector_begin(self)
883
884 - def end(self):
885 """end(DoubleVector self) -> std::vector< double >::iterator""" 886 return _fife.DoubleVector_end(self)
887
888 - def rbegin(self):
889 """rbegin(DoubleVector self) -> std::vector< double >::reverse_iterator""" 890 return _fife.DoubleVector_rbegin(self)
891
892 - def rend(self):
893 """rend(DoubleVector self) -> std::vector< double >::reverse_iterator""" 894 return _fife.DoubleVector_rend(self)
895
896 - def pop_back(self):
897 """pop_back(DoubleVector self)""" 898 return _fife.DoubleVector_pop_back(self)
899
900 - def erase(self, *args):
901 """ 902 erase(DoubleVector self, std::vector< double >::iterator pos) -> std::vector< double >::iterator 903 erase(DoubleVector self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator 904 """ 905 return _fife.DoubleVector_erase(self, *args)
906
907 - def __init__(self, *args):
908 """ 909 __init__(std::vector<(double)> self) -> DoubleVector 910 __init__(std::vector<(double)> self, DoubleVector arg2) -> DoubleVector 911 __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DoubleVector 912 __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DoubleVector 913 """ 914 this = _fife.new_DoubleVector(*args) 915 try: self.this.append(this) 916 except: self.this = this
917 - def push_back(self, *args):
918 """push_back(DoubleVector self, std::vector< double >::value_type const & x)""" 919 return _fife.DoubleVector_push_back(self, *args)
920
921 - def front(self):
922 """front(DoubleVector self) -> std::vector< double >::value_type const &""" 923 return _fife.DoubleVector_front(self)
924
925 - def back(self):
926 """back(DoubleVector self) -> std::vector< double >::value_type const &""" 927 return _fife.DoubleVector_back(self)
928
929 - def assign(self, *args):
930 """assign(DoubleVector self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)""" 931 return _fife.DoubleVector_assign(self, *args)
932
933 - def resize(self, *args):
934 """ 935 resize(DoubleVector self, std::vector< double >::size_type new_size) 936 resize(DoubleVector self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x) 937 """ 938 return _fife.DoubleVector_resize(self, *args)
939
940 - def insert(self, *args):
941 """ 942 insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator 943 insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x) 944 """ 945 return _fife.DoubleVector_insert(self, *args)
946
947 - def reserve(self, *args):
948 """reserve(DoubleVector self, std::vector< double >::size_type n)""" 949 return _fife.DoubleVector_reserve(self, *args)
950
951 - def capacity(self):
952 """capacity(DoubleVector self) -> std::vector< double >::size_type""" 953 return _fife.DoubleVector_capacity(self)
954 955 __swig_destroy__ = _fife.delete_DoubleVector 956 __del__ = lambda self : None; 957 DoubleVector_swigregister = _fife.DoubleVector_swigregister 958 DoubleVector_swigregister(DoubleVector) 959
960 -class BoolVector(_object):
961 """Proxy of C++ std::vector<(bool)> class""" 962 __swig_setmethods__ = {} 963 __setattr__ = lambda self, name, value: _swig_setattr(self, BoolVector, name, value) 964 __swig_getmethods__ = {} 965 __getattr__ = lambda self, name: _swig_getattr(self, BoolVector, name) 966 __repr__ = _swig_repr
967 - def iterator(self):
968 """iterator(BoolVector self) -> SwigPyIterator""" 969 return _fife.BoolVector_iterator(self)
970
971 - def __iter__(self): return self.iterator()
972 - def __nonzero__(self):
973 """__nonzero__(BoolVector self) -> bool""" 974 return _fife.BoolVector___nonzero__(self)
975
976 - def __bool__(self):
977 """__bool__(BoolVector self) -> bool""" 978 return _fife.BoolVector___bool__(self)
979
980 - def __len__(self):
981 """__len__(BoolVector self) -> std::vector< bool >::size_type""" 982 return _fife.BoolVector___len__(self)
983
984 - def pop(self):
985 """pop(BoolVector self) -> std::vector< bool >::value_type""" 986 return _fife.BoolVector_pop(self)
987
988 - def __getslice__(self, *args):
989 """__getslice__(BoolVector self, std::vector< bool >::difference_type i, std::vector< bool >::difference_type j) -> BoolVector""" 990 return _fife.BoolVector___getslice__(self, *args)
991
992 - def __setslice__(self, *args):
993 """ 994 __setslice__(BoolVector self, std::vector< bool >::difference_type i, std::vector< bool >::difference_type j, BoolVector v=std::vector< bool,std::allocator< bool > >()) 995 __setslice__(BoolVector self, std::vector< bool >::difference_type i, std::vector< bool >::difference_type j) 996 """ 997 return _fife.BoolVector___setslice__(self, *args)
998
999 - def __delslice__(self, *args):
1000 """__delslice__(BoolVector self, std::vector< bool >::difference_type i, std::vector< bool >::difference_type j)""" 1001 return _fife.BoolVector___delslice__(self, *args)
1002
1003 - def __delitem__(self, *args):
1004 """ 1005 __delitem__(BoolVector self, std::vector< bool >::difference_type i) 1006 __delitem__(BoolVector self, PySliceObject * slice) 1007 """ 1008 return _fife.BoolVector___delitem__(self, *args)
1009
1010 - def __getitem__(self, *args):
1011 """ 1012 __getitem__(BoolVector self, PySliceObject * slice) -> BoolVector 1013 __getitem__(BoolVector self, std::vector< bool >::difference_type i) -> std::vector< bool >::value_type 1014 """ 1015 return _fife.BoolVector___getitem__(self, *args)
1016
1017 - def __setitem__(self, *args):
1018 """ 1019 __setitem__(BoolVector self, PySliceObject * slice, BoolVector v) 1020 __setitem__(BoolVector self, PySliceObject * slice) 1021 __setitem__(BoolVector self, std::vector< bool >::difference_type i, std::vector< bool >::value_type x) 1022 """ 1023 return _fife.BoolVector___setitem__(self, *args)
1024
1025 - def append(self, *args):
1026 """append(BoolVector self, std::vector< bool >::value_type x)""" 1027 return _fife.BoolVector_append(self, *args)
1028
1029 - def empty(self):
1030 """empty(BoolVector self) -> bool""" 1031 return _fife.BoolVector_empty(self)
1032
1033 - def size(self):
1034 """size(BoolVector self) -> std::vector< bool >::size_type""" 1035 return _fife.BoolVector_size(self)
1036
1037 - def clear(self):
1038 """clear(BoolVector self)""" 1039 return _fife.BoolVector_clear(self)
1040
1041 - def swap(self, *args):
1042 """swap(BoolVector self, BoolVector v)""" 1043 return _fife.BoolVector_swap(self, *args)
1044
1045 - def get_allocator(self):
1046 """get_allocator(BoolVector self) -> std::vector< bool >::allocator_type""" 1047 return _fife.BoolVector_get_allocator(self)
1048
1049 - def begin(self):
1050 """begin(BoolVector self) -> std::vector< bool >::iterator""" 1051 return _fife.BoolVector_begin(self)
1052
1053 - def end(self):
1054 """end(BoolVector self) -> std::vector< bool >::iterator""" 1055 return _fife.BoolVector_end(self)
1056
1057 - def rbegin(self):
1058 """rbegin(BoolVector self) -> std::vector< bool >::reverse_iterator""" 1059 return _fife.BoolVector_rbegin(self)
1060
1061 - def rend(self):
1062 """rend(BoolVector self) -> std::vector< bool >::reverse_iterator""" 1063 return _fife.BoolVector_rend(self)
1064
1065 - def pop_back(self):
1066 """pop_back(BoolVector self)""" 1067 return _fife.BoolVector_pop_back(self)
1068
1069 - def erase(self, *args):
1070 """ 1071 erase(BoolVector self, std::vector< bool >::iterator pos) -> std::vector< bool >::iterator 1072 erase(BoolVector self, std::vector< bool >::iterator first, std::vector< bool >::iterator last) -> std::vector< bool >::iterator 1073 """ 1074 return _fife.BoolVector_erase(self, *args)
1075
1076 - def __init__(self, *args):
1077 """ 1078 __init__(std::vector<(bool)> self) -> BoolVector 1079 __init__(std::vector<(bool)> self, BoolVector arg2) -> BoolVector 1080 __init__(std::vector<(bool)> self, std::vector< bool >::size_type size) -> BoolVector 1081 __init__(std::vector<(bool)> self, std::vector< bool >::size_type size, std::vector< bool >::value_type value) -> BoolVector 1082 """ 1083 this = _fife.new_BoolVector(*args) 1084 try: self.this.append(this) 1085 except: self.this = this
1086 - def push_back(self, *args):
1087 """push_back(BoolVector self, std::vector< bool >::value_type x)""" 1088 return _fife.BoolVector_push_back(self, *args)
1089
1090 - def front(self):
1091 """front(BoolVector self) -> std::vector< bool >::value_type""" 1092 return _fife.BoolVector_front(self)
1093
1094 - def back(self):
1095 """back(BoolVector self) -> std::vector< bool >::value_type""" 1096 return _fife.BoolVector_back(self)
1097
1098 - def assign(self, *args):
1099 """assign(BoolVector self, std::vector< bool >::size_type n, std::vector< bool >::value_type x)""" 1100 return _fife.BoolVector_assign(self, *args)
1101
1102 - def resize(self, *args):
1103 """ 1104 resize(BoolVector self, std::vector< bool >::size_type new_size) 1105 resize(BoolVector self, std::vector< bool >::size_type new_size, std::vector< bool >::value_type x) 1106 """ 1107 return _fife.BoolVector_resize(self, *args)
1108
1109 - def insert(self, *args):
1110 """ 1111 insert(BoolVector self, std::vector< bool >::iterator pos, std::vector< bool >::value_type x) -> std::vector< bool >::iterator 1112 insert(BoolVector self, std::vector< bool >::iterator pos, std::vector< bool >::size_type n, std::vector< bool >::value_type x) 1113 """ 1114 return _fife.BoolVector_insert(self, *args)
1115
1116 - def reserve(self, *args):
1117 """reserve(BoolVector self, std::vector< bool >::size_type n)""" 1118 return _fife.BoolVector_reserve(self, *args)
1119
1120 - def capacity(self):
1121 """capacity(BoolVector self) -> std::vector< bool >::size_type""" 1122 return _fife.BoolVector_capacity(self)
1123 1124 __swig_destroy__ = _fife.delete_BoolVector 1125 __del__ = lambda self : None; 1126 BoolVector_swigregister = _fife.BoolVector_swigregister 1127 BoolVector_swigregister(BoolVector) 1128
1129 -class Uint16Uint16Pair(_object):
1130 """Proxy of C++ std::pair<(uint16_t,uint16_t)> class""" 1131 __swig_setmethods__ = {} 1132 __setattr__ = lambda self, name, value: _swig_setattr(self, Uint16Uint16Pair, name, value) 1133 __swig_getmethods__ = {} 1134 __getattr__ = lambda self, name: _swig_getattr(self, Uint16Uint16Pair, name) 1135 __repr__ = _swig_repr
1136 - def __init__(self, *args):
1137 """ 1138 __init__(std::pair<(uint16_t,uint16_t)> self) -> Uint16Uint16Pair 1139 __init__(std::pair<(uint16_t,uint16_t)> self, unsigned short first, unsigned short second) -> Uint16Uint16Pair 1140 __init__(std::pair<(uint16_t,uint16_t)> self, Uint16Uint16Pair p) -> Uint16Uint16Pair 1141 """ 1142 this = _fife.new_Uint16Uint16Pair(*args) 1143 try: self.this.append(this) 1144 except: self.this = this
1145 __swig_setmethods__["first"] = _fife.Uint16Uint16Pair_first_set 1146 __swig_getmethods__["first"] = _fife.Uint16Uint16Pair_first_get 1147 if _newclass:first = _swig_property(_fife.Uint16Uint16Pair_first_get, _fife.Uint16Uint16Pair_first_set) 1148 __swig_setmethods__["second"] = _fife.Uint16Uint16Pair_second_set 1149 __swig_getmethods__["second"] = _fife.Uint16Uint16Pair_second_get 1150 if _newclass:second = _swig_property(_fife.Uint16Uint16Pair_second_get, _fife.Uint16Uint16Pair_second_set)
1151 - def __len__(self): return 2
1152 - def __repr__(self): return str((self.first, self.second))
1153 - def __getitem__(self, index):
1154 if not (index % 2): 1155 return self.first 1156 else: 1157 return self.second
1158 - def __setitem__(self, index, val):
1159 if not (index % 2): 1160 self.first = val 1161 else: 1162 self.second = val
1163 __swig_destroy__ = _fife.delete_Uint16Uint16Pair 1164 __del__ = lambda self : None; 1165 Uint16Uint16Pair_swigregister = _fife.Uint16Uint16Pair_swigregister 1166 Uint16Uint16Pair_swigregister(Uint16Uint16Pair) 1167
1168 -class Uint16Uint16PairVector(_object):
1169 """Proxy of C++ std::vector<(std::pair<(uint16_t,uint16_t)>)> class""" 1170