hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
83af5e09ec53eab0a1a9f8ca3897e30424d56d57
227
py
Python
src/drf_cloudstorage/constants.py
inabhi9/drf-cloudstorage
7f5e1b1e721208c5682f1f1e443a13af73d039bc
[ "MIT" ]
null
null
null
src/drf_cloudstorage/constants.py
inabhi9/drf-cloudstorage
7f5e1b1e721208c5682f1f1e443a13af73d039bc
[ "MIT" ]
null
null
null
src/drf_cloudstorage/constants.py
inabhi9/drf-cloudstorage
7f5e1b1e721208c5682f1f1e443a13af73d039bc
[ "MIT" ]
null
null
null
class Target: """ This must be consist of <app_label>.<modal>.<field> """ pass class StorageProvider: S3 = 's3' CLOUDINARY = 'cloudinary' PROVIDERS = (StorageProvider.S3, StorageProvider.CLOUDINARY)
16.214286
60
0.651982
23
227
6.391304
0.695652
0.231293
0
0
0
0
0
0
0
0
0
0.017045
0.22467
227
13
61
17.461538
0.818182
0.22467
0
0
0
0
0.075
0
0
0
0
0
0
1
0
false
0.166667
0
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
83c4b81aa0b017b54d451bf68d092fa4248188a4
2,901
py
Python
src/genie/libs/parser/nxos/tests/ShowIpv4EigrpNeighbors/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/nxos/tests/ShowIpv4EigrpNeighbors/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/nxos/tests/ShowIpv4EigrpNeighbors/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'eigrp_instance': { '100': { 'vrf': { 'default': { 'address_family': { 'ipv6': { 'eigrp_interface': { 'Ethernet1/1.90': { 'eigrp_nbr': { 'fe80::f816:3eff:fecf:5a5b': { 'peer_handle': 0, 'hold': 12, 'uptime': '01:40:09', 'srtt': 0.010, 'rto': 60, 'q_cnt': 0, 'last_seq_number': 30}}}, 'Ethernet1/2.90': { 'eigrp_nbr': { 'fe80::f816:3eff:fe62:65af': { 'peer_handle': 1, 'hold': 12, 'uptime': '01:40:07', 'srtt': 0.004, 'rto': 50, 'q_cnt': 0, 'last_seq_number': 22}}}}}}}, 'VRF1': { 'address_family': { 'ipv6': { 'eigrp_interface': { 'Ethernet1/1.390': { 'eigrp_nbr': { 'fe80::f816:3eff:fecf:5a5b': { 'peer_handle': 0, 'hold': 10, 'uptime': '01:44:27', 'srtt': 0.010, 'rto': 60, 'q_cnt': 0, 'last_seq_number': 10 } } }, 'Ethernet1/2.390': { 'eigrp_nbr': { 'fe80::f816:3eff:fe62:65af': { 'peer_handle': 1, 'hold': 13, 'uptime': '01:43:38', 'srtt': 0.004, 'rto': 50, 'q_cnt': 0, 'last_seq_number': 8 }}}}}}}}}}}
50.017241
76
0.186487
142
2,901
3.626761
0.387324
0.062136
0.093204
0.124272
0.8
0.753398
0.733981
0.574757
0.574757
0.574757
0
0.160147
0.718028
2,901
57
77
50.894737
0.469438
0
0
0.581818
0
0
0.177647
0.034495
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f7e1973200fb9e57f21a4113ae83e27d48d491aa
299
py
Python
accounts/admin.py
BuildForSDG/asylum-be
e44031ca97964425bfa11a1d9071e7584685c327
[ "MIT" ]
null
null
null
accounts/admin.py
BuildForSDG/asylum-be
e44031ca97964425bfa11a1d9071e7584685c327
[ "MIT" ]
23
2020-05-07T07:57:44.000Z
2022-03-12T00:36:41.000Z
accounts/admin.py
BuildForSDG/asylum-be
e44031ca97964425bfa11a1d9071e7584685c327
[ "MIT" ]
3
2020-05-02T07:56:55.000Z
2020-05-19T14:42:54.000Z
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from . models import User, Profile class CustomUserAdmin(UserAdmin): pass class ProfileAdmin(admin.ModelAdmin): pass admin.site.register(User, CustomUserAdmin) admin.site.register(Profile, ProfileAdmin)
17.588235
47
0.792642
36
299
6.583333
0.472222
0.084388
0.14346
0
0
0
0
0
0
0
0
0
0.130435
299
16
48
18.6875
0.911538
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0.222222
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
f7eb6758a24043dbe354409b09bbde05b8ef9788
651
py
Python
templatetags/uuid.py
kensonman/webframe
45b5be33bb0341ab9658a05d577f82f0dd922c7e
[ "Apache-2.0" ]
1
2017-04-22T11:29:05.000Z
2017-04-22T11:29:05.000Z
templatetags/uuid.py
kensonman/webframe
45b5be33bb0341ab9658a05d577f82f0dd922c7e
[ "Apache-2.0" ]
null
null
null
templatetags/uuid.py
kensonman/webframe
45b5be33bb0341ab9658a05d577f82f0dd922c7e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # File: uuid.py # Author: Kenson Man <kenosn.idv.hk@gmail.com> # Desc: The template-tag used to generate a uuid into output. # Sample: # {%uuid%} # Generate a UUID and output # {%uuid as abc%} # Generate a UUID and store into abc # from django.template import Library, Node, TemplateSyntaxError from uuid import uuid4 register = Library() @register.simple_tag(name='uuid') def do_uuid(): """ Desc: The template-tag used to generate a uuid into output. Sample: {%uuid%} # Generate a UUID and output {%uuid as abc%} # Generate a UUID and store into abc """ return uuid4().hex
26.04
62
0.651306
94
651
4.489362
0.457447
0.127962
0.184834
0.151659
0.549763
0.549763
0.549763
0.549763
0.549763
0.549763
0
0.005964
0.227343
651
24
63
27.125
0.833002
0.651306
0
0
1
0
0.020725
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7909ffb3942cd78c3b55d4f2b80409a1a536304f
328
py
Python
plugin.video.mrknow/mylib/tests_pydevd_runfiles/samples/nested_dir/nested2/deep_nest_test.py
mrknow/filmkodi
0162cde9ae25ddbf4a69330948714833ff2f78c9
[ "Apache-2.0" ]
105
2015-11-28T00:03:11.000Z
2021-05-05T20:47:42.000Z
plugin.video.mrknow/mylib/tests_pydevd_runfiles/samples/nested_dir/nested2/deep_nest_test.py
rrosajp/filmkodi
0162cde9ae25ddbf4a69330948714833ff2f78c9
[ "Apache-2.0" ]
918
2015-11-28T14:12:40.000Z
2022-03-23T20:24:49.000Z
plugin.video.mrknow/mylib/tests_pydevd_runfiles/samples/nested_dir/nested2/deep_nest_test.py
rrosajp/filmkodi
0162cde9ae25ddbf4a69330948714833ff2f78c9
[ "Apache-2.0" ]
111
2015-12-01T14:06:10.000Z
2020-08-01T10:44:39.000Z
import unittest class SampleTest(unittest.TestCase): def setUp(self): return def tearDown(self): return def test_non_unique_name(self): pass def test_asdf2(self): pass def test_i_am_a_unique_test_name(self): pass if __name__ == '__main__': unittest.main()
14.26087
43
0.625
41
328
4.560976
0.512195
0.112299
0.139037
0.160428
0
0
0
0
0
0
0
0.00431
0.292683
328
22
44
14.909091
0.801724
0
0
0.357143
0
0
0.02439
0
0
0
0
0
0
1
0.357143
false
0.214286
0.071429
0.142857
0.642857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
4
f711fb1705f29842a5e33514511c4ca7401e1291
1,918
py
Python
OpenGL/GL/AMD/framebuffer_multisample_advanced.py
t20100/pyopengl
02d11dad9ff18e50db10e975c4756e17bf198464
[ "BSD-2-Clause", "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
OpenGL/GL/AMD/framebuffer_multisample_advanced.py
t20100/pyopengl
02d11dad9ff18e50db10e975c4756e17bf198464
[ "BSD-2-Clause", "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
OpenGL/GL/AMD/framebuffer_multisample_advanced.py
t20100/pyopengl
02d11dad9ff18e50db10e975c4756e17bf198464
[ "BSD-2-Clause", "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''OpenGL extension AMD.framebuffer_multisample_advanced This module customises the behaviour of the OpenGL.raw.GL.AMD.framebuffer_multisample_advanced to provide a more Python-friendly API Overview (from the spec) This extension extends ARB_framebuffer_object by allowing compromises between image quality and memory footprint of multisample antialiasing. ARB_framebuffer_object introduced RenderbufferStorageMultisample as a method of defining the parameters for a multisample render buffer. This function takes a <samples> parameter that has strict requirements on behavior such that no compromises in the final image quality are allowed. Additionally, ARB_framebuffer_object requires that all framebuffer attachments have the same number of samples. This extension extends ARB_framebuffer_object by providing a new function, RenderbufferStorageMultisampleAdvancedAMD, that distinguishes between samples and storage samples for color renderbuffers where the number of storage samples can be less than the number of samples. This extension also allows non-matching sample counts between color and depth/stencil renderbuffers. This extension does not require any specific combination of sample counts to be supported. The official definition of this extension is available here: http://www.opengl.org/registry/specs/AMD/framebuffer_multisample_advanced.txt ''' from OpenGL import platform, constant, arrays from OpenGL import extensions, wrapper import ctypes from OpenGL.raw.GL import _types, _glgets from OpenGL.raw.GL.AMD.framebuffer_multisample_advanced import * from OpenGL.raw.GL.AMD.framebuffer_multisample_advanced import _EXTENSION_NAME def glInitFramebufferMultisampleAdvancedAMD(): '''Return boolean indicating whether this extension is available''' from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) ### END AUTOGENERATED SECTION
41.695652
78
0.83316
250
1,918
6.296
0.508
0.049555
0.079416
0.104828
0.177255
0.149936
0.149936
0.068615
0.068615
0
0
0
0.130865
1,918
46
79
41.695652
0.944211
0.84463
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
f712fac6bd1822c194117ca4f70daa44951941ca
23,640
py
Python
ummeli/base/migrations/0025_auto__add_field_userban_is_unbanned.py
praekelt/ummeli
c09731ed9a3a40359e81dcf6ed365797606ae9e2
[ "BSD-3-Clause" ]
null
null
null
ummeli/base/migrations/0025_auto__add_field_userban_is_unbanned.py
praekelt/ummeli
c09731ed9a3a40359e81dcf6ed365797606ae9e2
[ "BSD-3-Clause" ]
null
null
null
ummeli/base/migrations/0025_auto__add_field_userban_is_unbanned.py
praekelt/ummeli
c09731ed9a3a40359e81dcf6ed365797606ae9e2
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'UserBan.is_unbanned' db.add_column('base_userban', 'is_unbanned', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False) def backwards(self, orm): # Deleting field 'UserBan.is_unbanned' db.delete_column('base_userban', 'is_unbanned') models = { 'atlas.city': { 'Meta': {'ordering': "('name',)", 'object_name': 'City'}, 'coordinates': ('atlas.fields.CoordinateField', [], {'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['atlas.Country']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['atlas.Region']", 'null': 'True', 'blank': 'True'}) }, 'atlas.country': { 'Meta': {'ordering': "('name',)", 'object_name': 'Country'}, 'border': ('django.contrib.gis.db.models.fields.MultiPolygonField', [], {'null': 'True', 'blank': 'True'}), 'coordinates': ('atlas.fields.CoordinateField', [], {'null': 'True', 'blank': 'True'}), 'country_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2', 'db_index': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'atlas.location': { 'Meta': {'object_name': 'Location'}, 'address': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['atlas.City']"}), 'coordinates': ('atlas.fields.CoordinateField', [], {'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['atlas.Country']"}), 'description': ('django.db.models.fields.TextField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), 'photo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['photologue.Photo']", 'null': 'True', 'blank': 'True'}) }, 'atlas.region': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('country', 'code'),)", 'object_name': 'Region'}, 'border': ('django.contrib.gis.db.models.fields.MultiPolygonField', [], {'null': 'True', 'blank': 'True'}), 'code': ('django.db.models.fields.CharField', [], {'max_length': '2', 'db_index': 'True'}), 'coordinates': ('atlas.fields.CoordinateField', [], {'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['atlas.Country']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) }, 'auth.group': { 'Meta': {'object_name': 'Group'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, 'auth.permission': { 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2014, 5, 20, 14, 40, 19, 580727)'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2014, 5, 20, 14, 40, 19, 580636)'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, 'base.banner': { 'Meta': {'ordering': "('-created',)", 'object_name': 'Banner', '_ormbases': ['jmbo.ModelBase']}, 'banner_type': ('django.db.models.fields.CharField', [], {'default': "'banner'", 'max_length': '10'}), 'modelbase_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jmbo.ModelBase']", 'unique': 'True', 'primary_key': 'True'}), 'time_off': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}), 'time_on': ('django.db.models.fields.TimeField', [], {'null': 'True', 'blank': 'True'}), 'url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) }, 'base.certificate': { 'Meta': {'object_name': 'Certificate'}, 'duration': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'institution': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '45'}), 'year': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}) }, 'base.curriculumvitae': { 'Meta': {'object_name': 'CurriculumVitae'}, 'about_me': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'address': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'certificates': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['base.Certificate']", 'symmetrical': 'False', 'blank': 'True'}), 'city': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'comment_as_anon': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'connection_requests': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'connection_requests'", 'blank': 'True', 'to': "orm['auth.User']"}), 'date_of_birth': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'email': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'gender': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'highest_grade': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'highest_grade_year': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_complete': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['base.Language']", 'symmetrical': 'False', 'blank': 'True'}), 'nr_of_faxes_sent': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'preferred_skill': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'profiles_preferred'", 'null': 'True', 'to': "orm['base.Skill']"}), 'province': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'references': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['base.Reference']", 'symmetrical': 'False', 'blank': 'True'}), 'school': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'show_address': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'show_contact_number': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'skills': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'profiles'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['base.Skill']"}), 'surname': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'telephone_number': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}), 'work_experiences': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['base.WorkExperience']", 'symmetrical': 'False', 'blank': 'True'}) }, 'base.language': { 'Meta': {'object_name': 'Language'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '45'}), 'read_write': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) }, 'base.reference': { 'Meta': {'object_name': 'Reference'}, 'contact_no': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '45'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'relationship': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}) }, 'base.skill': { 'Meta': {'object_name': 'Skill'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'level': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'primary': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'skill': ('django.db.models.fields.CharField', [], {'max_length': '45'}) }, 'base.userban': { 'Meta': {'object_name': 'UserBan'}, 'ban_on': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_unbanned': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'unban_on': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) }, 'base.workexperience': { 'Meta': {'object_name': 'WorkExperience'}, 'company': ('django.db.models.fields.CharField', [], {'max_length': '45', 'null': 'True', 'blank': 'True'}), 'end_year': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'start_year': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '45'}) }, 'category.category': { 'Meta': {'ordering': "('title',)", 'object_name': 'Category'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['category.Category']", 'null': 'True', 'blank': 'True'}), 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['sites.Site']", 'null': 'True', 'blank': 'True'}), 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}), 'subtitle': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}) }, 'category.tag': { 'Meta': {'ordering': "('title',)", 'object_name': 'Tag'}, 'categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['category.Category']", 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}) }, 'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'jmbo.modelbase': { 'Meta': {'ordering': "('-created',)", 'object_name': 'ModelBase'}, 'anonymous_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'anonymous_likes': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['category.Category']", 'null': 'True', 'blank': 'True'}), 'class_name': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), 'comments_closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'comments_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True'}), 'created': ('django.db.models.fields.DateTimeField', [], {'blank': 'True'}), 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'modelbase_related'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'likes_closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'likes_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['atlas.Location']", 'null': 'True', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {}), 'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), 'primary_category': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'primary_modelbase_set'", 'null': 'True', 'to': "orm['category.Category']"}), 'publish_on': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'publishers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['publisher.Publisher']", 'null': 'True', 'blank': 'True'}), 'retract_on': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['sites.Site']", 'null': 'True', 'symmetrical': 'False'}), 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'}), 'state': ('django.db.models.fields.CharField', [], {'default': "'unpublished'", 'max_length': '32', 'null': 'True', 'blank': 'True'}), 'subtitle': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}), 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['category.Tag']", 'null': 'True', 'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) }, 'photologue.photo': { 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}), 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50', 'db_index': 'True'}), 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) }, 'photologue.photoeffect': { 'Meta': {'object_name': 'PhotoEffect'}, 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) }, 'publisher.publisher': { 'Meta': {'object_name': 'Publisher'}, 'class_name': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '64'}) }, 'secretballot.vote': { 'Meta': {'unique_together': "(('token', 'content_type', 'object_id'),)", 'object_name': 'Vote'}, 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), 'token': ('django.db.models.fields.CharField', [], {'max_length': '50'}), 'vote': ('django.db.models.fields.SmallIntegerField', [], {}) }, 'sites.site': { 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) } } complete_apps = ['base']
84.731183
201
0.554103
2,368
23,640
5.430321
0.107686
0.11074
0.193794
0.273738
0.79563
0.746637
0.728439
0.642041
0.55642
0.481375
0
0.011342
0.186929
23,640
278
202
85.035971
0.657666
0.00368
0
0.225564
0
0
0.591702
0.312115
0
0
0
0
0
1
0.007519
false
0.003759
0.015038
0
0.033835
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f72fec409082a747247e54f3160b84531dff3bf0
49
py
Python
pydotted/__init__.py
aredden/pydotted
62ad1d3eaccc65edc94b3cf4a0673ad089a29c6a
[ "MIT" ]
null
null
null
pydotted/__init__.py
aredden/pydotted
62ad1d3eaccc65edc94b3cf4a0673ad089a29c6a
[ "MIT" ]
null
null
null
pydotted/__init__.py
aredden/pydotted
62ad1d3eaccc65edc94b3cf4a0673ad089a29c6a
[ "MIT" ]
null
null
null
from .pydotted import pydot __ALL__ = ["pydot"]
12.25
27
0.714286
6
49
5.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.163265
49
3
28
16.333333
0.756098
0
0
0
0
0
0.102041
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f73027e9e4952cf5a8f78b5328442c74a11c9e43
234
py
Python
kwueBackend/kwue/controllers/list.py
bounswe/bounswe2016group4
cbc8201aa86049b81f20ef44ee37eb065a469d46
[ "Apache-2.0" ]
6
2016-02-14T18:04:48.000Z
2016-12-18T20:09:15.000Z
kwueBackend/kwue/controllers/list.py
bounswe/bounswe2016group4
cbc8201aa86049b81f20ef44ee37eb065a469d46
[ "Apache-2.0" ]
113
2016-02-14T18:06:57.000Z
2021-06-10T17:57:12.000Z
kwueBackend/kwue/controllers/list.py
bounswe/bounswe2016group4
cbc8201aa86049b81f20ef44ee37eb065a469d46
[ "Apache-2.0" ]
1
2017-02-15T18:48:55.000Z
2017-02-15T18:48:55.000Z
from django.shortcuts import render def get_list(req): return render(req, 'kwue/food.html', {}) def add_item(req): return render(req, 'kwue/food.html', {}) def create_list(req): return render(req, 'kwue/food.html', {})
21.272727
44
0.67094
35
234
4.4
0.457143
0.175325
0.292208
0.350649
0.675325
0.675325
0.675325
0.675325
0
0
0
0
0.15812
234
10
45
23.4
0.781726
0
0
0.428571
0
0
0.179487
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
f7459df24059d2013a6f67fb04115a680542aa8c
20,107
py
Python
test/test_datetime.py
nehaljwani/orjson
669e4a269023b222a1f0ffa572947b37d06415a3
[ "Apache-2.0", "MIT" ]
3,041
2018-11-26T08:15:46.000Z
2022-03-31T22:14:51.000Z
test/test_datetime.py
brandery/orjson
02d6805af278493f657c17305a2f0cc054f04078
[ "Apache-2.0", "MIT" ]
240
2018-11-25T20:01:02.000Z
2022-03-31T19:48:08.000Z
test/test_datetime.py
brandery/orjson
02d6805af278493f657c17305a2f0cc054f04078
[ "Apache-2.0", "MIT" ]
145
2018-12-20T08:54:32.000Z
2022-03-30T06:17:47.000Z
# SPDX-License-Identifier: (Apache-2.0 OR MIT) import datetime import sys import unittest import pytest import pytz from dateutil import tz import orjson try: import pendulum except ImportError: pendulum = None # type: ignore if sys.version_info >= (3, 9): import zoneinfo class DatetimeTests(unittest.TestCase): def test_datetime_naive(self): """ datetime.datetime naive prints without offset """ self.assertEqual( orjson.dumps([datetime.datetime(2000, 1, 1, 2, 3, 4, 123)]), b'["2000-01-01T02:03:04.000123"]', ) def test_datetime_naive_utc(self): """ datetime.datetime naive with opt assumes UTC """ self.assertEqual( orjson.dumps( [datetime.datetime(2000, 1, 1, 2, 3, 4, 123)], option=orjson.OPT_NAIVE_UTC, ), b'["2000-01-01T02:03:04.000123+00:00"]', ) def test_datetime_min(self): """ datetime.datetime min range """ self.assertEqual( orjson.dumps( [datetime.datetime(datetime.MINYEAR, 1, 1, 0, 0, 0, 0)], option=orjson.OPT_NAIVE_UTC, ), b'["0001-01-01T00:00:00+00:00"]', ) def test_datetime_max(self): """ datetime.datetime max range """ self.assertEqual( orjson.dumps( [datetime.datetime(datetime.MAXYEAR, 12, 31, 23, 59, 50, 999999)], option=orjson.OPT_NAIVE_UTC, ), b'["9999-12-31T23:59:50.999999+00:00"]', ) def test_datetime_three_digits(self): """ datetime.datetime three digit year """ self.assertEqual( orjson.dumps( [datetime.datetime(312, 1, 1)], option=orjson.OPT_NAIVE_UTC, ), b'["0312-01-01T00:00:00+00:00"]', ) def test_datetime_two_digits(self): """ datetime.datetime two digit year """ self.assertEqual( orjson.dumps( [datetime.datetime(46, 1, 1)], option=orjson.OPT_NAIVE_UTC, ), b'["0046-01-01T00:00:00+00:00"]', ) def test_datetime_tz_assume(self): """ datetime.datetime tz with assume UTC uses tz """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 1, 1, 2, 3, 4, 0, tzinfo=tz.gettz("Asia/Shanghai") ) ], option=orjson.OPT_NAIVE_UTC, ), b'["2018-01-01T02:03:04+08:00"]', ) def test_datetime_timezone_utc(self): """ datetime.datetime UTC """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 6, 1, 2, 3, 4, 0, tzinfo=datetime.timezone.utc ) ] ), b'["2018-06-01T02:03:04+00:00"]', ) def test_datetime_pytz_utc(self): """ datetime.datetime UTC """ self.assertEqual( orjson.dumps([datetime.datetime(2018, 6, 1, 2, 3, 4, 0, tzinfo=pytz.UTC)]), b'["2018-06-01T02:03:04+00:00"]', ) @unittest.skipIf( sys.version_info < (3, 9) or sys.platform.startswith("win"), "zoneinfo not available", ) def test_datetime_zoneinfo_positive(self): self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 1, 1, 2, 3, 4, 0, tzinfo=zoneinfo.ZoneInfo("Asia/Shanghai"), ) ] ), b'["2018-01-01T02:03:04+08:00"]', ) @unittest.skipIf( sys.version_info < (3, 9) or sys.platform.startswith("win"), "zoneinfo not available", ) def test_datetime_zoneinfo_negative(self): self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 6, 1, 2, 3, 4, 0, tzinfo=zoneinfo.ZoneInfo("America/New_York"), ) ] ), b'["2018-06-01T02:03:04-04:00"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_pendulum_utc(self): """ datetime.datetime UTC """ self.assertEqual( orjson.dumps( [datetime.datetime(2018, 6, 1, 2, 3, 4, 0, tzinfo=pendulum.UTC)] ), b'["2018-06-01T02:03:04+00:00"]', ) def test_datetime_arrow_positive(self): """ datetime.datetime positive UTC """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 1, 1, 2, 3, 4, 0, tzinfo=tz.gettz("Asia/Shanghai") ) ] ), b'["2018-01-01T02:03:04+08:00"]', ) def test_datetime_pytz_positive(self): """ datetime.datetime positive UTC """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 1, 1, 2, 3, 4, 0, tzinfo=pytz.timezone("Asia/Shanghai") ) ] ), b'["2018-01-01T02:03:04+08:00"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_pendulum_positive(self): """ datetime.datetime positive UTC """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 1, 1, 2, 3, 4, 0, tzinfo=pendulum.timezone("Asia/Shanghai"), ) ] ), b'["2018-01-01T02:03:04+08:00"]', ) def test_datetime_pytz_negative_dst(self): """ datetime.datetime negative UTC DST """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 6, 1, 2, 3, 4, 0, tzinfo=pytz.timezone("America/New_York") ) ] ), b'["2018-06-01T02:03:04-04:00"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_pendulum_negative_dst(self): """ datetime.datetime negative UTC DST """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 6, 1, 2, 3, 4, 0, tzinfo=pendulum.timezone("America/New_York"), ) ] ), b'["2018-06-01T02:03:04-04:00"]', ) def test_datetime_pytz_negative_non_dst(self): """ datetime.datetime negative UTC non-DST """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 12, 1, 2, 3, 4, 0, tzinfo=pytz.timezone("America/New_York"), ) ] ), b'["2018-12-01T02:03:04-05:00"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_pendulum_negative_non_dst(self): """ datetime.datetime negative UTC non-DST """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 12, 1, 2, 3, 4, 0, tzinfo=pendulum.timezone("America/New_York"), ) ] ), b'["2018-12-01T02:03:04-05:00"]', ) def test_datetime_partial_hour(self): """ datetime.datetime UTC offset partial hour """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 12, 1, 2, 3, 4, 0, tzinfo=pytz.timezone("Australia/Adelaide"), ) ] ), b'["2018-12-01T02:03:04+10:30"]', ) def test_datetime_pytz_partial_hour(self): """ datetime.datetime UTC offset partial hour """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 12, 1, 2, 3, 4, 0, tzinfo=pytz.timezone("Australia/Adelaide"), ) ] ), b'["2018-12-01T02:03:04+10:30"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_pendulum_partial_hour(self): """ datetime.datetime UTC offset partial hour """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2018, 12, 1, 2, 3, 4, 0, tzinfo=pendulum.timezone("Australia/Adelaide"), ) ] ), b'["2018-12-01T02:03:04+10:30"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_partial_second_pendulum_supported(self): """ datetime.datetime UTC offset round seconds https://tools.ietf.org/html/rfc3339#section-5.8 """ self.assertEqual( orjson.dumps( [ datetime.datetime( 1937, 1, 1, 12, 0, 27, 87, tzinfo=pendulum.timezone("Europe/Amsterdam"), ) ] ), b'["1937-01-01T12:00:27.000087+00:20"]', ) def test_datetime_partial_second_pytz(self): """ datetime.datetime UTC offset round seconds https://tools.ietf.org/html/rfc3339#section-5.8 """ self.assertEqual( orjson.dumps( [ datetime.datetime( 1937, 1, 1, 12, 0, 27, 87, tzinfo=pytz.timezone("Europe/Amsterdam"), ) ] ), b'["1937-01-01T12:00:27.000087+00:20"]', ) def test_datetime_partial_second_dateutil(self): """ datetime.datetime UTC offset round seconds https://tools.ietf.org/html/rfc3339#section-5.8 """ self.assertEqual( orjson.dumps( [ datetime.datetime( 1937, 1, 1, 12, 0, 27, 87, tzinfo=tz.gettz("Europe/Amsterdam") ) ] ), b'["1937-01-01T12:00:27.000087+00:20"]', ) def test_datetime_microsecond_max(self): """ datetime.datetime microsecond max """ self.assertEqual( orjson.dumps(datetime.datetime(2000, 1, 1, 0, 0, 0, 999999)), b'"2000-01-01T00:00:00.999999"', ) def test_datetime_microsecond_min(self): """ datetime.datetime microsecond min """ self.assertEqual( orjson.dumps(datetime.datetime(2000, 1, 1, 0, 0, 0, 1)), b'"2000-01-01T00:00:00.000001"', ) def test_datetime_omit_microseconds(self): """ datetime.datetime OPT_OMIT_MICROSECONDS """ self.assertEqual( orjson.dumps( [datetime.datetime(2000, 1, 1, 2, 3, 4, 123)], option=orjson.OPT_OMIT_MICROSECONDS, ), b'["2000-01-01T02:03:04"]', ) def test_datetime_omit_microseconds_naive(self): """ datetime.datetime naive OPT_OMIT_MICROSECONDS """ self.assertEqual( orjson.dumps( [datetime.datetime(2000, 1, 1, 2, 3, 4, 123)], option=orjson.OPT_NAIVE_UTC | orjson.OPT_OMIT_MICROSECONDS, ), b'["2000-01-01T02:03:04+00:00"]', ) def test_time_omit_microseconds(self): """ datetime.time OPT_OMIT_MICROSECONDS """ self.assertEqual( orjson.dumps( [datetime.time(2, 3, 4, 123)], option=orjson.OPT_OMIT_MICROSECONDS ), b'["02:03:04"]', ) def test_datetime_utc_z_naive_omit(self): """ datetime.datetime naive OPT_UTC_Z """ self.assertEqual( orjson.dumps( [datetime.datetime(2000, 1, 1, 2, 3, 4, 123)], option=orjson.OPT_NAIVE_UTC | orjson.OPT_UTC_Z | orjson.OPT_OMIT_MICROSECONDS, ), b'["2000-01-01T02:03:04Z"]', ) def test_datetime_utc_z_naive(self): """ datetime.datetime naive OPT_UTC_Z """ self.assertEqual( orjson.dumps( [datetime.datetime(2000, 1, 1, 2, 3, 4, 123)], option=orjson.OPT_NAIVE_UTC | orjson.OPT_UTC_Z, ), b'["2000-01-01T02:03:04.000123Z"]', ) def test_datetime_utc_z_without_tz(self): """ datetime.datetime naive OPT_UTC_Z """ self.assertEqual( orjson.dumps( [datetime.datetime(2000, 1, 1, 2, 3, 4, 123)], option=orjson.OPT_UTC_Z ), b'["2000-01-01T02:03:04.000123"]', ) def test_datetime_utc_z_with_tz(self): """ datetime.datetime naive OPT_UTC_Z """ self.assertEqual( orjson.dumps( [ datetime.datetime( 2000, 1, 1, 0, 0, 0, 1, tzinfo=datetime.timezone.utc ) ], option=orjson.OPT_UTC_Z, ), b'["2000-01-01T00:00:00.000001Z"]', ) self.assertEqual( orjson.dumps( [ datetime.datetime( 1937, 1, 1, 12, 0, 27, 87, tzinfo=tz.gettz("Europe/Amsterdam") ) ], option=orjson.OPT_UTC_Z, ), b'["1937-01-01T12:00:27.000087+00:20"]', ) @pytest.mark.skipif(pendulum is None, reason="pendulum install broken on win") def test_datetime_roundtrip(self): """ datetime.datetime parsed by pendulum """ obj = datetime.datetime(2000, 1, 1, 0, 0, 0, 1, tzinfo=datetime.timezone.utc) serialized = orjson.dumps(obj).decode("utf-8").replace('"', "") parsed = pendulum.parse(serialized) for attr in ("year", "month", "day", "hour", "minute", "second", "microsecond"): self.assertEqual(getattr(obj, attr), getattr(parsed, attr)) class DateTests(unittest.TestCase): def test_date(self): """ datetime.date """ self.assertEqual(orjson.dumps([datetime.date(2000, 1, 13)]), b'["2000-01-13"]') def test_date_min(self): """ datetime.date MINYEAR """ self.assertEqual( orjson.dumps([datetime.date(datetime.MINYEAR, 1, 1)]), b'["0001-01-01"]' ) def test_date_max(self): """ datetime.date MAXYEAR """ self.assertEqual( orjson.dumps([datetime.date(datetime.MAXYEAR, 12, 31)]), b'["9999-12-31"]' ) def test_date_three_digits(self): """ datetime.date three digit year """ self.assertEqual( orjson.dumps( [datetime.date(312, 1, 1)], ), b'["0312-01-01"]', ) def test_date_two_digits(self): """ datetime.date two digit year """ self.assertEqual( orjson.dumps( [datetime.date(46, 1, 1)], ), b'["0046-01-01"]', ) class TimeTests(unittest.TestCase): def test_time(self): """ datetime.time """ self.assertEqual( orjson.dumps([datetime.time(12, 15, 59, 111)]), b'["12:15:59.000111"]' ) self.assertEqual(orjson.dumps([datetime.time(12, 15, 59)]), b'["12:15:59"]') def test_time_tz(self): """ datetime.time with tzinfo error """ with self.assertRaises(orjson.JSONEncodeError): orjson.dumps( [datetime.time(12, 15, 59, 111, tzinfo=tz.gettz("Asia/Shanghai"))] ) def test_time_microsecond_max(self): """ datetime.time microsecond max """ self.assertEqual( orjson.dumps(datetime.time(0, 0, 0, 999999)), b'"00:00:00.999999"' ) def test_time_microsecond_min(self): """ datetime.time microsecond min """ self.assertEqual(orjson.dumps(datetime.time(0, 0, 0, 1)), b'"00:00:00.000001"') class DateclassPassthroughTests(unittest.TestCase): def test_passthrough_datetime(self): with self.assertRaises(orjson.JSONEncodeError): orjson.dumps( datetime.datetime(1970, 1, 1), option=orjson.OPT_PASSTHROUGH_DATETIME ) def test_passthrough_date(self): with self.assertRaises(orjson.JSONEncodeError): orjson.dumps( datetime.date(1970, 1, 1), option=orjson.OPT_PASSTHROUGH_DATETIME ) def test_passthrough_time(self): with self.assertRaises(orjson.JSONEncodeError): orjson.dumps( datetime.time(12, 0, 0), option=orjson.OPT_PASSTHROUGH_DATETIME ) def test_passthrough_datetime_default(self): def default(obj): return obj.strftime("%a, %d %b %Y %H:%M:%S GMT") self.assertEqual( orjson.dumps( datetime.datetime(1970, 1, 1), option=orjson.OPT_PASSTHROUGH_DATETIME, default=default, ), b'"Thu, 01 Jan 1970 00:00:00 GMT"', )
28.765379
88
0.440145
1,881
20,107
4.590112
0.102605
0.131573
0.10783
0.135511
0.804262
0.769748
0.736738
0.715427
0.649757
0.596595
0
0.1117
0.446561
20,107
698
89
28.80659
0.66418
0.080271
0
0.538462
0
0
0.103137
0.05834
0
0
0
0
0.098619
1
0.096647
false
0.017751
0.019724
0.001972
0.126233
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f74909fb60ada34fad6592054a84512c7fa87b40
185
py
Python
app/api/admin/__init__.py
WycliffeMuchumi/Stream-101-API
9892685c37ff6f3e1e9017bfa5321968a5255c9e
[ "MIT" ]
null
null
null
app/api/admin/__init__.py
WycliffeMuchumi/Stream-101-API
9892685c37ff6f3e1e9017bfa5321968a5255c9e
[ "MIT" ]
1
2021-06-04T09:45:05.000Z
2021-06-04T09:45:05.000Z
app/api/admin/__init__.py
muchumi/Stream-101-API
9892685c37ff6f3e1e9017bfa5321968a5255c9e
[ "MIT" ]
1
2021-06-04T09:43:58.000Z
2021-06-04T09:43:58.000Z
from flask import Blueprint """ Admin Blueprint """ blueprint = Blueprint( 'admin_blueprint', __name__, url_prefix = '/admin' ) from app.api.admin.views import admin
13.214286
37
0.675676
21
185
5.666667
0.52381
0.235294
0.386555
0
0
0
0
0
0
0
0
0
0.216216
185
14
37
13.214286
0.82069
0
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
f751d76698e8ae306b996a273dc94e8ba599b637
260
py
Python
dunm_sandbox/myapp/migrations/0004_merge_20200502_0148.py
lorinkoz/django-unmigrate
8b5d887e4dbcaadf84b1e0d6899e57ee437ad794
[ "MIT" ]
65
2020-04-29T05:54:43.000Z
2021-11-03T15:13:50.000Z
dunm_sandbox/myapp/migrations/0004_merge_20200502_0148.py
lorinkoz/django-unmigrate
8b5d887e4dbcaadf84b1e0d6899e57ee437ad794
[ "MIT" ]
14
2020-04-29T05:55:49.000Z
2021-04-28T19:34:26.000Z
dunm_sandbox/myapp/migrations/0004_merge_20200502_0148.py
lorinkoz/django-unmigrate
8b5d887e4dbcaadf84b1e0d6899e57ee437ad794
[ "MIT" ]
4
2020-05-06T16:47:49.000Z
2020-09-04T08:23:40.000Z
# Generated by Django 3.0.5 on 2020-05-02 01:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("myapp", "0003_mymodel_is_paid"), ("myapp", "0003_mymodel_is_active"), ] operations = []
18.571429
47
0.65
33
260
4.939394
0.787879
0.110429
0.196319
0.220859
0
0
0
0
0
0
0
0.113861
0.223077
260
13
48
20
0.693069
0.173077
0
0
1
0
0.244131
0.103286
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
f768d46f66b6b97f24f78dfd1b6bc540af553b94
162
py
Python
Shivani/leap year.py
63Shivani/Python-BootCamp
2ed0ef95af35d35c0602031670fecfc92d8cea0a
[ "MIT" ]
null
null
null
Shivani/leap year.py
63Shivani/Python-BootCamp
2ed0ef95af35d35c0602031670fecfc92d8cea0a
[ "MIT" ]
null
null
null
Shivani/leap year.py
63Shivani/Python-BootCamp
2ed0ef95af35d35c0602031670fecfc92d8cea0a
[ "MIT" ]
null
null
null
n=int(input("enter year\n")) if(n%400==0 and n%100==0): print("leap year") elif(n%4==0 and n%100!=0): print("leap year") else: print("not leap year")
20.25
28
0.58642
33
162
2.878788
0.484848
0.252632
0.105263
0.168421
0.463158
0.463158
0.463158
0.463158
0
0
0
0.104478
0.17284
162
7
29
23.142857
0.604478
0
0
0.285714
0
0
0.265432
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
f7805ec215ebf6ae4a6b840dd0e898485dc38f8c
123
py
Python
uvicorn/loops/asyncio.py
rigelk/uvicorn
f6f173c16887b4fceeec8ebf62808ea7a6111472
[ "BSD-3-Clause" ]
8
2020-07-10T15:40:01.000Z
2022-03-18T12:55:04.000Z
uvicorn/loops/asyncio.py
rigelk/uvicorn
f6f173c16887b4fceeec8ebf62808ea7a6111472
[ "BSD-3-Clause" ]
null
null
null
uvicorn/loops/asyncio.py
rigelk/uvicorn
f6f173c16887b4fceeec8ebf62808ea7a6111472
[ "BSD-3-Clause" ]
1
2021-09-05T21:19:30.000Z
2021-09-05T21:19:30.000Z
import asyncio def asyncio_setup(): loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) return loop
15.375
35
0.723577
17
123
4.941176
0.529412
0.261905
0
0
0
0
0
0
0
0
0
0
0.195122
123
7
36
17.571429
0.848485
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
f78cb9b1c1fd282dd59397929bfdaf292bafcf47
52
py
Python
src/augury/data_import/__init__.py
tipresias/augury
eaae2a7d27ee8c39796231ec55e0e2a82b59d60c
[ "MIT" ]
4
2019-12-05T06:02:08.000Z
2022-02-01T23:49:23.000Z
src/augury/data_import/__init__.py
tipresias/augury
eaae2a7d27ee8c39796231ec55e0e2a82b59d60c
[ "MIT" ]
143
2019-07-30T11:06:56.000Z
2022-03-14T19:02:39.000Z
src/augury/data_import/__init__.py
tipresias/augury
eaae2a7d27ee8c39796231ec55e0e2a82b59d60c
[ "MIT" ]
3
2019-12-30T22:57:41.000Z
2020-12-31T02:39:07.000Z
"""Module for importing data from external APIs."""
26
51
0.730769
7
52
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.134615
52
1
52
52
0.844444
0.865385
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e3a971eb5f95f59084186994c92461cc1322ca79
86
py
Python
src/typeDefs/fsc.py
nagasudhirpulla/wrldc_codebook
8fbc795074e16e2012b29ae875b99aa721a7f021
[ "MIT" ]
null
null
null
src/typeDefs/fsc.py
nagasudhirpulla/wrldc_codebook
8fbc795074e16e2012b29ae875b99aa721a7f021
[ "MIT" ]
21
2021-01-08T18:03:32.000Z
2021-02-02T16:17:34.000Z
src/typeDefs/fsc.py
nagasudhirpulla/wrldc_codebook
8fbc795074e16e2012b29ae875b99aa721a7f021
[ "MIT" ]
null
null
null
from src.typeDefs.element import IElement class IFsc(IElement): substation: str
14.333333
41
0.767442
11
86
6
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.162791
86
5
42
17.2
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e3b7c043db4374ac5c70124f2b45aa84d2cc3094
1,486
py
Python
ptranking/ltr_adversarial/base/ad_machine.py
ii-research-ranking/ptranking
2794e6e086bcd87ce177f40194339e9b825e9f4c
[ "MIT" ]
64
2018-09-19T17:04:04.000Z
2020-04-30T07:54:04.000Z
ptranking/ltr_adversarial/base/ad_machine.py
ii-research-ranking/ptranking
2794e6e086bcd87ce177f40194339e9b825e9f4c
[ "MIT" ]
4
2018-09-27T06:59:02.000Z
2020-01-05T12:35:12.000Z
ptranking/ltr_adversarial/base/ad_machine.py
ii-research-ranking/ptranking
2794e6e086bcd87ce177f40194339e9b825e9f4c
[ "MIT" ]
11
2018-09-28T07:17:51.000Z
2020-03-12T06:28:35.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- class AdversarialMachine(): ''' An abstract adversarial learning-to-rank framework ''' def __init__(self, eval_dict=None, data_dict=None, gpu=False, device=None): #todo double-check the necessity of these two arguments self.eval_dict = eval_dict self.data_dict = data_dict self.gpu, self.device = gpu, device def pre_check(self): pass def burn_in(self, train_data=None): pass def mini_max_train(self, train_data=None, generator=None, discriminator=None, d_epoches=1, g_epoches=1, global_buffer=None): pass def fill_global_buffer(self): ''' Buffer some global information for higher efficiency. We note that global information may differ w.r.t. the model ''' pass def generate_data(self, train_data=None, generator=None, **kwargs): pass def train_generator(self, train_data=None, generated_data=None, generator=None, discriminator=None, **kwargs): pass def train_discriminator(self, train_data=None, generated_data=None, discriminator=None, **kwargs): pass def reset_generator(self): pass def reset_discriminator(self): pass def reset_generator_discriminator(self): self.reset_generator() self.reset_discriminator() def get_generator(self): return None def get_discriminator(self): return None
26.535714
128
0.660162
188
1,486
5.021277
0.37766
0.066737
0.068856
0.090042
0.255297
0.230932
0.072034
0
0
0
0
0.002676
0.245626
1,486
55
129
27.018182
0.839429
0.175639
0
0.366667
0
0
0
0
0
0
0
0.018182
0
1
0.433333
false
0.3
0
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
e3c8fedf21fec42bf061f6288755d5cf84446a20
190
py
Python
venv/Lib/site-packages/pybrain3/rl/environments/cartpole/fast_version/__init__.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pybrain3/rl/environments/cartpole/fast_version/__init__.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pybrain3/rl/environments/cartpole/fast_version/__init__.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
try: import cartpolewrap except ImportError: raise ImportError('This task needs to be compiled. Please use the script: cartpolecompile.py') from .cartpoleenv import FastCartPoleTask
31.666667
98
0.794737
23
190
6.565217
0.913043
0
0
0
0
0
0
0
0
0
0
0
0.152632
190
6
99
31.666667
0.937888
0
0
0
0
0
0.382199
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
5816e1c0384ebad876ef65713a161ec90c574206
61
py
Python
src/spn/data/__init__.py
tkrons/SPFlow_topdownrules
6227fc973f4f36da7fbe25fa500d656eb7273033
[ "Apache-2.0" ]
199
2018-11-13T10:37:45.000Z
2022-02-06T17:07:28.000Z
src/spn/data/__init__.py
minimrbanana/SPFlow
32233bf29d107c62f0f727b0e64aaa74b37cfe1e
[ "Apache-2.0" ]
46
2018-11-30T13:40:38.000Z
2022-01-22T21:05:07.000Z
src/spn/data/__init__.py
minimrbanana/SPFlow
32233bf29d107c62f0f727b0e64aaa74b37cfe1e
[ "Apache-2.0" ]
78
2018-11-13T10:37:48.000Z
2022-03-14T21:34:13.000Z
""" Created on March 30, 2018 @author: Alejandro Molina """
10.166667
25
0.672131
8
61
5.125
1
0
0
0
0
0
0
0
0
0
0
0.12
0.180328
61
5
26
12.2
0.7
0.852459
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
581c7f5952a4b4c2f861f73e6ac88fa410c8c2ed
53,513
py
Python
dfx_apiv2_protos/groups_pb2.py
nuralogix/dfx-apiv2-protos-python
6402563e4dc8adcb823e521b11b5ac47408466c7
[ "MIT" ]
1
2022-02-15T01:13:47.000Z
2022-02-15T01:13:47.000Z
dfx_apiv2_protos/groups_pb2.py
nuralogix/dfx-apiv2-protos-python
6402563e4dc8adcb823e521b11b5ac47408466c7
[ "MIT" ]
null
null
null
dfx_apiv2_protos/groups_pb2.py
nuralogix/dfx-apiv2-protos-python
6402563e4dc8adcb823e521b11b5ac47408466c7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: groups.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='groups.proto', package='dfx.proto.groups', syntax='proto3', serialized_options=b'\n\020ai.nuralogix.dfxB\006Groups\370\001\001', create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x0cgroups.proto\x12\x10\x64\x66x.proto.groups\"\x0e\n\x0cTypesRequest\"|\n\rTypesResponse\x12\x34\n\x06Values\x18\x01 \x03(\x0b\x32$.dfx.proto.groups.TypesResponse.Type\x1a\x35\n\x04Type\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x0c\n\x04Name\x18\x02 \x01(\t\x12\x13\n\x0b\x44\x65scription\x18\x03 \x01(\t\"d\n\x0bListRequest\x12\x38\n\x05Query\x18\x01 \x01(\x0b\x32).dfx.proto.groups.ListRequest.QueryValues\x1a\x1b\n\x0bQueryValues\x12\x0c\n\x04Type\x18\x01 \x01(\t\"\xd5\x01\n\x0cListResponse\x12\x34\n\x06Values\x18\x01 \x03(\x0b\x32$.dfx.proto.groups.ListResponse.Group\x1a\x8e\x01\n\x05Group\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x0c\n\x04Name\x18\x02 \x01(\t\x12\x13\n\x0bGroupTypeID\x18\x03 \x01(\t\x12\x10\n\x08StatusID\x18\x04 \x01(\t\x12\x13\n\x0b\x44\x65scription\x18\x05 \x01(\t\x12\r\n\x05Users\x18\x06 \x01(\x05\x12\x0f\n\x07\x43reated\x18\x07 \x01(\r\x12\x0f\n\x07Updated\x18\x08 \x01(\r\"k\n\x0fRetrieveRequest\x12=\n\x06Params\x18\x01 \x01(\x0b\x32-.dfx.proto.groups.RetrieveRequest.ParamValues\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"\xf4\x01\n\x10RetrieveResponse\x12>\n\x06Params\x18\x01 \x01(\x0b\x32..dfx.proto.groups.RetrieveResponse.ParamValues\x12\n\n\x02ID\x18\x02 \x01(\t\x12\x0c\n\x04Name\x18\x03 \x01(\t\x12\x13\n\x0bGroupTypeID\x18\x04 \x01(\t\x12\x10\n\x08StatusID\x18\x05 \x01(\t\x12\x13\n\x0b\x44\x65scription\x18\x06 \x01(\t\x12\r\n\x05Users\x18\x07 \x01(\x05\x12\x0f\n\x07\x43reated\x18\x08 \x01(\r\x12\x0f\n\x07Updated\x18\t \x01(\r\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"G\n\rCreateRequest\x12\x0c\n\x04Name\x18\x01 \x01(\t\x12\x13\n\x0bGroupTypeID\x18\x02 \x01(\t\x12\x13\n\x0b\x44\x65scription\x18\x03 \x01(\t\"\x1c\n\x0e\x43reateResponse\x12\n\n\x02ID\x18\x01 \x01(\t\"\x9f\x01\n\rUpdateRequest\x12\x0c\n\x04Name\x18\x01 \x01(\t\x12\x13\n\x0bGroupTypeID\x18\x02 \x01(\t\x12\x13\n\x0b\x44\x65scription\x18\x03 \x01(\t\x12;\n\x06Params\x18\x04 \x01(\x0b\x32+.dfx.proto.groups.UpdateRequest.ParamValues\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"\x10\n\x0eUpdateResponse\"g\n\rRemoveRequest\x12;\n\x06Params\x18\x01 \x01(\x0b\x32+.dfx.proto.groups.RemoveRequest.ParamValues\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"\x10\n\x0eRemoveResponse\"{\n\x0f\x41\x64\x64UsersRequest\x12=\n\x06Params\x18\x01 \x01(\x0b\x32-.dfx.proto.groups.AddUsersRequest.ParamValues\x12\x0e\n\x06Values\x18\x02 \x03(\t\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"\"\n\x10\x41\x64\x64UsersResponse\x12\x0e\n\x06Values\x18\x01 \x03(\t\"\x81\x01\n\x12RemoveUsersRequest\x12@\n\x06Params\x18\x01 \x01(\x0b\x32\x30.dfx.proto.groups.RemoveUsersRequest.ParamValues\x12\x0e\n\x06Values\x18\x02 \x03(\t\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"%\n\x13RemoveUsersResponse\x12\x0e\n\x06Values\x18\x01 \x03(\t\"{\n\x0fGetUsersRequest\x12=\n\x06Params\x18\x01 \x01(\x0b\x32-.dfx.proto.groups.GetUsersRequest.ParamValues\x12\x0e\n\x06Values\x18\x02 \x03(\t\x1a\x19\n\x0bParamValues\x12\n\n\x02ID\x18\x01 \x01(\t\"\"\n\x10GetUsersResponse\x12\x0e\n\x06Values\x18\x01 \x03(\t2\xe9\x05\n\x08Services\x12J\n\x05Types\x12\x1e.dfx.proto.groups.TypesRequest\x1a\x1f.dfx.proto.groups.TypesResponse\"\x00\x12G\n\x04List\x12\x1d.dfx.proto.groups.ListRequest\x1a\x1e.dfx.proto.groups.ListResponse\"\x00\x12M\n\x06\x43reate\x12\x1f.dfx.proto.groups.CreateRequest\x1a .dfx.proto.groups.CreateResponse\"\x00\x12S\n\x08Retrieve\x12!.dfx.proto.groups.RetrieveRequest\x1a\".dfx.proto.groups.RetrieveResponse\"\x00\x12M\n\x06Update\x12\x1f.dfx.proto.groups.UpdateRequest\x1a .dfx.proto.groups.UpdateResponse\"\x00\x12M\n\x06Remove\x12\x1f.dfx.proto.groups.RemoveRequest\x1a .dfx.proto.groups.RemoveResponse\"\x00\x12S\n\x08\x41\x64\x64Users\x12!.dfx.proto.groups.AddUsersRequest\x1a\".dfx.proto.groups.AddUsersResponse\"\x00\x12\\\n\x0bRemoveUsers\x12$.dfx.proto.groups.RemoveUsersRequest\x1a%.dfx.proto.groups.RemoveUsersResponse\"\x00\x12S\n\x08GetUsers\x12!.dfx.proto.groups.GetUsersRequest\x1a\".dfx.proto.groups.GetUsersResponse\"\x00\x42\x1d\n\x10\x61i.nuralogix.dfxB\x06Groups\xf8\x01\x01\x62\x06proto3' ) _TYPESREQUEST = _descriptor.Descriptor( name='TypesRequest', full_name='dfx.proto.groups.TypesRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=34, serialized_end=48, ) _TYPESRESPONSE_TYPE = _descriptor.Descriptor( name='Type', full_name='dfx.proto.groups.TypesResponse.Type', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.TypesResponse.Type.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Name', full_name='dfx.proto.groups.TypesResponse.Type.Name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Description', full_name='dfx.proto.groups.TypesResponse.Type.Description', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=121, serialized_end=174, ) _TYPESRESPONSE = _descriptor.Descriptor( name='TypesResponse', full_name='dfx.proto.groups.TypesResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.TypesResponse.Values', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_TYPESRESPONSE_TYPE, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=50, serialized_end=174, ) _LISTREQUEST_QUERYVALUES = _descriptor.Descriptor( name='QueryValues', full_name='dfx.proto.groups.ListRequest.QueryValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Type', full_name='dfx.proto.groups.ListRequest.QueryValues.Type', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=249, serialized_end=276, ) _LISTREQUEST = _descriptor.Descriptor( name='ListRequest', full_name='dfx.proto.groups.ListRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Query', full_name='dfx.proto.groups.ListRequest.Query', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_LISTREQUEST_QUERYVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=176, serialized_end=276, ) _LISTRESPONSE_GROUP = _descriptor.Descriptor( name='Group', full_name='dfx.proto.groups.ListResponse.Group', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.ListResponse.Group.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Name', full_name='dfx.proto.groups.ListResponse.Group.Name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='GroupTypeID', full_name='dfx.proto.groups.ListResponse.Group.GroupTypeID', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='StatusID', full_name='dfx.proto.groups.ListResponse.Group.StatusID', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Description', full_name='dfx.proto.groups.ListResponse.Group.Description', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Users', full_name='dfx.proto.groups.ListResponse.Group.Users', index=5, number=6, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Created', full_name='dfx.proto.groups.ListResponse.Group.Created', index=6, number=7, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Updated', full_name='dfx.proto.groups.ListResponse.Group.Updated', index=7, number=8, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=350, serialized_end=492, ) _LISTRESPONSE = _descriptor.Descriptor( name='ListResponse', full_name='dfx.proto.groups.ListResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.ListResponse.Values', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_LISTRESPONSE_GROUP, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=279, serialized_end=492, ) _RETRIEVEREQUEST_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.RetrieveRequest.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.RetrieveRequest.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _RETRIEVEREQUEST = _descriptor.Descriptor( name='RetrieveRequest', full_name='dfx.proto.groups.RetrieveRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.RetrieveRequest.Params', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_RETRIEVEREQUEST_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=494, serialized_end=601, ) _RETRIEVERESPONSE_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.RetrieveResponse.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.RetrieveResponse.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _RETRIEVERESPONSE = _descriptor.Descriptor( name='RetrieveResponse', full_name='dfx.proto.groups.RetrieveResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.RetrieveResponse.Params', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.RetrieveResponse.ID', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Name', full_name='dfx.proto.groups.RetrieveResponse.Name', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='GroupTypeID', full_name='dfx.proto.groups.RetrieveResponse.GroupTypeID', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='StatusID', full_name='dfx.proto.groups.RetrieveResponse.StatusID', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Description', full_name='dfx.proto.groups.RetrieveResponse.Description', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Users', full_name='dfx.proto.groups.RetrieveResponse.Users', index=6, number=7, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Created', full_name='dfx.proto.groups.RetrieveResponse.Created', index=7, number=8, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Updated', full_name='dfx.proto.groups.RetrieveResponse.Updated', index=8, number=9, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_RETRIEVERESPONSE_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=604, serialized_end=848, ) _CREATEREQUEST = _descriptor.Descriptor( name='CreateRequest', full_name='dfx.proto.groups.CreateRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Name', full_name='dfx.proto.groups.CreateRequest.Name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='GroupTypeID', full_name='dfx.proto.groups.CreateRequest.GroupTypeID', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Description', full_name='dfx.proto.groups.CreateRequest.Description', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=850, serialized_end=921, ) _CREATERESPONSE = _descriptor.Descriptor( name='CreateResponse', full_name='dfx.proto.groups.CreateResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.CreateResponse.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=923, serialized_end=951, ) _UPDATEREQUEST_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.UpdateRequest.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.UpdateRequest.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _UPDATEREQUEST = _descriptor.Descriptor( name='UpdateRequest', full_name='dfx.proto.groups.UpdateRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Name', full_name='dfx.proto.groups.UpdateRequest.Name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='GroupTypeID', full_name='dfx.proto.groups.UpdateRequest.GroupTypeID', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Description', full_name='dfx.proto.groups.UpdateRequest.Description', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.UpdateRequest.Params', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_UPDATEREQUEST_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=954, serialized_end=1113, ) _UPDATERESPONSE = _descriptor.Descriptor( name='UpdateResponse', full_name='dfx.proto.groups.UpdateResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1115, serialized_end=1131, ) _REMOVEREQUEST_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.RemoveRequest.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.RemoveRequest.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _REMOVEREQUEST = _descriptor.Descriptor( name='RemoveRequest', full_name='dfx.proto.groups.RemoveRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.RemoveRequest.Params', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_REMOVEREQUEST_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1133, serialized_end=1236, ) _REMOVERESPONSE = _descriptor.Descriptor( name='RemoveResponse', full_name='dfx.proto.groups.RemoveResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1238, serialized_end=1254, ) _ADDUSERSREQUEST_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.AddUsersRequest.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.AddUsersRequest.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _ADDUSERSREQUEST = _descriptor.Descriptor( name='AddUsersRequest', full_name='dfx.proto.groups.AddUsersRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.AddUsersRequest.Params', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.AddUsersRequest.Values', index=1, number=2, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_ADDUSERSREQUEST_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1256, serialized_end=1379, ) _ADDUSERSRESPONSE = _descriptor.Descriptor( name='AddUsersResponse', full_name='dfx.proto.groups.AddUsersResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.AddUsersResponse.Values', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1381, serialized_end=1415, ) _REMOVEUSERSREQUEST_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.RemoveUsersRequest.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.RemoveUsersRequest.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _REMOVEUSERSREQUEST = _descriptor.Descriptor( name='RemoveUsersRequest', full_name='dfx.proto.groups.RemoveUsersRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.RemoveUsersRequest.Params', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.RemoveUsersRequest.Values', index=1, number=2, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_REMOVEUSERSREQUEST_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1418, serialized_end=1547, ) _REMOVEUSERSRESPONSE = _descriptor.Descriptor( name='RemoveUsersResponse', full_name='dfx.proto.groups.RemoveUsersResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.RemoveUsersResponse.Values', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1549, serialized_end=1586, ) _GETUSERSREQUEST_PARAMVALUES = _descriptor.Descriptor( name='ParamValues', full_name='dfx.proto.groups.GetUsersRequest.ParamValues', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ID', full_name='dfx.proto.groups.GetUsersRequest.ParamValues.ID', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=576, serialized_end=601, ) _GETUSERSREQUEST = _descriptor.Descriptor( name='GetUsersRequest', full_name='dfx.proto.groups.GetUsersRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Params', full_name='dfx.proto.groups.GetUsersRequest.Params', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.GetUsersRequest.Values', index=1, number=2, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_GETUSERSREQUEST_PARAMVALUES, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1588, serialized_end=1711, ) _GETUSERSRESPONSE = _descriptor.Descriptor( name='GetUsersResponse', full_name='dfx.proto.groups.GetUsersResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='Values', full_name='dfx.proto.groups.GetUsersResponse.Values', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1713, serialized_end=1747, ) _TYPESRESPONSE_TYPE.containing_type = _TYPESRESPONSE _TYPESRESPONSE.fields_by_name['Values'].message_type = _TYPESRESPONSE_TYPE _LISTREQUEST_QUERYVALUES.containing_type = _LISTREQUEST _LISTREQUEST.fields_by_name['Query'].message_type = _LISTREQUEST_QUERYVALUES _LISTRESPONSE_GROUP.containing_type = _LISTRESPONSE _LISTRESPONSE.fields_by_name['Values'].message_type = _LISTRESPONSE_GROUP _RETRIEVEREQUEST_PARAMVALUES.containing_type = _RETRIEVEREQUEST _RETRIEVEREQUEST.fields_by_name['Params'].message_type = _RETRIEVEREQUEST_PARAMVALUES _RETRIEVERESPONSE_PARAMVALUES.containing_type = _RETRIEVERESPONSE _RETRIEVERESPONSE.fields_by_name['Params'].message_type = _RETRIEVERESPONSE_PARAMVALUES _UPDATEREQUEST_PARAMVALUES.containing_type = _UPDATEREQUEST _UPDATEREQUEST.fields_by_name['Params'].message_type = _UPDATEREQUEST_PARAMVALUES _REMOVEREQUEST_PARAMVALUES.containing_type = _REMOVEREQUEST _REMOVEREQUEST.fields_by_name['Params'].message_type = _REMOVEREQUEST_PARAMVALUES _ADDUSERSREQUEST_PARAMVALUES.containing_type = _ADDUSERSREQUEST _ADDUSERSREQUEST.fields_by_name['Params'].message_type = _ADDUSERSREQUEST_PARAMVALUES _REMOVEUSERSREQUEST_PARAMVALUES.containing_type = _REMOVEUSERSREQUEST _REMOVEUSERSREQUEST.fields_by_name['Params'].message_type = _REMOVEUSERSREQUEST_PARAMVALUES _GETUSERSREQUEST_PARAMVALUES.containing_type = _GETUSERSREQUEST _GETUSERSREQUEST.fields_by_name['Params'].message_type = _GETUSERSREQUEST_PARAMVALUES DESCRIPTOR.message_types_by_name['TypesRequest'] = _TYPESREQUEST DESCRIPTOR.message_types_by_name['TypesResponse'] = _TYPESRESPONSE DESCRIPTOR.message_types_by_name['ListRequest'] = _LISTREQUEST DESCRIPTOR.message_types_by_name['ListResponse'] = _LISTRESPONSE DESCRIPTOR.message_types_by_name['RetrieveRequest'] = _RETRIEVEREQUEST DESCRIPTOR.message_types_by_name['RetrieveResponse'] = _RETRIEVERESPONSE DESCRIPTOR.message_types_by_name['CreateRequest'] = _CREATEREQUEST DESCRIPTOR.message_types_by_name['CreateResponse'] = _CREATERESPONSE DESCRIPTOR.message_types_by_name['UpdateRequest'] = _UPDATEREQUEST DESCRIPTOR.message_types_by_name['UpdateResponse'] = _UPDATERESPONSE DESCRIPTOR.message_types_by_name['RemoveRequest'] = _REMOVEREQUEST DESCRIPTOR.message_types_by_name['RemoveResponse'] = _REMOVERESPONSE DESCRIPTOR.message_types_by_name['AddUsersRequest'] = _ADDUSERSREQUEST DESCRIPTOR.message_types_by_name['AddUsersResponse'] = _ADDUSERSRESPONSE DESCRIPTOR.message_types_by_name['RemoveUsersRequest'] = _REMOVEUSERSREQUEST DESCRIPTOR.message_types_by_name['RemoveUsersResponse'] = _REMOVEUSERSRESPONSE DESCRIPTOR.message_types_by_name['GetUsersRequest'] = _GETUSERSREQUEST DESCRIPTOR.message_types_by_name['GetUsersResponse'] = _GETUSERSRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) TypesRequest = _reflection.GeneratedProtocolMessageType('TypesRequest', (_message.Message,), { 'DESCRIPTOR' : _TYPESREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.TypesRequest) }) _sym_db.RegisterMessage(TypesRequest) TypesResponse = _reflection.GeneratedProtocolMessageType('TypesResponse', (_message.Message,), { 'Type' : _reflection.GeneratedProtocolMessageType('Type', (_message.Message,), { 'DESCRIPTOR' : _TYPESRESPONSE_TYPE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.TypesResponse.Type) }) , 'DESCRIPTOR' : _TYPESRESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.TypesResponse) }) _sym_db.RegisterMessage(TypesResponse) _sym_db.RegisterMessage(TypesResponse.Type) ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), { 'QueryValues' : _reflection.GeneratedProtocolMessageType('QueryValues', (_message.Message,), { 'DESCRIPTOR' : _LISTREQUEST_QUERYVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.ListRequest.QueryValues) }) , 'DESCRIPTOR' : _LISTREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.ListRequest) }) _sym_db.RegisterMessage(ListRequest) _sym_db.RegisterMessage(ListRequest.QueryValues) ListResponse = _reflection.GeneratedProtocolMessageType('ListResponse', (_message.Message,), { 'Group' : _reflection.GeneratedProtocolMessageType('Group', (_message.Message,), { 'DESCRIPTOR' : _LISTRESPONSE_GROUP, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.ListResponse.Group) }) , 'DESCRIPTOR' : _LISTRESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.ListResponse) }) _sym_db.RegisterMessage(ListResponse) _sym_db.RegisterMessage(ListResponse.Group) RetrieveRequest = _reflection.GeneratedProtocolMessageType('RetrieveRequest', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _RETRIEVEREQUEST_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RetrieveRequest.ParamValues) }) , 'DESCRIPTOR' : _RETRIEVEREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RetrieveRequest) }) _sym_db.RegisterMessage(RetrieveRequest) _sym_db.RegisterMessage(RetrieveRequest.ParamValues) RetrieveResponse = _reflection.GeneratedProtocolMessageType('RetrieveResponse', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _RETRIEVERESPONSE_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RetrieveResponse.ParamValues) }) , 'DESCRIPTOR' : _RETRIEVERESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RetrieveResponse) }) _sym_db.RegisterMessage(RetrieveResponse) _sym_db.RegisterMessage(RetrieveResponse.ParamValues) CreateRequest = _reflection.GeneratedProtocolMessageType('CreateRequest', (_message.Message,), { 'DESCRIPTOR' : _CREATEREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.CreateRequest) }) _sym_db.RegisterMessage(CreateRequest) CreateResponse = _reflection.GeneratedProtocolMessageType('CreateResponse', (_message.Message,), { 'DESCRIPTOR' : _CREATERESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.CreateResponse) }) _sym_db.RegisterMessage(CreateResponse) UpdateRequest = _reflection.GeneratedProtocolMessageType('UpdateRequest', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _UPDATEREQUEST_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.UpdateRequest.ParamValues) }) , 'DESCRIPTOR' : _UPDATEREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.UpdateRequest) }) _sym_db.RegisterMessage(UpdateRequest) _sym_db.RegisterMessage(UpdateRequest.ParamValues) UpdateResponse = _reflection.GeneratedProtocolMessageType('UpdateResponse', (_message.Message,), { 'DESCRIPTOR' : _UPDATERESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.UpdateResponse) }) _sym_db.RegisterMessage(UpdateResponse) RemoveRequest = _reflection.GeneratedProtocolMessageType('RemoveRequest', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _REMOVEREQUEST_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RemoveRequest.ParamValues) }) , 'DESCRIPTOR' : _REMOVEREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RemoveRequest) }) _sym_db.RegisterMessage(RemoveRequest) _sym_db.RegisterMessage(RemoveRequest.ParamValues) RemoveResponse = _reflection.GeneratedProtocolMessageType('RemoveResponse', (_message.Message,), { 'DESCRIPTOR' : _REMOVERESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RemoveResponse) }) _sym_db.RegisterMessage(RemoveResponse) AddUsersRequest = _reflection.GeneratedProtocolMessageType('AddUsersRequest', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _ADDUSERSREQUEST_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.AddUsersRequest.ParamValues) }) , 'DESCRIPTOR' : _ADDUSERSREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.AddUsersRequest) }) _sym_db.RegisterMessage(AddUsersRequest) _sym_db.RegisterMessage(AddUsersRequest.ParamValues) AddUsersResponse = _reflection.GeneratedProtocolMessageType('AddUsersResponse', (_message.Message,), { 'DESCRIPTOR' : _ADDUSERSRESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.AddUsersResponse) }) _sym_db.RegisterMessage(AddUsersResponse) RemoveUsersRequest = _reflection.GeneratedProtocolMessageType('RemoveUsersRequest', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _REMOVEUSERSREQUEST_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RemoveUsersRequest.ParamValues) }) , 'DESCRIPTOR' : _REMOVEUSERSREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RemoveUsersRequest) }) _sym_db.RegisterMessage(RemoveUsersRequest) _sym_db.RegisterMessage(RemoveUsersRequest.ParamValues) RemoveUsersResponse = _reflection.GeneratedProtocolMessageType('RemoveUsersResponse', (_message.Message,), { 'DESCRIPTOR' : _REMOVEUSERSRESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.RemoveUsersResponse) }) _sym_db.RegisterMessage(RemoveUsersResponse) GetUsersRequest = _reflection.GeneratedProtocolMessageType('GetUsersRequest', (_message.Message,), { 'ParamValues' : _reflection.GeneratedProtocolMessageType('ParamValues', (_message.Message,), { 'DESCRIPTOR' : _GETUSERSREQUEST_PARAMVALUES, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.GetUsersRequest.ParamValues) }) , 'DESCRIPTOR' : _GETUSERSREQUEST, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.GetUsersRequest) }) _sym_db.RegisterMessage(GetUsersRequest) _sym_db.RegisterMessage(GetUsersRequest.ParamValues) GetUsersResponse = _reflection.GeneratedProtocolMessageType('GetUsersResponse', (_message.Message,), { 'DESCRIPTOR' : _GETUSERSRESPONSE, '__module__' : 'groups_pb2' # @@protoc_insertion_point(class_scope:dfx.proto.groups.GetUsersResponse) }) _sym_db.RegisterMessage(GetUsersResponse) DESCRIPTOR._options = None _SERVICES = _descriptor.ServiceDescriptor( name='Services', full_name='dfx.proto.groups.Services', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=1750, serialized_end=2495, methods=[ _descriptor.MethodDescriptor( name='Types', full_name='dfx.proto.groups.Services.Types', index=0, containing_service=None, input_type=_TYPESREQUEST, output_type=_TYPESRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='List', full_name='dfx.proto.groups.Services.List', index=1, containing_service=None, input_type=_LISTREQUEST, output_type=_LISTRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Create', full_name='dfx.proto.groups.Services.Create', index=2, containing_service=None, input_type=_CREATEREQUEST, output_type=_CREATERESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Retrieve', full_name='dfx.proto.groups.Services.Retrieve', index=3, containing_service=None, input_type=_RETRIEVEREQUEST, output_type=_RETRIEVERESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Update', full_name='dfx.proto.groups.Services.Update', index=4, containing_service=None, input_type=_UPDATEREQUEST, output_type=_UPDATERESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Remove', full_name='dfx.proto.groups.Services.Remove', index=5, containing_service=None, input_type=_REMOVEREQUEST, output_type=_REMOVERESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='AddUsers', full_name='dfx.proto.groups.Services.AddUsers', index=6, containing_service=None, input_type=_ADDUSERSREQUEST, output_type=_ADDUSERSRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='RemoveUsers', full_name='dfx.proto.groups.Services.RemoveUsers', index=7, containing_service=None, input_type=_REMOVEUSERSREQUEST, output_type=_REMOVEUSERSRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='GetUsers', full_name='dfx.proto.groups.Services.GetUsers', index=8, containing_service=None, input_type=_GETUSERSREQUEST, output_type=_GETUSERSRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_SERVICES) DESCRIPTOR.services_by_name['Services'] = _SERVICES # @@protoc_insertion_point(module_scope)
37.632208
4,088
0.754845
6,316
53,513
6.073464
0.045124
0.041762
0.05292
0.062643
0.774348
0.723071
0.681387
0.659385
0.654562
0.631309
0
0.029688
0.11941
53,513
1,421
4,089
37.658691
0.784352
0.04199
0
0.694615
1
0.000769
0.198372
0.145007
0
0
0
0
0
1
0
false
0
0.003077
0
0.003077
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
585bab79b7404e80f51bd345ce909674248f6c35
327
py
Python
useful_modules.py
eemerica/astr-119-session-3
5612adab3c2cfbf644e9bdc47751d4276edab634
[ "MIT" ]
null
null
null
useful_modules.py
eemerica/astr-119-session-3
5612adab3c2cfbf644e9bdc47751d4276edab634
[ "MIT" ]
1
2018-10-05T17:56:10.000Z
2018-10-18T18:19:32.000Z
useful_modules.py
eemerica/astr-119-hw-1
cdd2469de6217beaf21f2b9f609a5414c066cfd3
[ "MIT" ]
null
null
null
#! usr/bin/env python3 import numpy as np#the numpy library import matplotlib.pyplot as plt#Matplotlib's pyplot import sys#gives access to a c-like sys library import os#gives access to operating system print(sys.argv)#prints any command line arguments, incl program name print(os.getcwd())#prints the current working directory
46.714286
68
0.810398
55
327
4.818182
0.690909
0.098113
0.098113
0
0
0
0
0
0
0
0
0.003484
0.122324
327
7
69
46.714286
0.919861
0.651376
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
586428275f3b29e74ff970b0acd5d57b3c302f28
1,290
py
Python
app/models/user.py
zucc-acm-devteam/zuccacm-sso
9c7d2f0b9cc069962f32b555152732a98bf2e94a
[ "Apache-2.0" ]
null
null
null
app/models/user.py
zucc-acm-devteam/zuccacm-sso
9c7d2f0b9cc069962f32b555152732a98bf2e94a
[ "Apache-2.0" ]
null
null
null
app/models/user.py
zucc-acm-devteam/zuccacm-sso
9c7d2f0b9cc069962f32b555152732a98bf2e94a
[ "Apache-2.0" ]
null
null
null
import datetime from flask_login import UserMixin from sqlalchemy import Column, String, Enum from werkzeug.security import check_password_hash, generate_password_hash from app import login_manager from app.libs.enumerate import UserPermission from app.libs.error_code import AuthFailed from app.models.base import Base class User(UserMixin, Base): fields = ['username', 'nickname', 'permission'] username = Column(String(100), primary_key=True, nullable=False) nickname = Column(String(100), nullable=False) password_ = Column('password', String(1000), nullable=False) permission = Column(Enum(UserPermission), default=UserPermission.Normal) @property def id(self): return self.username @staticmethod @login_manager.user_loader def load_user(id_): return User.get_by_id(id_) @staticmethod @login_manager.unauthorized_handler def unauthorized_handler(): return AuthFailed() @property def password(self): return self.password_ @password.setter def password(self, raw): self.password_ = generate_password_hash(raw) def check_password(self, raw): if not self.password_ or not raw: return False return check_password_hash(self.password_, raw)
27.446809
76
0.721705
156
1,290
5.788462
0.371795
0.053156
0.037652
0
0
0
0
0
0
0
0
0.009643
0.196124
1,290
46
77
28.043478
0.861138
0
0
0.114286
1
0
0.026357
0
0
0
0
0
0
1
0.171429
false
0.285714
0.228571
0.114286
0.742857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
4
586d1928acc339e5938b9f91765e0064da0bdbd3
119
py
Python
s3Backups/apps.py
uzairAK/serverom-panel
3dcde05ad618e6bef280db7d3180f926fe2ab1db
[ "MIT" ]
null
null
null
s3Backups/apps.py
uzairAK/serverom-panel
3dcde05ad618e6bef280db7d3180f926fe2ab1db
[ "MIT" ]
null
null
null
s3Backups/apps.py
uzairAK/serverom-panel
3dcde05ad618e6bef280db7d3180f926fe2ab1db
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.apps import AppConfig class S3BackupsConfig(AppConfig): name = 's3Backups'
13.222222
33
0.680672
13
119
6.230769
0.923077
0
0
0
0
0
0
0
0
0
0
0.030928
0.184874
119
8
34
14.875
0.804124
0.176471
0
0
0
0
0.09375
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
58850e6a2b5e03dc25748231b79d0eaee63a197c
23
py
Python
pyuubin/__version__.py
MichalMazurek/pyuubin
383cdc491514aa9978ebc1cb639623a5dea92e64
[ "Apache-2.0" ]
null
null
null
pyuubin/__version__.py
MichalMazurek/pyuubin
383cdc491514aa9978ebc1cb639623a5dea92e64
[ "Apache-2.0" ]
1
2021-07-18T19:27:33.000Z
2021-07-18T19:27:33.000Z
pyuubin/__version__.py
MichalMazurek/pyuubin
383cdc491514aa9978ebc1cb639623a5dea92e64
[ "Apache-2.0" ]
null
null
null
__version__ = "19.1.0"
11.5
22
0.652174
4
23
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5894658df7bc8c6de67e9df1ea9eb709dc0c6260
104
py
Python
qap/test_qap_sublist_generator.py
manwithadodla/quality-assessment-protocol
9f4d660bd67eb20d4b4a28ae7e837e6d396f0318
[ "BSD-3-Clause" ]
38
2015-01-23T20:07:22.000Z
2021-11-08T07:08:27.000Z
qap/test_qap_sublist_generator.py
manwithadodla/quality-assessment-protocol
9f4d660bd67eb20d4b4a28ae7e837e6d396f0318
[ "BSD-3-Clause" ]
107
2015-01-09T00:34:34.000Z
2022-02-28T07:44:10.000Z
qap/test_qap_sublist_generator.py
manwithadodla/quality-assessment-protocol
9f4d660bd67eb20d4b4a28ae7e837e6d396f0318
[ "BSD-3-Clause" ]
24
2015-09-14T16:11:12.000Z
2021-10-04T08:09:16.000Z
import pytest import unittest class TestMain(unittest.TestCase): def setUp(self): pass
9.454545
34
0.682692
12
104
5.916667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.25
104
10
35
10.4
0.910256
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
543fea6cd780e6ea50cf002913944156d2fd7b53
244
py
Python
src/share_rest_api/func/share_rest_api/main.py
flecoqui/sharing-data-rest-api
a468861c941099f3a1546f764e76194f6a9ff066
[ "MIT" ]
null
null
null
src/share_rest_api/func/share_rest_api/main.py
flecoqui/sharing-data-rest-api
a468861c941099f3a1546f764e76194f6a9ff066
[ "MIT" ]
null
null
null
src/share_rest_api/func/share_rest_api/main.py
flecoqui/sharing-data-rest-api
a468861c941099f3a1546f764e76194f6a9ff066
[ "MIT" ]
null
null
null
import azure.functions as func from shared_code.app import app from shared_code.http_asgi import AsgiMiddleware def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse: return AsgiMiddleware(app).handle(req, context)
27.111111
76
0.79918
34
244
5.647059
0.588235
0.104167
0.145833
0
0
0
0
0
0
0
0
0
0.118852
244
8
77
30.5
0.893023
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.6
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
544ed62077b056eafb5c0a8b73bca79f0ce9f1b6
249
py
Python
handlers/eventhandlers/ignoredPackets.py
kawatapw/kuriso
a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7
[ "MIT" ]
6
2021-03-07T20:14:29.000Z
2022-03-10T20:28:20.000Z
handlers/eventhandlers/ignoredPackets.py
kawatapw/kuriso
a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7
[ "MIT" ]
3
2021-04-20T17:18:58.000Z
2022-03-28T18:17:35.000Z
handlers/eventhandlers/ignoredPackets.py
kawatapw/kuriso
a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7
[ "MIT" ]
4
2021-03-30T12:55:07.000Z
2022-03-10T09:01:16.000Z
from handlers.decorators import OsuEvent from packets.OsuPacketID import OsuPacketID # packet id: 68 beatmap info request, not used in newer client @OsuEvent.register_handler(OsuPacketID.Client_BeatmapInfoRequest) async def _(*_): return True
27.666667
65
0.815261
31
249
6.419355
0.806452
0
0
0
0
0
0
0
0
0
0
0.009217
0.128514
249
8
66
31.125
0.907834
0.240964
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
544fe6fc9f49b0e33f10eede4660d99272b00556
85
py
Python
test3.py
Tealaves/mypython
151f29eb720889710c7705a0c674b097bcec50f3
[ "Apache-2.0" ]
null
null
null
test3.py
Tealaves/mypython
151f29eb720889710c7705a0c674b097bcec50f3
[ "Apache-2.0" ]
null
null
null
test3.py
Tealaves/mypython
151f29eb720889710c7705a0c674b097bcec50f3
[ "Apache-2.0" ]
null
null
null
#!/bin/bash x = 99 def f1(): x = 88 def f2(): print(x) f2() f1()
9.444444
16
0.388235
14
85
2.357143
0.642857
0
0
0
0
0
0
0
0
0
0
0.156863
0.4
85
8
17
10.625
0.490196
0.117647
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
546ccd4e899ff21c5d93f4b9c60f66b929e57079
344
py
Python
chainer_pytorch_migration/__init__.py
asi1024/chainer-pytorch-migration
830713f9d22a0aaf2d545515e889b5502e707e89
[ "MIT" ]
53
2019-12-05T06:05:37.000Z
2021-09-09T07:25:04.000Z
chainer_pytorch_migration/__init__.py
asi1024/chainer-pytorch-migration
830713f9d22a0aaf2d545515e889b5502e707e89
[ "MIT" ]
26
2020-01-15T07:53:52.000Z
2020-10-01T08:40:43.000Z
chainer_pytorch_migration/__init__.py
asi1024/chainer-pytorch-migration
830713f9d22a0aaf2d545515e889b5502e707e89
[ "MIT" ]
7
2020-01-16T13:56:42.000Z
2020-07-30T07:29:30.000Z
from . import links from .allocator import use_mempool_in_cupy_malloc, use_torch_in_cupy_malloc from .datasets import TransformDataset from .links import TorchModule from .parameter import ChainerParameter, LinkAsTorchModel, Optimizer from .tensor import asarray, astensor, to_numpy_dtype from .device import to_chainer_device, to_torch_device
43
75
0.863372
47
344
6.021277
0.531915
0.042403
0.084806
0
0
0
0
0
0
0
0
0
0.098837
344
7
76
49.142857
0.912903
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5470a1fa0a4e5c7c785baa8a33b3e49d2b4d1192
154
py
Python
techk/apps/scraper/apps.py
airsalvatierra/fullstack-challenge
21a621d9df93e6e3cdc3283abe7f05b1e6e8dcb0
[ "MIT" ]
4
2018-05-01T20:31:49.000Z
2021-12-20T19:30:40.000Z
techk/apps/scraper/apps.py
airsalvatierra/fullstack-challenge
21a621d9df93e6e3cdc3283abe7f05b1e6e8dcb0
[ "MIT" ]
22
2017-04-13T15:02:09.000Z
2021-02-02T21:48:41.000Z
techk/apps/scraper/apps.py
bastianvargas/fullstack-challenge
057c4af97cbf99daf5d01e8ce260bcf884115382
[ "MIT" ]
17
2019-07-16T00:01:51.000Z
2019-11-26T14:19:40.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class ScraperConfig(AppConfig): name = 'scraper'
17.111111
39
0.733766
18
154
6
0.833333
0
0
0
0
0
0
0
0
0
0
0.007752
0.162338
154
8
40
19.25
0.829457
0.136364
0
0
0
0
0.053435
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
547623a5b5defdc530fec55399f34e029f6462e6
242
py
Python
FreeTAKServer/model/FTSModel/Archive.py
Tapawingo/FreeTakServer
30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd
[ "MIT" ]
27
2020-05-01T01:45:59.000Z
2020-07-03T00:17:13.000Z
FreeTAKServer/model/FTSModel/Archive.py
Tapawingo/FreeTakServer
30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd
[ "MIT" ]
34
2020-04-26T11:25:52.000Z
2020-07-03T21:06:34.000Z
FreeTAKServer/model/FTSModel/Archive.py
Tapawingo/FreeTakServer
30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd
[ "MIT" ]
15
2020-05-01T01:46:07.000Z
2020-07-03T12:14:04.000Z
from FreeTAKServer.model.FTSModel.fts_protocol_object import FTSProtocolObject class Archive(FTSProtocolObject): @staticmethod def drop_point(): # while the tag exists in the CoT structure no known content exists pass
34.571429
78
0.760331
29
242
6.241379
0.896552
0
0
0
0
0
0
0
0
0
0
0
0.194215
242
7
79
34.571429
0.928205
0.268595
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0.2
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
547947c8af05f6c060caa621de3166bbaca78283
165
py
Python
tests/GUI_tests/show_inbrowser.py
davtoh/RRTools
6dde2d4622719d9031bf21ffbf7723231a0e2003
[ "BSD-3-Clause" ]
1
2019-07-16T03:54:22.000Z
2019-07-16T03:54:22.000Z
tests/GUI_tests/show_inbrowser.py
davtoh/RRTools
6dde2d4622719d9031bf21ffbf7723231a0e2003
[ "BSD-3-Clause" ]
null
null
null
tests/GUI_tests/show_inbrowser.py
davtoh/RRTools
6dde2d4622719d9031bf21ffbf7723231a0e2003
[ "BSD-3-Clause" ]
1
2019-07-09T02:49:06.000Z
2019-07-09T02:49:06.000Z
# http://stackoverflow.com/a/30169340/5288758 filename = "/mnt/4E443F99443F82AF/Dropbox/PYTHON/RRtoolbox/tests/im1_1.jpg" import webbrowser webbrowser.open(filename)
41.25
75
0.824242
21
165
6.428571
0.904762
0
0
0
0
0
0
0
0
0
0
0.177215
0.042424
165
4
76
41.25
0.677215
0.260606
0
0
0
0
0.512397
0.512397
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
54ba9c5a25731bd4cef18f632cde314708ac2b4a
319
py
Python
astr-119-hw/useful_modules.py
Aukau/Astr-119
da56326c84ad6755aee0182d87c607b4c321c45d
[ "MIT" ]
null
null
null
astr-119-hw/useful_modules.py
Aukau/Astr-119
da56326c84ad6755aee0182d87c607b4c321c45d
[ "MIT" ]
12
2021-09-27T18:42:44.000Z
2021-12-09T18:01:31.000Z
astr-119-hw/useful_modules.py
Aukau/Astr-119
da56326c84ad6755aee0182d87c607b4c321c45d
[ "MIT" ]
null
null
null
import numpy as np #the numpy library import matplotlib.pyplot as plt #this is matplotlib's pyplot import sys #gives access to C-like sys libraries import os #gives access to operating systems print(sys.argv) #command line arguments print(os.getcwd) #this gives the current working directory
39.875
65
0.739812
48
319
4.916667
0.645833
0.09322
0.110169
0
0
0
0
0
0
0
0
0
0.213166
319
8
66
39.875
0.940239
0.548589
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
54c1f51466514bff8ef9a000f179a81aae2a67a4
119
py
Python
category/context_processors.py
Hillerr/GreatKart
c92c2621308716e4404880814cf2029a1ac2aaca
[ "MIT" ]
null
null
null
category/context_processors.py
Hillerr/GreatKart
c92c2621308716e4404880814cf2029a1ac2aaca
[ "MIT" ]
null
null
null
category/context_processors.py
Hillerr/GreatKart
c92c2621308716e4404880814cf2029a1ac2aaca
[ "MIT" ]
null
null
null
from .models import Category def menu_links(requests): links = Category.objects.all() return dict(links=links)
23.8
34
0.739496
16
119
5.4375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.159664
119
5
35
23.8
0.87
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
49b95803ef0b00064990f1f3ac060fa83cfc1f8e
131
py
Python
src/GoogleAPIScope.py
Murto/FeedBot
cc27e9ad98c80920181da0d1fb7d1ef301d19912
[ "MIT" ]
null
null
null
src/GoogleAPIScope.py
Murto/FeedBot
cc27e9ad98c80920181da0d1fb7d1ef301d19912
[ "MIT" ]
null
null
null
src/GoogleAPIScope.py
Murto/FeedBot
cc27e9ad98c80920181da0d1fb7d1ef301d19912
[ "MIT" ]
null
null
null
class GoogleAPIScope: CALENDAR = "https://www.googleapis.com/auth/calendar" DRIVE = "https://www.googleapis.com/auth/drive"
32.75
55
0.725191
16
131
5.9375
0.5625
0.168421
0.378947
0.442105
0.526316
0
0
0
0
0
0
0
0.114504
131
3
56
43.666667
0.818966
0
0
0
0
0
0.587786
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
49e3c2045b5635ed0f55537ad8c0155fdbed0aa4
1,096
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLX/ARB/create_context.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLX/ARB/create_context.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLX/ARB/create_context.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLX import _types as _cs # End users want this... from OpenGL.raw.GLX._types import * from OpenGL.raw.GLX import _errors from OpenGL.constant import Constant as _C import ctypes _EXTENSION_NAME = 'GLX_ARB_create_context' def _f( function ): return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_ARB_create_context',error_checker=_errors._error_checker) GLX_CONTEXT_DEBUG_BIT_ARB=_C('GLX_CONTEXT_DEBUG_BIT_ARB',0x00000001) GLX_CONTEXT_FLAGS_ARB=_C('GLX_CONTEXT_FLAGS_ARB',0x2094) GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB=_C('GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB',0x00000002) GLX_CONTEXT_MAJOR_VERSION_ARB=_C('GLX_CONTEXT_MAJOR_VERSION_ARB',0x2091) GLX_CONTEXT_MINOR_VERSION_ARB=_C('GLX_CONTEXT_MINOR_VERSION_ARB',0x2092) @_f @_p.types(_cs.GLXContext,ctypes.POINTER(_cs.Display),_cs.GLXFBConfig,_cs.GLXContext,_cs.Bool,ctypes.POINTER(_cs.c_int)) def glXCreateContextAttribsARB(dpy,config,share_context,direct,attrib_list):pass
49.818182
120
0.82573
167
1,096
4.952096
0.413174
0.120919
0.042322
0.084643
0.338573
0.079807
0
0
0
0
0
0.032836
0.083029
1,096
21
121
52.190476
0.79005
0.091241
0
0
1
0
0.192149
0.192149
0
0
0.039256
0
0
1
0.117647
false
0.058824
0.352941
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
49eaaab153d20e960ac8f3215f64f8a340d60107
405
py
Python
fantamarconi/admin.py
DavideTonin99/djfantamarconi
281acc6307ad7e2f72570d361ef88506cdb491bf
[ "MIT" ]
1
2019-05-31T17:56:18.000Z
2019-05-31T17:56:18.000Z
fantamarconi/admin.py
DavideTonin99/djfantamarconi
281acc6307ad7e2f72570d361ef88506cdb491bf
[ "MIT" ]
null
null
null
fantamarconi/admin.py
DavideTonin99/djfantamarconi
281acc6307ad7e2f72570d361ef88506cdb491bf
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Processes, Timeline, Organogram #class ProcessesAdmin(admin.ModelAdmin): # prepopulated_fields = {'slug':('name',)} # class Meta: # model = Processes # Register your models here. #admin.site.register(Processes, ProcessesAdmin) admin.site.register(Processes) admin.site.register(Timeline) admin.site.register(Organogram)
25.3125
52
0.728395
44
405
6.681818
0.5
0.122449
0.231293
0.176871
0
0
0
0
0
0
0
0
0.160494
405
15
53
27
0.864706
0.483951
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b712a6d21a62065107b0c2b3460beba4d566777c
2,047
py
Python
extras.py
somebody1234/Charcoal
bd84513685ac54187a849c01dd2d5ad52d15d3b8
[ "MIT" ]
184
2016-10-03T04:47:22.000Z
2022-03-14T16:14:04.000Z
extras.py
somebody1234/Charcoal
bd84513685ac54187a849c01dd2d5ad52d15d3b8
[ "MIT" ]
12
2016-10-04T22:41:55.000Z
2021-01-01T05:55:39.000Z
extras.py
somebody1234/Charcoal
bd84513685ac54187a849c01dd2d5ad52d15d3b8
[ "MIT" ]
11
2017-05-19T19:06:53.000Z
2019-10-05T19:39:14.000Z
go = goat = """\ ___. // \\\\ (( '' \\\\__, /6 (%)\\, (__/:";,;\\--____----_ ;; :';,:';`;,';,;';`,`_ ;:,;;';';,;':,';';,-Y\\ ;,;,;';';,;':;';'; Z/ / ;,';';,;';,;';;' / / |';/~~~~~\\';;' ( K | | || | \\_\\ | | || | \\Z | | || | L_| LL_| LW/ LLW/""" # evil sheep suck sh = sheep = "sheep suck" de = dennis = """\ _,-'''--,.__ _ _.*'' __''>#=--""\" _ ./" _.-'' '\._ / "'--.____ _.-' __.-'' '\. / "Y __/" /// "\. | /" _/" /// --.________ * "\ | // /""|---______"\ | . ""'--.__ H _./ | /""-. \\\\\\._ '''''--------- H __.--' \ / / \ ''--__________________--H-'' | | | ) __.__ \ H | | _.""-.__| ## /' )# \ H | _|"" | "" |_._.''- \.-""\ | |/ |"-._ _.-"| . . . . \ | |_.-""\"-._/ . * * | / ./ " _. . . / / ( "-.__ __.-"' /.-' | |#####/ / \ \ / /" '-._______._ .-"' '-.____ _.--"' _.-- _____ |'''''''' | .----_ .-"\ / \ |_________|___| \ \\"" \ | . \\"" | | "' .- | | | | .-"' | | | | """ # noqa
42.645833
73
0.093307
27
2,047
2.444444
0.666667
0.121212
0.136364
0.121212
0
0
0
0
0
0
0
0.001441
0.660967
2,047
47
74
43.553191
0.09366
0.00977
0
0
0
0
0.969862
0.036067
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3f766617ae77cefd7194e09c87d2804839f8f471
866
py
Python
Path.py
HoSzyk/Genetic_algorithm_board
edcd2307761489a6e9b65424726039b89bff98ff
[ "MIT" ]
null
null
null
Path.py
HoSzyk/Genetic_algorithm_board
edcd2307761489a6e9b65424726039b89bff98ff
[ "MIT" ]
null
null
null
Path.py
HoSzyk/Genetic_algorithm_board
edcd2307761489a6e9b65424726039b89bff98ff
[ "MIT" ]
null
null
null
from typing import List from Segment import Segment from Point import Point class Path: def __init__(self, segment_list=None): if segment_list is None: segment_list = [] self.__segment_list: List[Segment] = segment_list @property def segment_list(self): return self.__segment_list @segment_list.setter def segment_list(self, new_segment_list: Segment): self.__segment_list = new_segment_list def append_segment(self, segment: Segment): self.__segment_list.append(segment) def get_point(self, start_point: Point, index): cur_point = start_point for i in range(index + 1): cur_point = self.__segment_list[i].get_end_point(cur_point) return cur_point def __repr__(self): return f'Segments: {" ".join(map(str, self.__segment_list))}'
27.0625
71
0.67552
115
866
4.678261
0.304348
0.306691
0.195167
0.066915
0
0
0
0
0
0
0
0.00152
0.240185
866
31
72
27.935484
0.816109
0
0
0
0
0
0.058891
0.025404
0
0
0
0
0
1
0.26087
false
0
0.130435
0.086957
0.565217
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
3f86e781321cd610b10210db120df1578e84f938
113
py
Python
enthought/developer/features/debug_feature.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/developer/features/debug_feature.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/developer/features/debug_feature.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from etsdevtools.developer.features.debug_feature import *
28.25
58
0.858407
14
113
6.5
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.097345
113
3
59
37.666667
0.892157
0.106195
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3f9749aefdeb1a567e4e59ddadf7f5df127fb45a
2,149
py
Python
CTMC/Diffusion_3D/get_transform_matrices_3d.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
null
null
null
CTMC/Diffusion_3D/get_transform_matrices_3d.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
null
null
null
CTMC/Diffusion_3D/get_transform_matrices_3d.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
1
2022-01-07T15:31:45.000Z
2022-01-07T15:31:45.000Z
# Generated with SMOP 0.41-beta try: from smop.libsmop import * except ImportError: raise ImportError('File compiled with `smop3`, please install `smop3` to run it.') from None # get_transform_matrices_3d.m @function def get_transform_matrices_3d(R=None,method=None,*args,**kwargs): varargin = get_transform_matrices_3d.varargin nargin = get_transform_matrices_3d.nargin if method == 1: # LDL Without the permutation L,D=ldl(R,nargout=2) # get_transform_matrices_3d.m:5 C=inv(L) # get_transform_matrices_3d.m:6 Cinv=copy(L) # get_transform_matrices_3d.m:7 else: if method == 2: # Eigen Decomp V,D=eig(R,nargout=2) # get_transform_matrices_3d.m:11 C=V.T # get_transform_matrices_3d.m:12 Cinv=copy(V) # get_transform_matrices_3d.m:13 else: if method == 3: # Cholesky Decomp (Special case of LDL, D=I) L=chol(R) # get_transform_matrices_3d.m:17 L=L.T # get_transform_matrices_3d.m:18 C=inv(L) # get_transform_matrices_3d.m:19 Cinv=copy(L) # get_transform_matrices_3d.m:20 D=eye(2,2) # get_transform_matrices_3d.m:21 else: if method == 4: rho12=R(1,2) # get_transform_matrices_3d.m:24 rho23=R(2,3) # get_transform_matrices_3d.m:25 rho13=R(1,3) # get_transform_matrices_3d.m:26 gamma=(dot(rho12,rho13) - rho23) / (1 - rho12 ** 2) # get_transform_matrices_3d.m:28 L=concat([[1,0,0],[rho12,1,0],[rho13,- gamma,1]]) # get_transform_matrices_3d.m:29 C=concat([[1,0,0],[- rho12,1,0],[(dot(- gamma,rho12) - rho13),gamma,1]]) # get_transform_matrices_3d.m:30 D=diag(concat([1,1 - rho12 ** 2,det(R) / (1 - rho12 ** 2)])) # get_transform_matrices_3d.m:31 Cinv=copy(L) # get_transform_matrices_3d.m:32 return L,D,C,Cinv if __name__ == '__main__': pass
32.074627
97
0.569567
308
2,149
3.724026
0.308442
0.240628
0.401046
0.441151
0.513514
0.453357
0.327812
0.299913
0
0
0
0.08384
0.311773
2,149
67
98
32.074627
0.691684
0.338762
0
0.216216
1
0
0.051841
0
0
0
0
0
0
1
0.027027
false
0.027027
0.081081
0
0.135135
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3faa667ccef874c5e785eaa9c0f24c8390ba1293
204
py
Python
src/cms/views/events/__init__.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
null
null
null
src/cms/views/events/__init__.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
5
2021-02-10T02:41:20.000Z
2022-03-12T00:56:56.000Z
src/cms/views/events/__init__.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
null
null
null
""" This package contains all views related to events """ from .event_view import EventView from .event_list_view import EventListView from .event_actions import archive, restore, delete, search_poi_ajax
29.142857
68
0.818627
29
204
5.551724
0.758621
0.167702
0
0
0
0
0
0
0
0
0
0
0.122549
204
6
69
34
0.899441
0.240196
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3fc82599177f6f88a84b8d60c9ca42863b51c63a
150
py
Python
GeometryReaders/XMLIdealGeometryESSource/python/customTrackerLiMax.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
GeometryReaders/XMLIdealGeometryESSource/python/customTrackerLiMax.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
GeometryReaders/XMLIdealGeometryESSource/python/customTrackerLiMax.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms def customiseMaterialBudget(process): process.XMLFromDBSource.label='ExtendedLiMax' return (process)
30
49
0.806667
15
150
8.066667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.113333
150
4
50
37.5
0.909774
0
0
0
0
0
0.086667
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
3fd3b472d87654275b7b22882e57cf9222bc590c
65
py
Python
vulture/whitelists/logging_whitelist.py
rahulatdeepsource/vulture
91044108b651c580339738e6812a91f0951fbef5
[ "MIT" ]
null
null
null
vulture/whitelists/logging_whitelist.py
rahulatdeepsource/vulture
91044108b651c580339738e6812a91f0951fbef5
[ "MIT" ]
1
2020-02-05T18:34:58.000Z
2020-02-05T18:34:58.000Z
vulture/whitelists/logging_whitelist.py
rahulatdeepsource/vulture
91044108b651c580339738e6812a91f0951fbef5
[ "MIT" ]
null
null
null
import logging logging.Filter.filter logging.StreamHandler.emit
13
26
0.861538
8
65
7
0.625
0
0
0
0
0
0
0
0
0
0
0
0.076923
65
4
27
16.25
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3fd7f938a5ca7d385c8391953b541daecf980c64
269
py
Python
location/routers.py
atulmishra-one/chikitshak
542399ce873d1ded1bea1a0400383b5e530e2666
[ "MIT" ]
1
2021-03-09T07:14:11.000Z
2021-03-09T07:14:11.000Z
location/routers.py
atulmishra-one/chikitshak
542399ce873d1ded1bea1a0400383b5e530e2666
[ "MIT" ]
null
null
null
location/routers.py
atulmishra-one/chikitshak
542399ce873d1ded1bea1a0400383b5e530e2666
[ "MIT" ]
null
null
null
from rest_framework import routers from location.viewsets import StateApiView from location.viewsets import CityApiView router = routers.DefaultRouter() router.register(r'state', StateApiView, base_name="state") router.register(r'city', CityApiView, base_name="city")
33.625
58
0.821561
34
269
6.411765
0.5
0.110092
0.183486
0.238532
0
0
0
0
0
0
0
0
0.081784
269
7
59
38.428571
0.882591
0
0
0
0
0
0.066915
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
3fe44f5eeec1ad7053c6df7f737f6dbe697c4c88
60
py
Python
devel/lib/python2.7/dist-packages/schunk_sdh/msg/__init__.py
gw-cs-sd/sd-2017-schunk_arm
ebf691cf2457e59b6881587aec75363c4743bf29
[ "BSD-3-Clause" ]
null
null
null
devel/lib/python2.7/dist-packages/schunk_sdh/msg/__init__.py
gw-cs-sd/sd-2017-schunk_arm
ebf691cf2457e59b6881587aec75363c4743bf29
[ "BSD-3-Clause" ]
null
null
null
devel/lib/python2.7/dist-packages/schunk_sdh/msg/__init__.py
gw-cs-sd/sd-2017-schunk_arm
ebf691cf2457e59b6881587aec75363c4743bf29
[ "BSD-3-Clause" ]
null
null
null
from ._TactileMatrix import * from ._TactileSensor import *
20
29
0.8
6
60
7.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
2
30
30
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3fe5831e39a3fafdc57d6550dd2ea9c1615e8c88
1,029
py
Python
tests/v1/test_synthetics_step.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v1/test_synthetics_step.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v1/test_synthetics_step.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. from __future__ import absolute_import import sys import unittest import datadog_api_client.v1 try: from datadog_api_client.v1.model import synthetics_step_type except ImportError: synthetics_step_type = sys.modules[ 'datadog_api_client.v1.model.synthetics_step_type'] from datadog_api_client.v1.model.synthetics_step import SyntheticsStep class TestSyntheticsStep(unittest.TestCase): """SyntheticsStep unit test stubs""" def setUp(self): pass def tearDown(self): pass def testSyntheticsStep(self): """Test SyntheticsStep""" # FIXME: construct object with mandatory attributes with example values # model = SyntheticsStep() # noqa: E501 pass if __name__ == '__main__': unittest.main()
26.384615
108
0.735666
126
1,029
5.785714
0.603175
0.05487
0.087792
0.098765
0.144033
0.144033
0.101509
0
0
0
0
0.016746
0.187561
1,029
38
109
27.078947
0.855263
0.387755
0
0.157895
0
0
0.091354
0.078303
0
0
0
0.026316
0
1
0.157895
false
0.157895
0.368421
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
1
0
1
0
0
4
3fee78759604ca46d8220dcc9c2a4d13329b1a91
7,448
py
Python
ocial/ocial_project/topics/signals.py
kasimbozdag/swe_574
a77fa29fd80c713cd202ccbb82cfcadfa52b81fa
[ "MIT" ]
1
2019-09-29T12:54:58.000Z
2019-09-29T12:54:58.000Z
ocial/ocial_project/topics/signals.py
kasimbozdag/swe_574
a77fa29fd80c713cd202ccbb82cfcadfa52b81fa
[ "MIT" ]
55
2019-09-26T16:29:22.000Z
2022-02-10T11:28:32.000Z
ocial/ocial_project/topics/signals.py
kasimbozdag/swe_574
a77fa29fd80c713cd202ccbb82cfcadfa52b81fa
[ "MIT" ]
null
null
null
from django.db.models.signals import pre_save, pre_delete, post_save, post_delete from django.dispatch import receiver import json from .middlewares import RequestMiddleware from .models import Topic, ActivityStream_JSON, Learner_Course_Record, UserFollowing, Section, Course, GetActivityStream from datetime import datetime from django.urls import reverse import requests activityHost = "http://activity_stream:3000/echo" #activityHost = "http://127.0.0.1:3000/echo" # this is a signal that will trigger when a Topic instance is saved to db # if there are other time you want to call functions you can use pre_save, pre_delete, post_delete as argument insteaad of post_ssave @receiver(post_save, sender=Topic) def topic_post_save(sender, instance, **kwargs): obj = instance scheme_host = None request = RequestMiddleware(get_response=None) if "current_request" in request.thread_local.__dict__: request = request.thread_local.current_request user = request.user scheme_host = request._current_scheme_host if user.is_anonymous: actor = None else: actor = scheme_host + reverse("userprofile", kwargs={"username": user.username}) else: actor = None return object = scheme_host + "/exploretopic/" + str(obj.id) type = "create" summary = f"{user.username} added the topic '{obj.title}'" """ # this part is not necessary for Topic since topic does not have an update # the fallowing endpoint with query has not been implemented check=requests.get(f"http://activity_stream:3000/getAllActivities?object={object}&type=create") try: if check.json()=="null": type="update" summary= f"The User {user.username} updated the topic '{obj.title}'" except: pass """ activity = { "@context": "https://www.w3.org/ns/activitystreams", "summary": summary, "type": type, "actor": actor, "object": object, "published": datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ%Z'), } print(activity) req = requests.post(activityHost, json=activity) @receiver(post_save, sender=Learner_Course_Record) def course_post_enrolled_finished(sender, instance, created, **kwargs): obj = instance scheme_host = None request = RequestMiddleware(get_response=None) if "current_request" in request.thread_local.__dict__: request = request.thread_local.current_request user = request.user scheme_host = request._current_scheme_host if user.is_anonymous: actor = None else: actor = scheme_host + reverse("userprofile", kwargs={"username": user.username}) else: actor = None if obj.isFinished == False and obj.completeRate <= 0 and created: object = scheme_host + "/course/" + str(obj.id) type = "enroll" summary = f"The User {user.username} ,enrolled in the course '{obj.course.title}'" elif obj.isFinished == True and obj.completeRate >= 100: object = scheme_host + "/course/" + str(obj.id) type = "complete" summary = f"The User {user.username} completed the course '{obj.course.title}'" else: return #if obj.isFinished == True and obj.completeRate >= 100: # object = scheme_host + "/exploretopic/" + str(obj.id) # type = "completed" # summary = f"The User {user.username} completed the course '{obj.course.title}'" activity = { "@context": "https://www.w3.org/ns/activitystreams", "summary": summary, "type": type, "actor": actor, "object": object, "published": datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ%Z'), } req = requests.post(activityHost, json=activity) @receiver(post_save, sender=UserFollowing) def following(sender, instance, created, **kwargs): obj = instance scheme_host = None request = RequestMiddleware(get_response=None) if "current_request" in request.thread_local.__dict__: request = request.thread_local.current_request user = request.user scheme_host = request._current_scheme_host if user.is_anonymous: actor = None else: actor = scheme_host + reverse("userprofile", kwargs={"username": user.username}) else: actor = None object = scheme_host + "/" + str(obj.following.username) type = "follow" summary = f"{user.username} has followed you" activity = { "@context": "https://www.w3.org/ns/activitystreams", "summary": summary, "type": type, "actor": actor, "object": object, "published": datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ%Z'), } if created: req = requests.post(activityHost, json=activity) @receiver(post_save, sender=Section) def sectionCreated(sender, instance, created, **kwargs): obj = instance scheme_host = None request = RequestMiddleware(get_response=None) if "current_request" in request.thread_local.__dict__: request = request.thread_local.current_request user = request.user scheme_host = request._current_scheme_host if user.is_anonymous: actor = None else: actor = scheme_host + reverse("userprofile", kwargs={"username": user.username}) else: actor = None return object = scheme_host + "/classroom/viewlecture/" + str(obj.id) type = "created" summary = f"{user.username} created new section '{obj.name}' to course '{obj.course.title}'" activity = { "@context": "https://www.w3.org/ns/activitystreams", "summary": summary, "type": type, "actor": actor, "object": object, "published": datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ%Z'), } get = GetActivityStream() valid_jsons = get.getFollowedActivities(request) for r in valid_jsons: if r.summary == summary: print("daha onceden var") if obj.isPublishable == True and obj.course.published == True: req = requests.post(activityHost, json=activity) @receiver(post_save, sender=Course) def courseCreated(sender, instance, created, **kwargs): obj = instance scheme_host = None request = RequestMiddleware(get_response=None) if "current_request" in request.thread_local.__dict__: request = request.thread_local.current_request user = request.user scheme_host = request._current_scheme_host if user.is_anonymous: actor = None else: actor = scheme_host + reverse("userprofile", kwargs={"username": user.username}) else: actor = None return object = scheme_host + "/course/" + str(obj.id) type = "created" summary = f"{user.username} created new course '{obj.title}'" activity = { "@context": "https://www.w3.org/ns/activitystreams", "summary": summary, "type": type, "actor": actor, "object": object, "published": datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ%Z'), } get = GetActivityStream() valid_jsons = get.getFollowedActivities(request) for r in valid_jsons: if r.summary == activity["summary"]: print("daha onceden var") if obj.published == True: req = requests.post(activityHost, json=activity)
34.481481
133
0.640575
874
7,448
5.326087
0.191076
0.058002
0.038668
0.015467
0.729753
0.716219
0.704619
0.6913
0.654565
0.654565
0
0.005286
0.23805
7,448
215
134
34.64186
0.814978
0.062164
0
0.732143
0
0.005952
0.177378
0.003511
0
0
0
0
0
1
0.029762
false
0
0.047619
0
0.10119
0.017857
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b7ba57a9ae5c6c21cb6f3c0dc3fe8ef71341aa84
93
py
Python
userinput/apps.py
VisheshJain112/predective-ai
2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc
[ "MIT" ]
1
2021-02-21T07:34:23.000Z
2021-02-21T07:34:23.000Z
userinput/apps.py
VisheshJain112/predective-ai
2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc
[ "MIT" ]
null
null
null
userinput/apps.py
VisheshJain112/predective-ai
2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc
[ "MIT" ]
3
2021-02-21T13:26:44.000Z
2021-02-23T16:15:35.000Z
from django.apps import AppConfig class UserinputConfig(AppConfig): name = 'userinput'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b7df78a5c27ebd57590231f65f935ed133d62c56
59
py
Python
dreqPy/extensions/__init__.py
zklaus-cmip6/CMIP6dreq
647459f5f1799b1a847a071248904c34d6a58064
[ "BSD-3-Clause-Clear" ]
null
null
null
dreqPy/extensions/__init__.py
zklaus-cmip6/CMIP6dreq
647459f5f1799b1a847a071248904c34d6a58064
[ "BSD-3-Clause-Clear" ]
null
null
null
dreqPy/extensions/__init__.py
zklaus-cmip6/CMIP6dreq
647459f5f1799b1a847a071248904c34d6a58064
[ "BSD-3-Clause-Clear" ]
null
null
null
"""A collection of extensions to the core functionality"""
29.5
58
0.762712
8
59
5.625
1
0
0
0
0
0
0
0
0
0
0
0
0.135593
59
1
59
59
0.882353
0.881356
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b7e2c9cf61ab6207e9c44cbaebeb2eb8943075c9
202
py
Python
env/bin/django-admin.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
env/bin/django-admin.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
env/bin/django-admin.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
#!/Users/divyanshu/Desktop/My Stuff/HTML Templates/argon-dashboard-django-master/env/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
33.666667
95
0.80198
27
202
5.592593
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.084158
202
5
96
40.4
0.816216
0.465347
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b7f4cd0b81f7b3cbc0eb6e2b2d84fc9a430037ba
158
py
Python
MxOnline/apps/__init__.py
zhangsheng166/demo
8142abb110e3885ffe62d2fce24e18e6619c558d
[ "Apache-2.0" ]
null
null
null
MxOnline/apps/__init__.py
zhangsheng166/demo
8142abb110e3885ffe62d2fce24e18e6619c558d
[ "Apache-2.0" ]
null
null
null
MxOnline/apps/__init__.py
zhangsheng166/demo
8142abb110e3885ffe62d2fce24e18e6619c558d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2017/12/15 19:46 # @Author : 暖先生! # @FileName: __init__.py.py # @Software: PyCharm # @Blog :http://www.zstcl.com
26.333333
32
0.563291
22
158
3.863636
0.954545
0
0
0
0
0
0
0
0
0
0
0.104839
0.21519
158
6
32
26.333333
0.580645
0.892405
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4d1861eec5f3ad1ab1213ebfa5b0bc268d8f2aab
770,613
py
Python
clarisse/var/lib/windows/base.py
GuillaumeVFX/pipel
a1bd726239e6887745396723c3aad5d61e88ce44
[ "MIT" ]
2
2020-05-12T11:38:44.000Z
2022-03-07T04:13:50.000Z
clarisse/var/lib/windows/base.py
GuillaumeVFX/pipel
a1bd726239e6887745396723c3aad5d61e88ce44
[ "MIT" ]
null
null
null
clarisse/var/lib/windows/base.py
GuillaumeVFX/pipel
a1bd726239e6887745396723c3aad5d61e88ce44
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info >= (2, 7, 0): def swig_import_helper(): import importlib pkg = __name__.rpartition('.')[0] mname = '.'.join((pkg, '_base')).lstrip('.') try: return importlib.import_module(mname) except ImportError: return importlib.import_module('_base') _base = swig_import_helper() del swig_import_helper elif _swig_python_version_info >= (2, 6, 0): def swig_import_helper(): from os.path import dirname import imp fp = None try: fp, pathname, description = imp.find_module('_base', [dirname(__file__)]) except ImportError: import _base return _base try: _mod = imp.load_module('_base', fp, pathname, description) finally: if fp is not None: fp.close() return _mod _base = swig_import_helper() del swig_import_helper else: import _base del _swig_python_version_info try: _swig_property = property except NameError: pass # Python < 2.2 doesn't have 'property'. try: import builtins as __builtin__ except ImportError: import __builtin__ 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__ == 'SwigPyObject': self.__dict__[name] = value return method = class_type.__swig_setmethods__.get(name, None) if method: return method(self, value) if (not static): if _newclass: object.__setattr__(self, name, value) else: 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("'%s' object has no attribute '%s'" % (class_type.__name__, name)) def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except __builtin__.Exception: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) try: _object = object _newclass = 1 except __builtin__.Exception: class _object: pass _newclass = 0 try: import weakref weakref_proxy = weakref.proxy except __builtin__.Exception: weakref_proxy = lambda x: x class CoreTypeInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreTypeInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreTypeInfo, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") __repr__ = _swig_repr __swig_destroy__ = _base.delete_CoreTypeInfo __del__ = lambda self: None def get_name(self): return _base.CoreTypeInfo_get_name(self) def get_class_name(self): return _base.CoreTypeInfo_get_class_name(self) def is_reference(self): return _base.CoreTypeInfo_is_reference(self) def is_pointer(self): return _base.CoreTypeInfo_is_pointer(self) def get_template(self): return _base.CoreTypeInfo_get_template(self) CoreTypeInfo_swigregister = _base.CoreTypeInfo_swigregister CoreTypeInfo_swigregister(CoreTypeInfo) class CoreArgInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreArgInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreArgInfo, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") __repr__ = _swig_repr __swig_destroy__ = _base.delete_CoreArgInfo __del__ = lambda self: None def get_name(self): return _base.CoreArgInfo_get_name(self) def get_type(self): return _base.CoreArgInfo_get_type(self) def has_value(self): return _base.CoreArgInfo_has_value(self) def get_value(self): return _base.CoreArgInfo_get_value(self) CoreArgInfo_swigregister = _base.CoreArgInfo_swigregister CoreArgInfo_swigregister(CoreArgInfo) class CoreConstructorInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreConstructorInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreConstructorInfo, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") __repr__ = _swig_repr __swig_destroy__ = _base.delete_CoreConstructorInfo __del__ = lambda self: None def get_arguments(self): return _base.CoreConstructorInfo_get_arguments(self) def remove_all_arguments(self): return _base.CoreConstructorInfo_remove_all_arguments(self) def add_argument(self, name, type, value=None): return _base.CoreConstructorInfo_add_argument(self, name, type, value) def get_optional_argument_count(self): return _base.CoreConstructorInfo_get_optional_argument_count(self) def create_object(self, args=None, arg_count=0): return _base.CoreConstructorInfo_create_object(self, args, arg_count) CoreConstructorInfo_swigregister = _base.CoreConstructorInfo_swigregister CoreConstructorInfo_swigregister(CoreConstructorInfo) class CoreMethodInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreMethodInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreMethodInfo, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") __repr__ = _swig_repr TYPE_DEFAULT = _base.CoreMethodInfo_TYPE_DEFAULT TYPE_STATIC = _base.CoreMethodInfo_TYPE_STATIC TYPE_VIRTUAL = _base.CoreMethodInfo_TYPE_VIRTUAL __swig_destroy__ = _base.delete_CoreMethodInfo __del__ = lambda self: None def is_static(self): return _base.CoreMethodInfo_is_static(self) def is_virtual(self): return _base.CoreMethodInfo_is_virtual(self) def is_default(self): return _base.CoreMethodInfo_is_default(self) def get_name(self): return _base.CoreMethodInfo_get_name(self) def get_type(self): return _base.CoreMethodInfo_get_type(self) def get_return_type(self): return _base.CoreMethodInfo_get_return_type(self) def has_return_type(self): return _base.CoreMethodInfo_has_return_type(self) def get_arguments(self): return _base.CoreMethodInfo_get_arguments(self) def remove_all_arguments(self): return _base.CoreMethodInfo_remove_all_arguments(self) def add_argument(self, name, type, value=None): return _base.CoreMethodInfo_add_argument(self, name, type, value) def get_optional_argument_count(self): return _base.CoreMethodInfo_get_optional_argument_count(self) def call(self, instance=None, args=None, arg_count=0, ret_val=None): return _base.CoreMethodInfo_call(self, instance, args, arg_count, ret_val) CoreMethodInfo_swigregister = _base.CoreMethodInfo_swigregister CoreMethodInfo_swigregister(CoreMethodInfo) class CoreEnumValueInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreEnumValueInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreEnumValueInfo, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreEnumValueInfo() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreEnumValueInfo __del__ = lambda self: None def get_name(self): return _base.CoreEnumValueInfo_get_name(self) def get_value(self): return _base.CoreEnumValueInfo_get_value(self) CoreEnumValueInfo_swigregister = _base.CoreEnumValueInfo_swigregister CoreEnumValueInfo_swigregister(CoreEnumValueInfo) class CoreEnumInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreEnumInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreEnumInfo, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreEnumInfo() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreEnumInfo __del__ = lambda self: None def get_name(self): return _base.CoreEnumInfo_get_name(self) def get_values(self): return _base.CoreEnumInfo_get_values(self) def add_value(self, name, value): return _base.CoreEnumInfo_add_value(self, name, value) def remove_all_values(self): return _base.CoreEnumInfo_remove_all_values(self) CoreEnumInfo_swigregister = _base.CoreEnumInfo_swigregister CoreEnumInfo_swigregister(CoreEnumInfo) class CoreClassInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreClassInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreClassInfo, name) __repr__ = _swig_repr def __init__(self, class_name, destructor, base_class_info=None, register_class=None): this = _base.new_CoreClassInfo(class_name, destructor, base_class_info, register_class) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreClassInfo __del__ = lambda self: None def get_name(self): return _base.CoreClassInfo_get_name(self) def get_id(self): return _base.CoreClassInfo_get_id(self) def get_index(self): return _base.CoreClassInfo_get_index(self) def is_base_class(self): return _base.CoreClassInfo_is_base_class(self) def get_base_class_info(self): return _base.CoreClassInfo_get_base_class_info(self) def is_kindof(self, cinfo): return _base.CoreClassInfo_is_kindof(self, cinfo) def __eq__(self, info): if not isinstance(obj, type(self)): return False return _base.CoreClassInfo___eq__(self, info) def __ne__(self, info): return _base.CoreClassInfo___ne__(self, info) def get_children_info(self): return _base.CoreClassInfo_get_children_info(self) def is_creatable(self): return _base.CoreClassInfo_is_creatable(self) def is_destroyable(self): return _base.CoreClassInfo_is_destroyable(self) def destroy(self, instance, is_array=False): return _base.CoreClassInfo_destroy(self, instance, is_array) def get_constructors(self, *args): return _base.CoreClassInfo_get_constructors(self, *args) def add_constructor(self, constructor): return _base.CoreClassInfo_add_constructor(self, constructor) def get_methods(self, *args): return _base.CoreClassInfo_get_methods(self, *args) def add_method(self, method, name, type, return_type=None): return _base.CoreClassInfo_add_method(self, method, name, type, return_type) def add_enum(self, name): return _base.CoreClassInfo_add_enum(self, name) def log(self, log_children=True): return _base.CoreClassInfo_log(self, log_children) def get_interface(self, name): return _base.CoreClassInfo_get_interface(self, name) if _newclass: is_class_exists = staticmethod(_base.CoreClassInfo_is_class_exists) else: is_class_exists = _base.CoreClassInfo_is_class_exists if _newclass: get_class = staticmethod(_base.CoreClassInfo_get_class) else: get_class = _base.CoreClassInfo_get_class if _newclass: new_class = staticmethod(_base.CoreClassInfo_new_class) else: new_class = _base.CoreClassInfo_new_class if _newclass: get_classes = staticmethod(_base.CoreClassInfo_get_classes) else: get_classes = _base.CoreClassInfo_get_classes if _newclass: get_class_by_index = staticmethod(_base.CoreClassInfo_get_class_by_index) else: get_class_by_index = _base.CoreClassInfo_get_class_by_index if _newclass: get_class_count = staticmethod(_base.CoreClassInfo_get_class_count) else: get_class_count = _base.CoreClassInfo_get_class_count if _newclass: is_enum_exists = staticmethod(_base.CoreClassInfo_is_enum_exists) else: is_enum_exists = _base.CoreClassInfo_is_enum_exists if _newclass: get_enum = staticmethod(_base.CoreClassInfo_get_enum) else: get_enum = _base.CoreClassInfo_get_enum if _newclass: get_enums = staticmethod(_base.CoreClassInfo_get_enums) else: get_enums = _base.CoreClassInfo_get_enums CoreClassInfo_swigregister = _base.CoreClassInfo_swigregister CoreClassInfo_swigregister(CoreClassInfo) def CoreClassInfo_is_class_exists(*args): return _base.CoreClassInfo_is_class_exists(*args) CoreClassInfo_is_class_exists = _base.CoreClassInfo_is_class_exists def CoreClassInfo_get_class(class_name): return _base.CoreClassInfo_get_class(class_name) CoreClassInfo_get_class = _base.CoreClassInfo_get_class def CoreClassInfo_new_class(class_name, destructor, base_class_info=None, register_class=None): return _base.CoreClassInfo_new_class(class_name, destructor, base_class_info, register_class) CoreClassInfo_new_class = _base.CoreClassInfo_new_class def CoreClassInfo_get_classes(*args): return _base.CoreClassInfo_get_classes(*args) CoreClassInfo_get_classes = _base.CoreClassInfo_get_classes def CoreClassInfo_get_class_by_index(index): return _base.CoreClassInfo_get_class_by_index(index) CoreClassInfo_get_class_by_index = _base.CoreClassInfo_get_class_by_index def CoreClassInfo_get_class_count(): return _base.CoreClassInfo_get_class_count() CoreClassInfo_get_class_count = _base.CoreClassInfo_get_class_count def CoreClassInfo_is_enum_exists(enum_name): return _base.CoreClassInfo_is_enum_exists(enum_name) CoreClassInfo_is_enum_exists = _base.CoreClassInfo_is_enum_exists def CoreClassInfo_get_enum(enum_name): return _base.CoreClassInfo_get_enum(enum_name) CoreClassInfo_get_enum = _base.CoreClassInfo_get_enum def CoreClassInfo_get_enums(*args): return _base.CoreClassInfo_get_enums(*args) CoreClassInfo_get_enums = _base.CoreClassInfo_get_enums class CoreBasicString(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBasicString, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreBasicString, name) __repr__ = _swig_repr INVALID_INDEX = _base.CoreBasicString_INVALID_INDEX def __init__(self, *args): this = _base.new_CoreBasicString(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def is_empty(self): return _base.CoreBasicString_is_empty(self) def get_length(self): return _base.CoreBasicString_get_length(self) def get_count(self): return _base.CoreBasicString_get_count(self) def get_data(self): return _base.CoreBasicString_get_data(self) def front(self): return _base.CoreBasicString_front(self) def first(self): return _base.CoreBasicString_first(self) def back(self): return _base.CoreBasicString_back(self) def last(self): return _base.CoreBasicString_last(self) def start_with(self, *args): return _base.CoreBasicString_start_with(self, *args) def end_with(self, *args): return _base.CoreBasicString_end_with(self, *args) def contains(self, *args): return _base.CoreBasicString_contains(self, *args) def find(self, *args): return _base.CoreBasicString_find(self, *args) def rev_find(self, *args): return _base.CoreBasicString_rev_find(self, *args) def begin(self): return _base.CoreBasicString_begin(self) def end(self): return _base.CoreBasicString_end(self) def __eq__(self, *args): if not isinstance(obj, type(self)): return False return _base.CoreBasicString___eq__(self, *args) def __ne__(self, *args): return _base.CoreBasicString___ne__(self, *args) def __lt__(self, *args): return _base.CoreBasicString___lt__(self, *args) __swig_destroy__ = _base.delete_CoreBasicString __del__ = lambda self: None CoreBasicString_swigregister = _base.CoreBasicString_swigregister CoreBasicString_swigregister(CoreBasicString) class CoreString(CoreBasicString): __swig_setmethods__ = {} for _s in [CoreBasicString]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreString, name, value) __swig_getmethods__ = {} for _s in [CoreBasicString]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreString, name) def __init__(self, *args): this = _base.new_CoreString(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreString __del__ = lambda self: None def set_data(self, *args): return _base.CoreString_set_data(self, *args) def clear(self): return _base.CoreString_clear(self) def front(self): return _base.CoreString_front(self) def first(self): return _base.CoreString_first(self) def back(self): return _base.CoreString_back(self) def last(self): return _base.CoreString_last(self) def append(self, *args): return _base.CoreString_append(self, *args) def append_number_with_unit(self, number, short_scale=True): return _base.CoreString_append_number_with_unit(self, number, short_scale) def replace(self, *args): return _base.CoreString_replace(self, *args) def count_occurences(self, token): return _base.CoreString_count_occurences(self, token) def remove_occurences(self, token): return _base.CoreString_remove_occurences(self, token) def remove_last(self): return _base.CoreString_remove_last(self) def make_title(self): return _base.CoreString_make_title(self) def make_identifier(self): return _base.CoreString_make_identifier(self) def upper_case(self): return _base.CoreString_upper_case(self) def lower_case(self): return _base.CoreString_lower_case(self) def is_identifier(self): return _base.CoreString_is_identifier(self) def is_number(self): return _base.CoreString_is_number(self) def sub_string(self, start, length): return _base.CoreString_sub_string(self, start, length) def get_title(self): return _base.CoreString_get_title(self) def get_identifier(self): return _base.CoreString_get_identifier(self) def get_upper_case(self): return _base.CoreString_get_upper_case(self) def get_lower_case(self): return _base.CoreString_get_lower_case(self) def get_camel_case(self): return _base.CoreString_get_camel_case(self) def get_trim(self): return _base.CoreString_get_trim(self) def get_trim_left(self): return _base.CoreString_get_trim_left(self) def get_trim_right(self): return _base.CoreString_get_trim_right(self) def get_memory_size(self): return _base.CoreString_get_memory_size(self) def get_serial_size(self): return _base.CoreString_get_serial_size(self) def serialize(self, serial): return _base.CoreString_serialize(self, serial) def deserialize(self, serial): return _base.CoreString_deserialize(self, serial) def split(self, *args): return _base.CoreString_split(self, *args) def split_word(self, separator, slist, remove_blank=True): return _base.CoreString_split_word(self, separator, slist, remove_blank) if _newclass: join = staticmethod(_base.CoreString_join) else: join = _base.CoreString_join if _newclass: get_null_string = staticmethod(_base.CoreString_get_null_string) else: get_null_string = _base.CoreString_get_null_string if _newclass: camel_case = staticmethod(_base.CoreString_camel_case) else: camel_case = _base.CoreString_camel_case if _newclass: before_first = staticmethod(_base.CoreString_before_first) else: before_first = _base.CoreString_before_first if _newclass: after_first = staticmethod(_base.CoreString_after_first) else: after_first = _base.CoreString_after_first if _newclass: before_last = staticmethod(_base.CoreString_before_last) else: before_last = _base.CoreString_before_last if _newclass: after_last = staticmethod(_base.CoreString_after_last) else: after_last = _base.CoreString_after_last if _newclass: alpha_sort = staticmethod(_base.CoreString_alpha_sort) else: alpha_sort = _base.CoreString_alpha_sort if _newclass: compare = staticmethod(_base.CoreString_compare) else: compare = _base.CoreString_compare def begin(self, *args): return _base.CoreString_begin(self, *args) def end(self, *args): return _base.CoreString_end(self, *args) def shrink_to_fit(self): return _base.CoreString_shrink_to_fit(self) def capacity(self): return _base.CoreString_capacity(self) def __iadd__(self, *args): return _base.CoreString___iadd__(self, *args) def __lshift__(self, *args): return _base.CoreString___lshift__(self, *args) def __add__(self, *args): return _base.CoreString___add__(self, *args) def __nonzero__(self): return _base.CoreString___nonzero__(self) __bool__ = __nonzero__ def __str__(self): return _base.CoreString___str__(self) def __repr__(self): return _base.CoreString___repr__(self) def __len__(self): return _base.CoreString___len__(self) def __setitem__(self, index, value): return _base.CoreString___setitem__(self, index, value) def __getitem__(self, index): return _base.CoreString___getitem__(self, index) CoreString_swigregister = _base.CoreString_swigregister CoreString_swigregister(CoreString) def CoreString_join(strings, separator, keep_empty=False): return _base.CoreString_join(strings, separator, keep_empty) CoreString_join = _base.CoreString_join def CoreString_get_null_string(): return _base.CoreString_get_null_string() CoreString_get_null_string = _base.CoreString_get_null_string def CoreString_camel_case(*args): return _base.CoreString_camel_case(*args) CoreString_camel_case = _base.CoreString_camel_case def CoreString_before_first(str, c): return _base.CoreString_before_first(str, c) CoreString_before_first = _base.CoreString_before_first def CoreString_after_first(str, c): return _base.CoreString_after_first(str, c) CoreString_after_first = _base.CoreString_after_first def CoreString_before_last(str, c): return _base.CoreString_before_last(str, c) CoreString_before_last = _base.CoreString_before_last def CoreString_after_last(str, c): return _base.CoreString_after_last(str, c) CoreString_after_last = _base.CoreString_after_last def CoreString_alpha_sort(*args): return _base.CoreString_alpha_sort(*args) CoreString_alpha_sort = _base.CoreString_alpha_sort def CoreString_compare(str1, str2): return _base.CoreString_compare(str1, str2) CoreString_compare = _base.CoreString_compare class CoreVariant(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreVariant, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreVariant, name) __repr__ = _swig_repr TYPE_VOID = _base.CoreVariant_TYPE_VOID TYPE_BOOL = _base.CoreVariant_TYPE_BOOL TYPE_LONG = _base.CoreVariant_TYPE_LONG TYPE_DOUBLE = _base.CoreVariant_TYPE_DOUBLE TYPE_STRING = _base.CoreVariant_TYPE_STRING TYPE_POINTER = _base.CoreVariant_TYPE_POINTER TYPE_CORE_BASE_OBJECT_PTR = _base.CoreVariant_TYPE_CORE_BASE_OBJECT_PTR TYPE_COUNT = _base.CoreVariant_TYPE_COUNT __swig_setmethods__["null_value"] = _base.CoreVariant_null_value_set __swig_getmethods__["null_value"] = _base.CoreVariant_null_value_get if _newclass: null_value = _swig_property(_base.CoreVariant_null_value_get, _base.CoreVariant_null_value_set) if _newclass: get_type_name = staticmethod(_base.CoreVariant_get_type_name) else: get_type_name = _base.CoreVariant_get_type_name def __init__(self, *args): this = _base.new_CoreVariant(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreVariant __del__ = lambda self: None def get_memory_size(self): return _base.CoreVariant_get_memory_size(self) def get_type(self): return _base.CoreVariant_get_type(self) def __nonzero__(self): return _base.CoreVariant___nonzero__(self) __bool__ = __nonzero__ def __eq__(self, other): if not isinstance(obj, type(self)): return False return _base.CoreVariant___eq__(self, other) def __ne__(self, other): return _base.CoreVariant___ne__(self, other) CoreVariant_swigregister = _base.CoreVariant_swigregister CoreVariant_swigregister(CoreVariant) cvar = _base.cvar def CoreVariant_get_type_name(type): return _base.CoreVariant_get_type_name(type) CoreVariant_get_type_name = _base.CoreVariant_get_type_name def core_container_is_empty(class_name, method_name): return _base.core_container_is_empty(class_name, method_name) core_container_is_empty = _base.core_container_is_empty def core_container_boundary_check(class_name, method_name, index, count): return _base.core_container_boundary_check(class_name, method_name, index, count) core_container_boundary_check = _base.core_container_boundary_check class CoreBaseType(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseType, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseType, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreBaseType() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseType __del__ = lambda self: None def is_kindof(self, cinfo): return _base.CoreBaseType_is_kindof(self, cinfo) if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseType____class_destructor__) else: ___class_destructor__ = _base.CoreBaseType____class_destructor__ if _newclass: class_info = staticmethod(_base.CoreBaseType_class_info) else: class_info = _base.CoreBaseType_class_info def __eq__(self, obj): if not isinstance(obj, type(self)): return False return _base.CoreBaseType___eq__(self, obj) CoreBaseType_swigregister = _base.CoreBaseType_swigregister CoreBaseType_swigregister(CoreBaseType) def CoreBaseType____class_destructor__(instance, is_array): return _base.CoreBaseType____class_destructor__(instance, is_array) CoreBaseType____class_destructor__ = _base.CoreBaseType____class_destructor__ def CoreBaseType_class_info(): return _base.CoreBaseType_class_info() CoreBaseType_class_info = _base.CoreBaseType_class_info class CoreBaseObject(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseObject, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseObject, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreBaseObject() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseObject __del__ = lambda self: None def get_memory_size(self): return _base.CoreBaseObject_get_memory_size(self) def get_class_info_name(self): return _base.CoreBaseObject_get_class_info_name(self) def get_class_interface(self): return _base.CoreBaseObject_get_class_interface(self) def get_class_info_id(self): return _base.CoreBaseObject_get_class_info_id(self) def is_kindof(self, *args): return _base.CoreBaseObject_is_kindof(self, *args) def get_class_info(self): return _base.CoreBaseObject_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseObject_class_info) else: class_info = _base.CoreBaseObject_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseObject____class_destructor__) else: ___class_destructor__ = _base.CoreBaseObject____class_destructor__ def __eq__(self, obj): if not isinstance(obj, type(self)): return False return _base.CoreBaseObject___eq__(self, obj) CoreBaseObject_swigregister = _base.CoreBaseObject_swigregister CoreBaseObject_swigregister(CoreBaseObject) def CoreBaseObject_class_info(): return _base.CoreBaseObject_class_info() CoreBaseObject_class_info = _base.CoreBaseObject_class_info def CoreBaseObject____class_destructor__(instance, is_array): return _base.CoreBaseObject____class_destructor__(instance, is_array) CoreBaseObject____class_destructor__ = _base.CoreBaseObject____class_destructor__ def get_next_core_basic_array_id(): return _base.get_next_core_basic_array_id() get_next_core_basic_array_id = _base.get_next_core_basic_array_id CoreArrayResizeMode_KEEP_NONE = _base.CoreArrayResizeMode_KEEP_NONE CoreArrayResizeMode_KEEP_LEFT = _base.CoreArrayResizeMode_KEEP_LEFT CoreArrayResizeMode_KEEP_RIGHT = _base.CoreArrayResizeMode_KEEP_RIGHT def get_next_core_array_id(): return _base.get_next_core_array_id() get_next_core_array_id = _base.get_next_core_array_id def get_next_core_vector_id(): return _base.get_next_core_vector_id() get_next_core_vector_id = _base.get_next_core_vector_id class CoreCustomData(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreCustomData, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreCustomData, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreCustomData(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreCustomData __del__ = lambda self: None def add_custom_data(self, *args): return _base.CoreCustomData_add_custom_data(self, *args) def remove_custom_data(self, key): return _base.CoreCustomData_remove_custom_data(self, key) def remove_all_custom_data(self): return _base.CoreCustomData_remove_all_custom_data(self) def set_custom_data(self, *args): return _base.CoreCustomData_set_custom_data(self, *args) def get_custom_data(self, *args): return _base.CoreCustomData_get_custom_data(self, *args) def get_memory_size(self): return _base.CoreCustomData_get_memory_size(self) if _newclass: get_custom_data_key = staticmethod(_base.CoreCustomData_get_custom_data_key) else: get_custom_data_key = _base.CoreCustomData_get_custom_data_key if _newclass: class_info = staticmethod(_base.CoreCustomData_class_info) else: class_info = _base.CoreCustomData_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreCustomData____class_destructor__) else: ___class_destructor__ = _base.CoreCustomData____class_destructor__ def get_class_info(self): return _base.CoreCustomData_get_class_info(self) CoreCustomData_swigregister = _base.CoreCustomData_swigregister CoreCustomData_swigregister(CoreCustomData) def CoreCustomData_get_custom_data_key(key): return _base.CoreCustomData_get_custom_data_key(key) CoreCustomData_get_custom_data_key = _base.CoreCustomData_get_custom_data_key def CoreCustomData_class_info(): return _base.CoreCustomData_class_info() CoreCustomData_class_info = _base.CoreCustomData_class_info def CoreCustomData____class_destructor__(instance, is_array): return _base.CoreCustomData____class_destructor__(instance, is_array) CoreCustomData____class_destructor__ = _base.CoreCustomData____class_destructor__ LOG_LEVEL_FATAL = _base.LOG_LEVEL_FATAL LOG_LEVEL_ERROR = _base.LOG_LEVEL_ERROR LOG_LEVEL_WARNING = _base.LOG_LEVEL_WARNING LOG_LEVEL_INFO = _base.LOG_LEVEL_INFO LOG_LEVEL_DEBUG = _base.LOG_LEVEL_DEBUG LOG_LEVEL_COUNT = _base.LOG_LEVEL_COUNT def to_string(level): return _base.to_string(level) to_string = _base.to_string def from_string(level): return _base.from_string(level) from_string = _base.from_string class CoreLogMessage(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLogMessage, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLogMessage, name) __repr__ = _swig_repr def __init__(self, level, message): this = _base.new_CoreLogMessage(level, message) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_str(self): return _base.CoreLogMessage_get_str(self) def get_level(self): return _base.CoreLogMessage_get_level(self) if _newclass: class_info = staticmethod(_base.CoreLogMessage_class_info) else: class_info = _base.CoreLogMessage_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLogMessage____class_destructor__) else: ___class_destructor__ = _base.CoreLogMessage____class_destructor__ def get_class_info(self): return _base.CoreLogMessage_get_class_info(self) __swig_destroy__ = _base.delete_CoreLogMessage __del__ = lambda self: None CoreLogMessage_swigregister = _base.CoreLogMessage_swigregister CoreLogMessage_swigregister(CoreLogMessage) def CoreLogMessage_class_info(): return _base.CoreLogMessage_class_info() CoreLogMessage_class_info = _base.CoreLogMessage_class_info def CoreLogMessage____class_destructor__(instance, is_array): return _base.CoreLogMessage____class_destructor__(instance, is_array) CoreLogMessage____class_destructor__ = _base.CoreLogMessage____class_destructor__ class CoreLogger(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLogger, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLogger, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") __repr__ = _swig_repr __swig_destroy__ = _base.delete_CoreLogger __del__ = lambda self: None def output(self, msg): return _base.CoreLogger_output(self, msg) if _newclass: class_info = staticmethod(_base.CoreLogger_class_info) else: class_info = _base.CoreLogger_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLogger____class_destructor__) else: ___class_destructor__ = _base.CoreLogger____class_destructor__ def get_class_info(self): return _base.CoreLogger_get_class_info(self) CoreLogger_swigregister = _base.CoreLogger_swigregister CoreLogger_swigregister(CoreLogger) def CoreLogger_class_info(): return _base.CoreLogger_class_info() CoreLogger_class_info = _base.CoreLogger_class_info def CoreLogger____class_destructor__(instance, is_array): return _base.CoreLogger____class_destructor__(instance, is_array) CoreLogger____class_destructor__ = _base.CoreLogger____class_destructor__ class CoreLoggerStdout(CoreLogger): __swig_setmethods__ = {} for _s in [CoreLogger]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLoggerStdout, name, value) __swig_getmethods__ = {} for _s in [CoreLogger]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLoggerStdout, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreLoggerStdout() try: self.this.append(this) except __builtin__.Exception: self.this = this def output(self, msg): return _base.CoreLoggerStdout_output(self, msg) if _newclass: class_info = staticmethod(_base.CoreLoggerStdout_class_info) else: class_info = _base.CoreLoggerStdout_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLoggerStdout____class_destructor__) else: ___class_destructor__ = _base.CoreLoggerStdout____class_destructor__ def get_class_info(self): return _base.CoreLoggerStdout_get_class_info(self) __swig_destroy__ = _base.delete_CoreLoggerStdout __del__ = lambda self: None CoreLoggerStdout_swigregister = _base.CoreLoggerStdout_swigregister CoreLoggerStdout_swigregister(CoreLoggerStdout) def CoreLoggerStdout_class_info(): return _base.CoreLoggerStdout_class_info() CoreLoggerStdout_class_info = _base.CoreLoggerStdout_class_info def CoreLoggerStdout____class_destructor__(instance, is_array): return _base.CoreLoggerStdout____class_destructor__(instance, is_array) CoreLoggerStdout____class_destructor__ = _base.CoreLoggerStdout____class_destructor__ class CoreLogStream(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLogStream, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLogStream, name) __repr__ = _swig_repr def get_string(self): return _base.CoreLogStream_get_string(self) def get_size(self): return _base.CoreLogStream_get_size(self) def clear(self): return _base.CoreLogStream_clear(self) def __lshift__(self, *args): return _base.CoreLogStream___lshift__(self, *args) if _newclass: class_info = staticmethod(_base.CoreLogStream_class_info) else: class_info = _base.CoreLogStream_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLogStream____class_destructor__) else: ___class_destructor__ = _base.CoreLogStream____class_destructor__ def get_class_info(self): return _base.CoreLogStream_get_class_info(self) def __init__(self): this = _base.new_CoreLogStream() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreLogStream __del__ = lambda self: None CoreLogStream_swigregister = _base.CoreLogStream_swigregister CoreLogStream_swigregister(CoreLogStream) def CoreLogStream_class_info(): return _base.CoreLogStream_class_info() CoreLogStream_class_info = _base.CoreLogStream_class_info def CoreLogStream____class_destructor__(instance, is_array): return _base.CoreLogStream____class_destructor__(instance, is_array) CoreLogStream____class_destructor__ = _base.CoreLogStream____class_destructor__ class CoreLogCtx(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLogCtx, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLogCtx, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreLogCtx() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreLogCtx __del__ = lambda self: None def add_logger(self, logger): return _base.CoreLogCtx_add_logger(self, logger) def remove_logger(self, *args): return _base.CoreLogCtx_remove_logger(self, *args) def remove_all_loggers(self): return _base.CoreLogCtx_remove_all_loggers(self) def get_logger_count(self): return _base.CoreLogCtx_get_logger_count(self) def get_logger(self, idx): return _base.CoreLogCtx_get_logger(self, idx) def log(self, level, message): return _base.CoreLogCtx_log(self, level, message) if _newclass: class_info = staticmethod(_base.CoreLogCtx_class_info) else: class_info = _base.CoreLogCtx_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLogCtx____class_destructor__) else: ___class_destructor__ = _base.CoreLogCtx____class_destructor__ def get_class_info(self): return _base.CoreLogCtx_get_class_info(self) CoreLogCtx_swigregister = _base.CoreLogCtx_swigregister CoreLogCtx_swigregister(CoreLogCtx) def CoreLogCtx_class_info(): return _base.CoreLogCtx_class_info() CoreLogCtx_class_info = _base.CoreLogCtx_class_info def CoreLogCtx____class_destructor__(instance, is_array): return _base.CoreLogCtx____class_destructor__(instance, is_array) CoreLogCtx____class_destructor__ = _base.CoreLogCtx____class_destructor__ class CoreLogStreamer(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLogStreamer, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLogStreamer, name) __repr__ = _swig_repr def __init__(self, context): this = _base.new_CoreLogStreamer(context) try: self.this.append(this) except __builtin__.Exception: self.this = this def append(self, level, msg): return _base.CoreLogStreamer_append(self, level, msg) def print_log(self, level, str): return _base.CoreLogStreamer_print_log(self, level, str) def flush(self, level): return _base.CoreLogStreamer_flush(self, level) def get_capacity(self): return _base.CoreLogStreamer_get_capacity(self) def set_capacity(self, capacity): return _base.CoreLogStreamer_set_capacity(self, capacity) if _newclass: class_info = staticmethod(_base.CoreLogStreamer_class_info) else: class_info = _base.CoreLogStreamer_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLogStreamer____class_destructor__) else: ___class_destructor__ = _base.CoreLogStreamer____class_destructor__ def get_class_info(self): return _base.CoreLogStreamer_get_class_info(self) __swig_destroy__ = _base.delete_CoreLogStreamer __del__ = lambda self: None CoreLogStreamer_swigregister = _base.CoreLogStreamer_swigregister CoreLogStreamer_swigregister(CoreLogStreamer) def CoreLogStreamer_class_info(): return _base.CoreLogStreamer_class_info() CoreLogStreamer_class_info = _base.CoreLogStreamer_class_info def CoreLogStreamer____class_destructor__(instance, is_array): return _base.CoreLogStreamer____class_destructor__(instance, is_array) CoreLogStreamer____class_destructor__ = _base.CoreLogStreamer____class_destructor__ class CoreLogHandler(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreLogHandler, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreLogHandler, name) __repr__ = _swig_repr def __init__(self): this = _base.new_CoreLogHandler() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreLogHandler __del__ = lambda self: None if _newclass: main_handler = staticmethod(_base.CoreLogHandler_main_handler) else: main_handler = _base.CoreLogHandler_main_handler def log(self, level, stream): return _base.CoreLogHandler_log(self, level, stream) def get_log_ctx(self): return _base.CoreLogHandler_get_log_ctx(self) def set_logger(self, logger): return _base.CoreLogHandler_set_logger(self, logger) def set_indent(self, indent): return _base.CoreLogHandler_set_indent(self, indent) def add_indent(self, indent): return _base.CoreLogHandler_add_indent(self, indent) def get_indent(self): return _base.CoreLogHandler_get_indent(self) def set_log_level(self, level): return _base.CoreLogHandler_set_log_level(self, level) def get_log_level(self): return _base.CoreLogHandler_get_log_level(self) def set_mute(self, mute): return _base.CoreLogHandler_set_mute(self, mute) def is_muted(self): return _base.CoreLogHandler_is_muted(self) if _newclass: class_info = staticmethod(_base.CoreLogHandler_class_info) else: class_info = _base.CoreLogHandler_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreLogHandler____class_destructor__) else: ___class_destructor__ = _base.CoreLogHandler____class_destructor__ def get_class_info(self): return _base.CoreLogHandler_get_class_info(self) CoreLogHandler_swigregister = _base.CoreLogHandler_swigregister CoreLogHandler_swigregister(CoreLogHandler) def CoreLogHandler_main_handler(): return _base.CoreLogHandler_main_handler() CoreLogHandler_main_handler = _base.CoreLogHandler_main_handler def CoreLogHandler_class_info(): return _base.CoreLogHandler_class_info() CoreLogHandler_class_info = _base.CoreLogHandler_class_info def CoreLogHandler____class_destructor__(instance, is_array): return _base.CoreLogHandler____class_destructor__(instance, is_array) CoreLogHandler____class_destructor__ = _base.CoreLogHandler____class_destructor__ class CoreBitFieldHelper(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBitFieldHelper, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CoreBitFieldHelper, name) __repr__ = _swig_repr MODE_DISABLE = _base.CoreBitFieldHelper_MODE_DISABLE MODE_EXACT_BITS = _base.CoreBitFieldHelper_MODE_EXACT_BITS MODE_ALL_BITS = _base.CoreBitFieldHelper_MODE_ALL_BITS MODE_ONE_BIT = _base.CoreBitFieldHelper_MODE_ONE_BIT MODE_COUNT = _base.CoreBitFieldHelper_MODE_COUNT def __init__(self, *args): this = _base.new_CoreBitFieldHelper(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBitFieldHelper __del__ = lambda self: None def is_disabled(self): return _base.CoreBitFieldHelper_is_disabled(self) def tests_bits(self, bits): return _base.CoreBitFieldHelper_tests_bits(self, bits) def tests_include(self, bits): return _base.CoreBitFieldHelper_tests_include(self, bits) def tests_exclude(self, bits): return _base.CoreBitFieldHelper_tests_exclude(self, bits) CoreBitFieldHelper_swigregister = _base.CoreBitFieldHelper_swigregister CoreBitFieldHelper_swigregister(CoreBitFieldHelper) class CoreBaseTypeBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseTypeBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseTypeBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.CoreBaseTypeBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_CoreBaseTypeBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseTypeBasicArray __del__ = lambda self: None def get_count(self): return _base.CoreBaseTypeBasicArray_get_count(self) def get_item(self, index): return _base.CoreBaseTypeBasicArray_get_item(self, index) def set_item(self, index, item): return _base.CoreBaseTypeBasicArray_set_item(self, index, item) def front(self): return _base.CoreBaseTypeBasicArray_front(self) def back(self): return _base.CoreBaseTypeBasicArray_back(self) def exists(self, item): return _base.CoreBaseTypeBasicArray_exists(self, item) def get_index(self, item): return _base.CoreBaseTypeBasicArray_get_index(self, item) def sub(self, index, count): return _base.CoreBaseTypeBasicArray_sub(self, index, count) def get_memory_size(self): return _base.CoreBaseTypeBasicArray_get_memory_size(self) def begin(self, *args): return _base.CoreBaseTypeBasicArray_begin(self, *args) def end(self, *args): return _base.CoreBaseTypeBasicArray_end(self, *args) def get_class_info(self): return _base.CoreBaseTypeBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseTypeBasicArray_class_info) else: class_info = _base.CoreBaseTypeBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseTypeBasicArray____class_destructor__) else: ___class_destructor__ = _base.CoreBaseTypeBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.CoreBaseTypeBasicArray___setitem__(self, index, value) def __len__(self): return _base.CoreBaseTypeBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True CoreBaseTypeBasicArray_swigregister = _base.CoreBaseTypeBasicArray_swigregister CoreBaseTypeBasicArray_swigregister(CoreBaseTypeBasicArray) def CoreBaseTypeBasicArray_class_info(): return _base.CoreBaseTypeBasicArray_class_info() CoreBaseTypeBasicArray_class_info = _base.CoreBaseTypeBasicArray_class_info def CoreBaseTypeBasicArray____class_destructor__(instance, is_array): return _base.CoreBaseTypeBasicArray____class_destructor__(instance, is_array) CoreBaseTypeBasicArray____class_destructor__ = _base.CoreBaseTypeBasicArray____class_destructor__ class CoreBaseTypeArray(CoreBaseTypeBasicArray): __swig_setmethods__ = {} for _s in [CoreBaseTypeBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseTypeArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseTypeBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseTypeArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreBaseTypeArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseTypeArray __del__ = lambda self: None def append(self, *args): return _base.CoreBaseTypeArray_append(self, *args) def get_count(self): return _base.CoreBaseTypeArray_get_count(self) def remove_all(self): return _base.CoreBaseTypeArray_remove_all(self) def resize(self, *args): return _base.CoreBaseTypeArray_resize(self, *args) def copy_from(self, *args): return _base.CoreBaseTypeArray_copy_from(self, *args) def copy_to(self, dest): return _base.CoreBaseTypeArray_copy_to(self, dest) def get_list(self, list): return _base.CoreBaseTypeArray_get_list(self, list) def set_list(self, list): return _base.CoreBaseTypeArray_set_list(self, list) def get_memory_size(self): return _base.CoreBaseTypeArray_get_memory_size(self) def get_class_info(self): return _base.CoreBaseTypeArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseTypeArray_class_info) else: class_info = _base.CoreBaseTypeArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseTypeArray____class_destructor__) else: ___class_destructor__ = _base.CoreBaseTypeArray____class_destructor__ CoreBaseTypeArray_swigregister = _base.CoreBaseTypeArray_swigregister CoreBaseTypeArray_swigregister(CoreBaseTypeArray) def CoreBaseTypeArray_class_info(): return _base.CoreBaseTypeArray_class_info() CoreBaseTypeArray_class_info = _base.CoreBaseTypeArray_class_info def CoreBaseTypeArray____class_destructor__(instance, is_array): return _base.CoreBaseTypeArray____class_destructor__(instance, is_array) CoreBaseTypeArray____class_destructor__ = _base.CoreBaseTypeArray____class_destructor__ class CoreBaseTypeVector(CoreBaseTypeBasicArray): __swig_setmethods__ = {} for _s in [CoreBaseTypeBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseTypeVector, name, value) __swig_getmethods__ = {} for _s in [CoreBaseTypeBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseTypeVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreBaseTypeVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseTypeVector __del__ = lambda self: None def append(self, *args): return _base.CoreBaseTypeVector_append(self, *args) def add(self, element): return _base.CoreBaseTypeVector_add(self, element) def insert(self, element, index): return _base.CoreBaseTypeVector_insert(self, element, index) def remove_last(self): return _base.CoreBaseTypeVector_remove_last(self) def empty(self): return _base.CoreBaseTypeVector_empty(self) def remove_all(self): return _base.CoreBaseTypeVector_remove_all(self) def clear(self, *args): return _base.CoreBaseTypeVector_clear(self, *args) def remove(self, *args): return _base.CoreBaseTypeVector_remove(self, *args) def is_empty(self): return _base.CoreBaseTypeVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.CoreBaseTypeVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.CoreBaseTypeVector_remove_items(self, item) def get_count(self): return _base.CoreBaseTypeVector_get_count(self) def get_capacity(self): return _base.CoreBaseTypeVector_get_capacity(self) def set_count(self, *args): return _base.CoreBaseTypeVector_set_count(self, *args) def set_capacity(self, *args): return _base.CoreBaseTypeVector_set_capacity(self, *args) def refit(self): return _base.CoreBaseTypeVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.CoreBaseTypeVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.CoreBaseTypeVector_resize(self, *args) def reserve(self, *args): return _base.CoreBaseTypeVector_reserve(self, *args) def copy_from(self, *args): return _base.CoreBaseTypeVector_copy_from(self, *args) def copy_to(self, dest): return _base.CoreBaseTypeVector_copy_to(self, dest) def get_list(self, list): return _base.CoreBaseTypeVector_get_list(self, list) def set_list(self, list): return _base.CoreBaseTypeVector_set_list(self, list) def get_array(self, array): return _base.CoreBaseTypeVector_get_array(self, array) def set_array(self, array): return _base.CoreBaseTypeVector_set_array(self, array) def move(self, arg2, to): return _base.CoreBaseTypeVector_move(self, arg2, to) def item(self, index): return _base.CoreBaseTypeVector_item(self, index) def get_memory_size(self): return _base.CoreBaseTypeVector_get_memory_size(self) def get_class_info(self): return _base.CoreBaseTypeVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseTypeVector_class_info) else: class_info = _base.CoreBaseTypeVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseTypeVector____class_destructor__) else: ___class_destructor__ = _base.CoreBaseTypeVector____class_destructor__ CoreBaseTypeVector_swigregister = _base.CoreBaseTypeVector_swigregister CoreBaseTypeVector_swigregister(CoreBaseTypeVector) def CoreBaseTypeVector_class_info(): return _base.CoreBaseTypeVector_class_info() CoreBaseTypeVector_class_info = _base.CoreBaseTypeVector_class_info def CoreBaseTypeVector____class_destructor__(instance, is_array): return _base.CoreBaseTypeVector____class_destructor__(instance, is_array) CoreBaseTypeVector____class_destructor__ = _base.CoreBaseTypeVector____class_destructor__ class CoreBaseTypeSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseTypeSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseTypeSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreBaseTypeSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.CoreBaseTypeSet_get_count(self) def exists(self, *args): return _base.CoreBaseTypeSet_exists(self, *args) def is_empty(self): return _base.CoreBaseTypeSet_is_empty(self) def is_included(self, set): return _base.CoreBaseTypeSet_is_included(self, set) def get_items(self): return _base.CoreBaseTypeSet_get_items(self) def get_item(self, index): return _base.CoreBaseTypeSet_get_item(self, index) def back(self, *args): return _base.CoreBaseTypeSet_back(self, *args) def get_array(self, array): return _base.CoreBaseTypeSet_get_array(self, array) def get_list(self, list): return _base.CoreBaseTypeSet_get_list(self, list) def get_vector(self, vector): return _base.CoreBaseTypeSet_get_vector(self, vector) def to_array(self): return _base.CoreBaseTypeSet_to_array(self) def add(self, *args): return _base.CoreBaseTypeSet_add(self, *args) def remove(self, index): return _base.CoreBaseTypeSet_remove(self, index) def remove_item(self, item): return _base.CoreBaseTypeSet_remove_item(self, item) def remove_set(self, set): return _base.CoreBaseTypeSet_remove_set(self, set) def remove_all(self): return _base.CoreBaseTypeSet_remove_all(self) def toggle(self, item): return _base.CoreBaseTypeSet_toggle(self, item) def unite(self, set): return _base.CoreBaseTypeSet_unite(self, set) def intersect(self, set): return _base.CoreBaseTypeSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.CoreBaseTypeSet___eq__(self, set) def __ne__(self, set): return _base.CoreBaseTypeSet___ne__(self, set) def begin(self, *args): return _base.CoreBaseTypeSet_begin(self, *args) def end(self, *args): return _base.CoreBaseTypeSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.CoreBaseTypeSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.CoreBaseTypeSet_get_linear_search_threshold def get_memory_size(self): return _base.CoreBaseTypeSet_get_memory_size(self) def __setitem__(self, index, value): return _base.CoreBaseTypeSet___setitem__(self, index, value) def __len__(self): return _base.CoreBaseTypeSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_CoreBaseTypeSet __del__ = lambda self: None CoreBaseTypeSet_swigregister = _base.CoreBaseTypeSet_swigregister CoreBaseTypeSet_swigregister(CoreBaseTypeSet) def CoreBaseTypeSet_get_linear_search_threshold(): return _base.CoreBaseTypeSet_get_linear_search_threshold() CoreBaseTypeSet_get_linear_search_threshold = _base.CoreBaseTypeSet_get_linear_search_threshold class CoreBaseObjectBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseObjectBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseObjectBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.CoreBaseObjectBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_CoreBaseObjectBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseObjectBasicArray __del__ = lambda self: None def get_count(self): return _base.CoreBaseObjectBasicArray_get_count(self) def get_item(self, index): return _base.CoreBaseObjectBasicArray_get_item(self, index) def set_item(self, index, item): return _base.CoreBaseObjectBasicArray_set_item(self, index, item) def front(self): return _base.CoreBaseObjectBasicArray_front(self) def back(self): return _base.CoreBaseObjectBasicArray_back(self) def exists(self, item): return _base.CoreBaseObjectBasicArray_exists(self, item) def get_index(self, item): return _base.CoreBaseObjectBasicArray_get_index(self, item) def sub(self, index, count): return _base.CoreBaseObjectBasicArray_sub(self, index, count) def get_memory_size(self): return _base.CoreBaseObjectBasicArray_get_memory_size(self) def begin(self, *args): return _base.CoreBaseObjectBasicArray_begin(self, *args) def end(self, *args): return _base.CoreBaseObjectBasicArray_end(self, *args) def get_class_info(self): return _base.CoreBaseObjectBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseObjectBasicArray_class_info) else: class_info = _base.CoreBaseObjectBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseObjectBasicArray____class_destructor__) else: ___class_destructor__ = _base.CoreBaseObjectBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.CoreBaseObjectBasicArray___setitem__(self, index, value) def __len__(self): return _base.CoreBaseObjectBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True CoreBaseObjectBasicArray_swigregister = _base.CoreBaseObjectBasicArray_swigregister CoreBaseObjectBasicArray_swigregister(CoreBaseObjectBasicArray) def CoreBaseObjectBasicArray_class_info(): return _base.CoreBaseObjectBasicArray_class_info() CoreBaseObjectBasicArray_class_info = _base.CoreBaseObjectBasicArray_class_info def CoreBaseObjectBasicArray____class_destructor__(instance, is_array): return _base.CoreBaseObjectBasicArray____class_destructor__(instance, is_array) CoreBaseObjectBasicArray____class_destructor__ = _base.CoreBaseObjectBasicArray____class_destructor__ class CoreBaseObjectArray(CoreBaseObjectBasicArray): __swig_setmethods__ = {} for _s in [CoreBaseObjectBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseObjectArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObjectBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseObjectArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreBaseObjectArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseObjectArray __del__ = lambda self: None def append(self, *args): return _base.CoreBaseObjectArray_append(self, *args) def get_count(self): return _base.CoreBaseObjectArray_get_count(self) def remove_all(self): return _base.CoreBaseObjectArray_remove_all(self) def resize(self, *args): return _base.CoreBaseObjectArray_resize(self, *args) def copy_from(self, *args): return _base.CoreBaseObjectArray_copy_from(self, *args) def copy_to(self, dest): return _base.CoreBaseObjectArray_copy_to(self, dest) def get_list(self, list): return _base.CoreBaseObjectArray_get_list(self, list) def set_list(self, list): return _base.CoreBaseObjectArray_set_list(self, list) def get_memory_size(self): return _base.CoreBaseObjectArray_get_memory_size(self) def get_class_info(self): return _base.CoreBaseObjectArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseObjectArray_class_info) else: class_info = _base.CoreBaseObjectArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseObjectArray____class_destructor__) else: ___class_destructor__ = _base.CoreBaseObjectArray____class_destructor__ CoreBaseObjectArray_swigregister = _base.CoreBaseObjectArray_swigregister CoreBaseObjectArray_swigregister(CoreBaseObjectArray) def CoreBaseObjectArray_class_info(): return _base.CoreBaseObjectArray_class_info() CoreBaseObjectArray_class_info = _base.CoreBaseObjectArray_class_info def CoreBaseObjectArray____class_destructor__(instance, is_array): return _base.CoreBaseObjectArray____class_destructor__(instance, is_array) CoreBaseObjectArray____class_destructor__ = _base.CoreBaseObjectArray____class_destructor__ class CoreBaseObjectVector(CoreBaseObjectBasicArray): __swig_setmethods__ = {} for _s in [CoreBaseObjectBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseObjectVector, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObjectBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseObjectVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreBaseObjectVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreBaseObjectVector __del__ = lambda self: None def append(self, *args): return _base.CoreBaseObjectVector_append(self, *args) def add(self, element): return _base.CoreBaseObjectVector_add(self, element) def insert(self, element, index): return _base.CoreBaseObjectVector_insert(self, element, index) def remove_last(self): return _base.CoreBaseObjectVector_remove_last(self) def empty(self): return _base.CoreBaseObjectVector_empty(self) def remove_all(self): return _base.CoreBaseObjectVector_remove_all(self) def clear(self, *args): return _base.CoreBaseObjectVector_clear(self, *args) def remove(self, *args): return _base.CoreBaseObjectVector_remove(self, *args) def is_empty(self): return _base.CoreBaseObjectVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.CoreBaseObjectVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.CoreBaseObjectVector_remove_items(self, item) def get_count(self): return _base.CoreBaseObjectVector_get_count(self) def get_capacity(self): return _base.CoreBaseObjectVector_get_capacity(self) def set_count(self, *args): return _base.CoreBaseObjectVector_set_count(self, *args) def set_capacity(self, *args): return _base.CoreBaseObjectVector_set_capacity(self, *args) def refit(self): return _base.CoreBaseObjectVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.CoreBaseObjectVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.CoreBaseObjectVector_resize(self, *args) def reserve(self, *args): return _base.CoreBaseObjectVector_reserve(self, *args) def copy_from(self, *args): return _base.CoreBaseObjectVector_copy_from(self, *args) def copy_to(self, dest): return _base.CoreBaseObjectVector_copy_to(self, dest) def get_list(self, list): return _base.CoreBaseObjectVector_get_list(self, list) def set_list(self, list): return _base.CoreBaseObjectVector_set_list(self, list) def get_array(self, array): return _base.CoreBaseObjectVector_get_array(self, array) def set_array(self, array): return _base.CoreBaseObjectVector_set_array(self, array) def move(self, arg2, to): return _base.CoreBaseObjectVector_move(self, arg2, to) def item(self, index): return _base.CoreBaseObjectVector_item(self, index) def get_memory_size(self): return _base.CoreBaseObjectVector_get_memory_size(self) def get_class_info(self): return _base.CoreBaseObjectVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreBaseObjectVector_class_info) else: class_info = _base.CoreBaseObjectVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreBaseObjectVector____class_destructor__) else: ___class_destructor__ = _base.CoreBaseObjectVector____class_destructor__ CoreBaseObjectVector_swigregister = _base.CoreBaseObjectVector_swigregister CoreBaseObjectVector_swigregister(CoreBaseObjectVector) def CoreBaseObjectVector_class_info(): return _base.CoreBaseObjectVector_class_info() CoreBaseObjectVector_class_info = _base.CoreBaseObjectVector_class_info def CoreBaseObjectVector____class_destructor__(instance, is_array): return _base.CoreBaseObjectVector____class_destructor__(instance, is_array) CoreBaseObjectVector____class_destructor__ = _base.CoreBaseObjectVector____class_destructor__ class CoreBaseObjectSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreBaseObjectSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreBaseObjectSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreBaseObjectSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.CoreBaseObjectSet_get_count(self) def exists(self, *args): return _base.CoreBaseObjectSet_exists(self, *args) def is_empty(self): return _base.CoreBaseObjectSet_is_empty(self) def is_included(self, set): return _base.CoreBaseObjectSet_is_included(self, set) def get_items(self): return _base.CoreBaseObjectSet_get_items(self) def get_item(self, index): return _base.CoreBaseObjectSet_get_item(self, index) def back(self, *args): return _base.CoreBaseObjectSet_back(self, *args) def get_array(self, array): return _base.CoreBaseObjectSet_get_array(self, array) def get_list(self, list): return _base.CoreBaseObjectSet_get_list(self, list) def get_vector(self, vector): return _base.CoreBaseObjectSet_get_vector(self, vector) def to_array(self): return _base.CoreBaseObjectSet_to_array(self) def add(self, *args): return _base.CoreBaseObjectSet_add(self, *args) def remove(self, index): return _base.CoreBaseObjectSet_remove(self, index) def remove_item(self, item): return _base.CoreBaseObjectSet_remove_item(self, item) def remove_set(self, set): return _base.CoreBaseObjectSet_remove_set(self, set) def remove_all(self): return _base.CoreBaseObjectSet_remove_all(self) def toggle(self, item): return _base.CoreBaseObjectSet_toggle(self, item) def unite(self, set): return _base.CoreBaseObjectSet_unite(self, set) def intersect(self, set): return _base.CoreBaseObjectSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.CoreBaseObjectSet___eq__(self, set) def __ne__(self, set): return _base.CoreBaseObjectSet___ne__(self, set) def begin(self, *args): return _base.CoreBaseObjectSet_begin(self, *args) def end(self, *args): return _base.CoreBaseObjectSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.CoreBaseObjectSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.CoreBaseObjectSet_get_linear_search_threshold def get_memory_size(self): return _base.CoreBaseObjectSet_get_memory_size(self) def __setitem__(self, index, value): return _base.CoreBaseObjectSet___setitem__(self, index, value) def __len__(self): return _base.CoreBaseObjectSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_CoreBaseObjectSet __del__ = lambda self: None CoreBaseObjectSet_swigregister = _base.CoreBaseObjectSet_swigregister CoreBaseObjectSet_swigregister(CoreBaseObjectSet) def CoreBaseObjectSet_get_linear_search_threshold(): return _base.CoreBaseObjectSet_get_linear_search_threshold() CoreBaseObjectSet_get_linear_search_threshold = _base.CoreBaseObjectSet_get_linear_search_threshold class CoreStringBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreStringBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreStringBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.CoreStringBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_CoreStringBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreStringBasicArray __del__ = lambda self: None def get_count(self): return _base.CoreStringBasicArray_get_count(self) def get_item(self, index): return _base.CoreStringBasicArray_get_item(self, index) def set_item(self, index, item): return _base.CoreStringBasicArray_set_item(self, index, item) def front(self): return _base.CoreStringBasicArray_front(self) def back(self): return _base.CoreStringBasicArray_back(self) def exists(self, item): return _base.CoreStringBasicArray_exists(self, item) def get_index(self, item): return _base.CoreStringBasicArray_get_index(self, item) def sub(self, index, count): return _base.CoreStringBasicArray_sub(self, index, count) def get_memory_size(self): return _base.CoreStringBasicArray_get_memory_size(self) def begin(self, *args): return _base.CoreStringBasicArray_begin(self, *args) def end(self, *args): return _base.CoreStringBasicArray_end(self, *args) def get_class_info(self): return _base.CoreStringBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreStringBasicArray_class_info) else: class_info = _base.CoreStringBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreStringBasicArray____class_destructor__) else: ___class_destructor__ = _base.CoreStringBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.CoreStringBasicArray___setitem__(self, index, value) def __len__(self): return _base.CoreStringBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True CoreStringBasicArray_swigregister = _base.CoreStringBasicArray_swigregister CoreStringBasicArray_swigregister(CoreStringBasicArray) def CoreStringBasicArray_class_info(): return _base.CoreStringBasicArray_class_info() CoreStringBasicArray_class_info = _base.CoreStringBasicArray_class_info def CoreStringBasicArray____class_destructor__(instance, is_array): return _base.CoreStringBasicArray____class_destructor__(instance, is_array) CoreStringBasicArray____class_destructor__ = _base.CoreStringBasicArray____class_destructor__ class CoreStringArray(CoreStringBasicArray): __swig_setmethods__ = {} for _s in [CoreStringBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreStringArray, name, value) __swig_getmethods__ = {} for _s in [CoreStringBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreStringArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreStringArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreStringArray __del__ = lambda self: None def append(self, *args): return _base.CoreStringArray_append(self, *args) def get_count(self): return _base.CoreStringArray_get_count(self) def remove_all(self): return _base.CoreStringArray_remove_all(self) def resize(self, *args): return _base.CoreStringArray_resize(self, *args) def copy_from(self, *args): return _base.CoreStringArray_copy_from(self, *args) def copy_to(self, dest): return _base.CoreStringArray_copy_to(self, dest) def get_list(self, list): return _base.CoreStringArray_get_list(self, list) def set_list(self, list): return _base.CoreStringArray_set_list(self, list) def get_memory_size(self): return _base.CoreStringArray_get_memory_size(self) def get_class_info(self): return _base.CoreStringArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreStringArray_class_info) else: class_info = _base.CoreStringArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreStringArray____class_destructor__) else: ___class_destructor__ = _base.CoreStringArray____class_destructor__ CoreStringArray_swigregister = _base.CoreStringArray_swigregister CoreStringArray_swigregister(CoreStringArray) def CoreStringArray_class_info(): return _base.CoreStringArray_class_info() CoreStringArray_class_info = _base.CoreStringArray_class_info def CoreStringArray____class_destructor__(instance, is_array): return _base.CoreStringArray____class_destructor__(instance, is_array) CoreStringArray____class_destructor__ = _base.CoreStringArray____class_destructor__ class CoreStringVector(CoreStringBasicArray): __swig_setmethods__ = {} for _s in [CoreStringBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreStringVector, name, value) __swig_getmethods__ = {} for _s in [CoreStringBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreStringVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreStringVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CoreStringVector __del__ = lambda self: None def append(self, *args): return _base.CoreStringVector_append(self, *args) def add(self, element): return _base.CoreStringVector_add(self, element) def insert(self, element, index): return _base.CoreStringVector_insert(self, element, index) def remove_last(self): return _base.CoreStringVector_remove_last(self) def empty(self): return _base.CoreStringVector_empty(self) def remove_all(self): return _base.CoreStringVector_remove_all(self) def clear(self, *args): return _base.CoreStringVector_clear(self, *args) def remove(self, *args): return _base.CoreStringVector_remove(self, *args) def is_empty(self): return _base.CoreStringVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.CoreStringVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.CoreStringVector_remove_items(self, item) def get_count(self): return _base.CoreStringVector_get_count(self) def get_capacity(self): return _base.CoreStringVector_get_capacity(self) def set_count(self, *args): return _base.CoreStringVector_set_count(self, *args) def set_capacity(self, *args): return _base.CoreStringVector_set_capacity(self, *args) def refit(self): return _base.CoreStringVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.CoreStringVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.CoreStringVector_resize(self, *args) def reserve(self, *args): return _base.CoreStringVector_reserve(self, *args) def copy_from(self, *args): return _base.CoreStringVector_copy_from(self, *args) def copy_to(self, dest): return _base.CoreStringVector_copy_to(self, dest) def get_list(self, list): return _base.CoreStringVector_get_list(self, list) def set_list(self, list): return _base.CoreStringVector_set_list(self, list) def get_array(self, array): return _base.CoreStringVector_get_array(self, array) def set_array(self, array): return _base.CoreStringVector_set_array(self, array) def move(self, arg2, to): return _base.CoreStringVector_move(self, arg2, to) def item(self, index): return _base.CoreStringVector_item(self, index) def get_memory_size(self): return _base.CoreStringVector_get_memory_size(self) def get_class_info(self): return _base.CoreStringVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.CoreStringVector_class_info) else: class_info = _base.CoreStringVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CoreStringVector____class_destructor__) else: ___class_destructor__ = _base.CoreStringVector____class_destructor__ CoreStringVector_swigregister = _base.CoreStringVector_swigregister CoreStringVector_swigregister(CoreStringVector) def CoreStringVector_class_info(): return _base.CoreStringVector_class_info() CoreStringVector_class_info = _base.CoreStringVector_class_info def CoreStringVector____class_destructor__(instance, is_array): return _base.CoreStringVector____class_destructor__(instance, is_array) CoreStringVector____class_destructor__ = _base.CoreStringVector____class_destructor__ class CoreStringSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CoreStringSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CoreStringSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CoreStringSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.CoreStringSet_get_count(self) def exists(self, *args): return _base.CoreStringSet_exists(self, *args) def is_empty(self): return _base.CoreStringSet_is_empty(self) def is_included(self, set): return _base.CoreStringSet_is_included(self, set) def get_items(self): return _base.CoreStringSet_get_items(self) def get_item(self, index): return _base.CoreStringSet_get_item(self, index) def back(self, *args): return _base.CoreStringSet_back(self, *args) def get_array(self, array): return _base.CoreStringSet_get_array(self, array) def get_list(self, list): return _base.CoreStringSet_get_list(self, list) def get_vector(self, vector): return _base.CoreStringSet_get_vector(self, vector) def to_array(self): return _base.CoreStringSet_to_array(self) def add(self, *args): return _base.CoreStringSet_add(self, *args) def remove(self, index): return _base.CoreStringSet_remove(self, index) def remove_item(self, item): return _base.CoreStringSet_remove_item(self, item) def remove_set(self, set): return _base.CoreStringSet_remove_set(self, set) def remove_all(self): return _base.CoreStringSet_remove_all(self) def toggle(self, item): return _base.CoreStringSet_toggle(self, item) def unite(self, set): return _base.CoreStringSet_unite(self, set) def intersect(self, set): return _base.CoreStringSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.CoreStringSet___eq__(self, set) def __ne__(self, set): return _base.CoreStringSet___ne__(self, set) def begin(self, *args): return _base.CoreStringSet_begin(self, *args) def end(self, *args): return _base.CoreStringSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.CoreStringSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.CoreStringSet_get_linear_search_threshold def get_memory_size(self): return _base.CoreStringSet_get_memory_size(self) def __setitem__(self, index, value): return _base.CoreStringSet___setitem__(self, index, value) def __len__(self): return _base.CoreStringSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_CoreStringSet __del__ = lambda self: None CoreStringSet_swigregister = _base.CoreStringSet_swigregister CoreStringSet_swigregister(CoreStringSet) def CoreStringSet_get_linear_search_threshold(): return _base.CoreStringSet_get_linear_search_threshold() CoreStringSet_get_linear_search_threshold = _base.CoreStringSet_get_linear_search_threshold class PyObjectBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PyObjectBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PyObjectBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.PyObjectBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_PyObjectBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_PyObjectBasicArray __del__ = lambda self: None def get_count(self): return _base.PyObjectBasicArray_get_count(self) def get_item(self, index): return _base.PyObjectBasicArray_get_item(self, index) def set_item(self, index, item): return _base.PyObjectBasicArray_set_item(self, index, item) def front(self): return _base.PyObjectBasicArray_front(self) def back(self): return _base.PyObjectBasicArray_back(self) def exists(self, item): return _base.PyObjectBasicArray_exists(self, item) def get_index(self, item): return _base.PyObjectBasicArray_get_index(self, item) def sub(self, index, count): return _base.PyObjectBasicArray_sub(self, index, count) def get_memory_size(self): return _base.PyObjectBasicArray_get_memory_size(self) def begin(self, *args): return _base.PyObjectBasicArray_begin(self, *args) def end(self, *args): return _base.PyObjectBasicArray_end(self, *args) def get_class_info(self): return _base.PyObjectBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.PyObjectBasicArray_class_info) else: class_info = _base.PyObjectBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.PyObjectBasicArray____class_destructor__) else: ___class_destructor__ = _base.PyObjectBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.PyObjectBasicArray___setitem__(self, index, value) def __len__(self): return _base.PyObjectBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True PyObjectBasicArray_swigregister = _base.PyObjectBasicArray_swigregister PyObjectBasicArray_swigregister(PyObjectBasicArray) def PyObjectBasicArray_class_info(): return _base.PyObjectBasicArray_class_info() PyObjectBasicArray_class_info = _base.PyObjectBasicArray_class_info def PyObjectBasicArray____class_destructor__(instance, is_array): return _base.PyObjectBasicArray____class_destructor__(instance, is_array) PyObjectBasicArray____class_destructor__ = _base.PyObjectBasicArray____class_destructor__ class PyObjectArray(PyObjectBasicArray): __swig_setmethods__ = {} for _s in [PyObjectBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PyObjectArray, name, value) __swig_getmethods__ = {} for _s in [PyObjectBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PyObjectArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_PyObjectArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_PyObjectArray __del__ = lambda self: None def append(self, *args): return _base.PyObjectArray_append(self, *args) def get_count(self): return _base.PyObjectArray_get_count(self) def remove_all(self): return _base.PyObjectArray_remove_all(self) def resize(self, *args): return _base.PyObjectArray_resize(self, *args) def copy_from(self, *args): return _base.PyObjectArray_copy_from(self, *args) def copy_to(self, dest): return _base.PyObjectArray_copy_to(self, dest) def get_list(self, list): return _base.PyObjectArray_get_list(self, list) def set_list(self, list): return _base.PyObjectArray_set_list(self, list) def get_memory_size(self): return _base.PyObjectArray_get_memory_size(self) def get_class_info(self): return _base.PyObjectArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.PyObjectArray_class_info) else: class_info = _base.PyObjectArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.PyObjectArray____class_destructor__) else: ___class_destructor__ = _base.PyObjectArray____class_destructor__ PyObjectArray_swigregister = _base.PyObjectArray_swigregister PyObjectArray_swigregister(PyObjectArray) def PyObjectArray_class_info(): return _base.PyObjectArray_class_info() PyObjectArray_class_info = _base.PyObjectArray_class_info def PyObjectArray____class_destructor__(instance, is_array): return _base.PyObjectArray____class_destructor__(instance, is_array) PyObjectArray____class_destructor__ = _base.PyObjectArray____class_destructor__ class PyObjectVector(PyObjectBasicArray): __swig_setmethods__ = {} for _s in [PyObjectBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PyObjectVector, name, value) __swig_getmethods__ = {} for _s in [PyObjectBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PyObjectVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_PyObjectVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_PyObjectVector __del__ = lambda self: None def append(self, *args): return _base.PyObjectVector_append(self, *args) def add(self, element): return _base.PyObjectVector_add(self, element) def insert(self, element, index): return _base.PyObjectVector_insert(self, element, index) def remove_last(self): return _base.PyObjectVector_remove_last(self) def empty(self): return _base.PyObjectVector_empty(self) def remove_all(self): return _base.PyObjectVector_remove_all(self) def clear(self, *args): return _base.PyObjectVector_clear(self, *args) def remove(self, *args): return _base.PyObjectVector_remove(self, *args) def is_empty(self): return _base.PyObjectVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.PyObjectVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.PyObjectVector_remove_items(self, item) def get_count(self): return _base.PyObjectVector_get_count(self) def get_capacity(self): return _base.PyObjectVector_get_capacity(self) def set_count(self, *args): return _base.PyObjectVector_set_count(self, *args) def set_capacity(self, *args): return _base.PyObjectVector_set_capacity(self, *args) def refit(self): return _base.PyObjectVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.PyObjectVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.PyObjectVector_resize(self, *args) def reserve(self, *args): return _base.PyObjectVector_reserve(self, *args) def copy_from(self, *args): return _base.PyObjectVector_copy_from(self, *args) def copy_to(self, dest): return _base.PyObjectVector_copy_to(self, dest) def get_list(self, list): return _base.PyObjectVector_get_list(self, list) def set_list(self, list): return _base.PyObjectVector_set_list(self, list) def get_array(self, array): return _base.PyObjectVector_get_array(self, array) def set_array(self, array): return _base.PyObjectVector_set_array(self, array) def move(self, arg2, to): return _base.PyObjectVector_move(self, arg2, to) def item(self, index): return _base.PyObjectVector_item(self, index) def get_memory_size(self): return _base.PyObjectVector_get_memory_size(self) def get_class_info(self): return _base.PyObjectVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.PyObjectVector_class_info) else: class_info = _base.PyObjectVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.PyObjectVector____class_destructor__) else: ___class_destructor__ = _base.PyObjectVector____class_destructor__ PyObjectVector_swigregister = _base.PyObjectVector_swigregister PyObjectVector_swigregister(PyObjectVector) def PyObjectVector_class_info(): return _base.PyObjectVector_class_info() PyObjectVector_class_info = _base.PyObjectVector_class_info def PyObjectVector____class_destructor__(instance, is_array): return _base.PyObjectVector____class_destructor__(instance, is_array) PyObjectVector____class_destructor__ = _base.PyObjectVector____class_destructor__ class PyObjectSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PyObjectSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PyObjectSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_PyObjectSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.PyObjectSet_get_count(self) def exists(self, *args): return _base.PyObjectSet_exists(self, *args) def is_empty(self): return _base.PyObjectSet_is_empty(self) def is_included(self, set): return _base.PyObjectSet_is_included(self, set) def get_items(self): return _base.PyObjectSet_get_items(self) def get_item(self, index): return _base.PyObjectSet_get_item(self, index) def back(self, *args): return _base.PyObjectSet_back(self, *args) def get_array(self, array): return _base.PyObjectSet_get_array(self, array) def get_list(self, list): return _base.PyObjectSet_get_list(self, list) def get_vector(self, vector): return _base.PyObjectSet_get_vector(self, vector) def to_array(self): return _base.PyObjectSet_to_array(self) def add(self, *args): return _base.PyObjectSet_add(self, *args) def remove(self, index): return _base.PyObjectSet_remove(self, index) def remove_item(self, item): return _base.PyObjectSet_remove_item(self, item) def remove_set(self, set): return _base.PyObjectSet_remove_set(self, set) def remove_all(self): return _base.PyObjectSet_remove_all(self) def toggle(self, item): return _base.PyObjectSet_toggle(self, item) def unite(self, set): return _base.PyObjectSet_unite(self, set) def intersect(self, set): return _base.PyObjectSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.PyObjectSet___eq__(self, set) def __ne__(self, set): return _base.PyObjectSet___ne__(self, set) def begin(self, *args): return _base.PyObjectSet_begin(self, *args) def end(self, *args): return _base.PyObjectSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.PyObjectSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.PyObjectSet_get_linear_search_threshold def get_memory_size(self): return _base.PyObjectSet_get_memory_size(self) def __setitem__(self, index, value): return _base.PyObjectSet___setitem__(self, index, value) def __len__(self): return _base.PyObjectSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_PyObjectSet __del__ = lambda self: None PyObjectSet_swigregister = _base.PyObjectSet_swigregister PyObjectSet_swigregister(PyObjectSet) def PyObjectSet_get_linear_search_threshold(): return _base.PyObjectSet_get_linear_search_threshold() PyObjectSet_get_linear_search_threshold = _base.PyObjectSet_get_linear_search_threshold class BoolBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, BoolBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, BoolBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.BoolBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_BoolBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_BoolBasicArray __del__ = lambda self: None def get_count(self): return _base.BoolBasicArray_get_count(self) def get_item(self, index): return _base.BoolBasicArray_get_item(self, index) def set_item(self, index, item): return _base.BoolBasicArray_set_item(self, index, item) def front(self): return _base.BoolBasicArray_front(self) def back(self): return _base.BoolBasicArray_back(self) def exists(self, item): return _base.BoolBasicArray_exists(self, item) def get_index(self, item): return _base.BoolBasicArray_get_index(self, item) def sub(self, index, count): return _base.BoolBasicArray_sub(self, index, count) def get_memory_size(self): return _base.BoolBasicArray_get_memory_size(self) def begin(self, *args): return _base.BoolBasicArray_begin(self, *args) def end(self, *args): return _base.BoolBasicArray_end(self, *args) def get_class_info(self): return _base.BoolBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.BoolBasicArray_class_info) else: class_info = _base.BoolBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.BoolBasicArray____class_destructor__) else: ___class_destructor__ = _base.BoolBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.BoolBasicArray___setitem__(self, index, value) def __len__(self): return _base.BoolBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True BoolBasicArray_swigregister = _base.BoolBasicArray_swigregister BoolBasicArray_swigregister(BoolBasicArray) def BoolBasicArray_class_info(): return _base.BoolBasicArray_class_info() BoolBasicArray_class_info = _base.BoolBasicArray_class_info def BoolBasicArray____class_destructor__(instance, is_array): return _base.BoolBasicArray____class_destructor__(instance, is_array) BoolBasicArray____class_destructor__ = _base.BoolBasicArray____class_destructor__ class BoolArray(BoolBasicArray): __swig_setmethods__ = {} for _s in [BoolBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, BoolArray, name, value) __swig_getmethods__ = {} for _s in [BoolBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, BoolArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_BoolArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_BoolArray __del__ = lambda self: None def append(self, *args): return _base.BoolArray_append(self, *args) def get_count(self): return _base.BoolArray_get_count(self) def remove_all(self): return _base.BoolArray_remove_all(self) def resize(self, *args): return _base.BoolArray_resize(self, *args) def copy_from(self, *args): return _base.BoolArray_copy_from(self, *args) def copy_to(self, dest): return _base.BoolArray_copy_to(self, dest) def get_list(self, list): return _base.BoolArray_get_list(self, list) def set_list(self, list): return _base.BoolArray_set_list(self, list) def get_memory_size(self): return _base.BoolArray_get_memory_size(self) def get_class_info(self): return _base.BoolArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.BoolArray_class_info) else: class_info = _base.BoolArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.BoolArray____class_destructor__) else: ___class_destructor__ = _base.BoolArray____class_destructor__ BoolArray_swigregister = _base.BoolArray_swigregister BoolArray_swigregister(BoolArray) def BoolArray_class_info(): return _base.BoolArray_class_info() BoolArray_class_info = _base.BoolArray_class_info def BoolArray____class_destructor__(instance, is_array): return _base.BoolArray____class_destructor__(instance, is_array) BoolArray____class_destructor__ = _base.BoolArray____class_destructor__ class BoolVector(BoolBasicArray): __swig_setmethods__ = {} for _s in [BoolBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, BoolVector, name, value) __swig_getmethods__ = {} for _s in [BoolBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, BoolVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_BoolVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_BoolVector __del__ = lambda self: None def append(self, *args): return _base.BoolVector_append(self, *args) def add(self, element): return _base.BoolVector_add(self, element) def insert(self, element, index): return _base.BoolVector_insert(self, element, index) def remove_last(self): return _base.BoolVector_remove_last(self) def empty(self): return _base.BoolVector_empty(self) def remove_all(self): return _base.BoolVector_remove_all(self) def clear(self, *args): return _base.BoolVector_clear(self, *args) def remove(self, *args): return _base.BoolVector_remove(self, *args) def is_empty(self): return _base.BoolVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.BoolVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.BoolVector_remove_items(self, item) def get_count(self): return _base.BoolVector_get_count(self) def get_capacity(self): return _base.BoolVector_get_capacity(self) def set_count(self, *args): return _base.BoolVector_set_count(self, *args) def set_capacity(self, *args): return _base.BoolVector_set_capacity(self, *args) def refit(self): return _base.BoolVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.BoolVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.BoolVector_resize(self, *args) def reserve(self, *args): return _base.BoolVector_reserve(self, *args) def copy_from(self, *args): return _base.BoolVector_copy_from(self, *args) def copy_to(self, dest): return _base.BoolVector_copy_to(self, dest) def get_list(self, list): return _base.BoolVector_get_list(self, list) def set_list(self, list): return _base.BoolVector_set_list(self, list) def get_array(self, array): return _base.BoolVector_get_array(self, array) def set_array(self, array): return _base.BoolVector_set_array(self, array) def move(self, arg2, to): return _base.BoolVector_move(self, arg2, to) def item(self, index): return _base.BoolVector_item(self, index) def get_memory_size(self): return _base.BoolVector_get_memory_size(self) def get_class_info(self): return _base.BoolVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.BoolVector_class_info) else: class_info = _base.BoolVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.BoolVector____class_destructor__) else: ___class_destructor__ = _base.BoolVector____class_destructor__ BoolVector_swigregister = _base.BoolVector_swigregister BoolVector_swigregister(BoolVector) def BoolVector_class_info(): return _base.BoolVector_class_info() BoolVector_class_info = _base.BoolVector_class_info def BoolVector____class_destructor__(instance, is_array): return _base.BoolVector____class_destructor__(instance, is_array) BoolVector____class_destructor__ = _base.BoolVector____class_destructor__ class CharBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CharBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CharBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.CharBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_CharBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CharBasicArray __del__ = lambda self: None def get_count(self): return _base.CharBasicArray_get_count(self) def get_item(self, index): return _base.CharBasicArray_get_item(self, index) def set_item(self, index, item): return _base.CharBasicArray_set_item(self, index, item) def front(self): return _base.CharBasicArray_front(self) def back(self): return _base.CharBasicArray_back(self) def exists(self, item): return _base.CharBasicArray_exists(self, item) def get_index(self, item): return _base.CharBasicArray_get_index(self, item) def sub(self, index, count): return _base.CharBasicArray_sub(self, index, count) def get_memory_size(self): return _base.CharBasicArray_get_memory_size(self) def begin(self, *args): return _base.CharBasicArray_begin(self, *args) def end(self, *args): return _base.CharBasicArray_end(self, *args) def get_class_info(self): return _base.CharBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CharBasicArray_class_info) else: class_info = _base.CharBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CharBasicArray____class_destructor__) else: ___class_destructor__ = _base.CharBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.CharBasicArray___setitem__(self, index, value) def __len__(self): return _base.CharBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True CharBasicArray_swigregister = _base.CharBasicArray_swigregister CharBasicArray_swigregister(CharBasicArray) def CharBasicArray_class_info(): return _base.CharBasicArray_class_info() CharBasicArray_class_info = _base.CharBasicArray_class_info def CharBasicArray____class_destructor__(instance, is_array): return _base.CharBasicArray____class_destructor__(instance, is_array) CharBasicArray____class_destructor__ = _base.CharBasicArray____class_destructor__ class CharArray(CharBasicArray): __swig_setmethods__ = {} for _s in [CharBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CharArray, name, value) __swig_getmethods__ = {} for _s in [CharBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CharArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CharArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CharArray __del__ = lambda self: None def append(self, *args): return _base.CharArray_append(self, *args) def get_count(self): return _base.CharArray_get_count(self) def remove_all(self): return _base.CharArray_remove_all(self) def resize(self, *args): return _base.CharArray_resize(self, *args) def copy_from(self, *args): return _base.CharArray_copy_from(self, *args) def copy_to(self, dest): return _base.CharArray_copy_to(self, dest) def get_list(self, list): return _base.CharArray_get_list(self, list) def set_list(self, list): return _base.CharArray_set_list(self, list) def get_memory_size(self): return _base.CharArray_get_memory_size(self) def get_class_info(self): return _base.CharArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.CharArray_class_info) else: class_info = _base.CharArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CharArray____class_destructor__) else: ___class_destructor__ = _base.CharArray____class_destructor__ CharArray_swigregister = _base.CharArray_swigregister CharArray_swigregister(CharArray) def CharArray_class_info(): return _base.CharArray_class_info() CharArray_class_info = _base.CharArray_class_info def CharArray____class_destructor__(instance, is_array): return _base.CharArray____class_destructor__(instance, is_array) CharArray____class_destructor__ = _base.CharArray____class_destructor__ class CharVector(CharBasicArray): __swig_setmethods__ = {} for _s in [CharBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CharVector, name, value) __swig_getmethods__ = {} for _s in [CharBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CharVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CharVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_CharVector __del__ = lambda self: None def append(self, *args): return _base.CharVector_append(self, *args) def add(self, element): return _base.CharVector_add(self, element) def insert(self, element, index): return _base.CharVector_insert(self, element, index) def remove_last(self): return _base.CharVector_remove_last(self) def empty(self): return _base.CharVector_empty(self) def remove_all(self): return _base.CharVector_remove_all(self) def clear(self, *args): return _base.CharVector_clear(self, *args) def remove(self, *args): return _base.CharVector_remove(self, *args) def is_empty(self): return _base.CharVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.CharVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.CharVector_remove_items(self, item) def get_count(self): return _base.CharVector_get_count(self) def get_capacity(self): return _base.CharVector_get_capacity(self) def set_count(self, *args): return _base.CharVector_set_count(self, *args) def set_capacity(self, *args): return _base.CharVector_set_capacity(self, *args) def refit(self): return _base.CharVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.CharVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.CharVector_resize(self, *args) def reserve(self, *args): return _base.CharVector_reserve(self, *args) def copy_from(self, *args): return _base.CharVector_copy_from(self, *args) def copy_to(self, dest): return _base.CharVector_copy_to(self, dest) def get_list(self, list): return _base.CharVector_get_list(self, list) def set_list(self, list): return _base.CharVector_set_list(self, list) def get_array(self, array): return _base.CharVector_get_array(self, array) def set_array(self, array): return _base.CharVector_set_array(self, array) def move(self, arg2, to): return _base.CharVector_move(self, arg2, to) def item(self, index): return _base.CharVector_item(self, index) def get_memory_size(self): return _base.CharVector_get_memory_size(self) def get_class_info(self): return _base.CharVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.CharVector_class_info) else: class_info = _base.CharVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.CharVector____class_destructor__) else: ___class_destructor__ = _base.CharVector____class_destructor__ CharVector_swigregister = _base.CharVector_swigregister CharVector_swigregister(CharVector) def CharVector_class_info(): return _base.CharVector_class_info() CharVector_class_info = _base.CharVector_class_info def CharVector____class_destructor__(instance, is_array): return _base.CharVector____class_destructor__(instance, is_array) CharVector____class_destructor__ = _base.CharVector____class_destructor__ class CharSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CharSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CharSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_CharSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.CharSet_get_count(self) def exists(self, *args): return _base.CharSet_exists(self, *args) def is_empty(self): return _base.CharSet_is_empty(self) def is_included(self, set): return _base.CharSet_is_included(self, set) def get_items(self): return _base.CharSet_get_items(self) def get_item(self, index): return _base.CharSet_get_item(self, index) def back(self, *args): return _base.CharSet_back(self, *args) def get_array(self, array): return _base.CharSet_get_array(self, array) def get_list(self, list): return _base.CharSet_get_list(self, list) def get_vector(self, vector): return _base.CharSet_get_vector(self, vector) def to_array(self): return _base.CharSet_to_array(self) def add(self, *args): return _base.CharSet_add(self, *args) def remove(self, index): return _base.CharSet_remove(self, index) def remove_item(self, item): return _base.CharSet_remove_item(self, item) def remove_set(self, set): return _base.CharSet_remove_set(self, set) def remove_all(self): return _base.CharSet_remove_all(self) def toggle(self, item): return _base.CharSet_toggle(self, item) def unite(self, set): return _base.CharSet_unite(self, set) def intersect(self, set): return _base.CharSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.CharSet___eq__(self, set) def __ne__(self, set): return _base.CharSet___ne__(self, set) def begin(self, *args): return _base.CharSet_begin(self, *args) def end(self, *args): return _base.CharSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.CharSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.CharSet_get_linear_search_threshold def get_memory_size(self): return _base.CharSet_get_memory_size(self) def __setitem__(self, index, value): return _base.CharSet___setitem__(self, index, value) def __len__(self): return _base.CharSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_CharSet __del__ = lambda self: None CharSet_swigregister = _base.CharSet_swigregister CharSet_swigregister(CharSet) def CharSet_get_linear_search_threshold(): return _base.CharSet_get_linear_search_threshold() CharSet_get_linear_search_threshold = _base.CharSet_get_linear_search_threshold class UCharBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UCharBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UCharBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.UCharBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_UCharBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UCharBasicArray __del__ = lambda self: None def get_count(self): return _base.UCharBasicArray_get_count(self) def get_item(self, index): return _base.UCharBasicArray_get_item(self, index) def set_item(self, index, item): return _base.UCharBasicArray_set_item(self, index, item) def front(self): return _base.UCharBasicArray_front(self) def back(self): return _base.UCharBasicArray_back(self) def exists(self, item): return _base.UCharBasicArray_exists(self, item) def get_index(self, item): return _base.UCharBasicArray_get_index(self, item) def sub(self, index, count): return _base.UCharBasicArray_sub(self, index, count) def get_memory_size(self): return _base.UCharBasicArray_get_memory_size(self) def begin(self, *args): return _base.UCharBasicArray_begin(self, *args) def end(self, *args): return _base.UCharBasicArray_end(self, *args) def get_class_info(self): return _base.UCharBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.UCharBasicArray_class_info) else: class_info = _base.UCharBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UCharBasicArray____class_destructor__) else: ___class_destructor__ = _base.UCharBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.UCharBasicArray___setitem__(self, index, value) def __len__(self): return _base.UCharBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True UCharBasicArray_swigregister = _base.UCharBasicArray_swigregister UCharBasicArray_swigregister(UCharBasicArray) def UCharBasicArray_class_info(): return _base.UCharBasicArray_class_info() UCharBasicArray_class_info = _base.UCharBasicArray_class_info def UCharBasicArray____class_destructor__(instance, is_array): return _base.UCharBasicArray____class_destructor__(instance, is_array) UCharBasicArray____class_destructor__ = _base.UCharBasicArray____class_destructor__ class UCharArray(UCharBasicArray): __swig_setmethods__ = {} for _s in [UCharBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UCharArray, name, value) __swig_getmethods__ = {} for _s in [UCharBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UCharArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UCharArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UCharArray __del__ = lambda self: None def append(self, *args): return _base.UCharArray_append(self, *args) def get_count(self): return _base.UCharArray_get_count(self) def remove_all(self): return _base.UCharArray_remove_all(self) def resize(self, *args): return _base.UCharArray_resize(self, *args) def copy_from(self, *args): return _base.UCharArray_copy_from(self, *args) def copy_to(self, dest): return _base.UCharArray_copy_to(self, dest) def get_list(self, list): return _base.UCharArray_get_list(self, list) def set_list(self, list): return _base.UCharArray_set_list(self, list) def get_memory_size(self): return _base.UCharArray_get_memory_size(self) def get_class_info(self): return _base.UCharArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.UCharArray_class_info) else: class_info = _base.UCharArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UCharArray____class_destructor__) else: ___class_destructor__ = _base.UCharArray____class_destructor__ UCharArray_swigregister = _base.UCharArray_swigregister UCharArray_swigregister(UCharArray) def UCharArray_class_info(): return _base.UCharArray_class_info() UCharArray_class_info = _base.UCharArray_class_info def UCharArray____class_destructor__(instance, is_array): return _base.UCharArray____class_destructor__(instance, is_array) UCharArray____class_destructor__ = _base.UCharArray____class_destructor__ class UCharVector(UCharBasicArray): __swig_setmethods__ = {} for _s in [UCharBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UCharVector, name, value) __swig_getmethods__ = {} for _s in [UCharBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UCharVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UCharVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UCharVector __del__ = lambda self: None def append(self, *args): return _base.UCharVector_append(self, *args) def add(self, element): return _base.UCharVector_add(self, element) def insert(self, element, index): return _base.UCharVector_insert(self, element, index) def remove_last(self): return _base.UCharVector_remove_last(self) def empty(self): return _base.UCharVector_empty(self) def remove_all(self): return _base.UCharVector_remove_all(self) def clear(self, *args): return _base.UCharVector_clear(self, *args) def remove(self, *args): return _base.UCharVector_remove(self, *args) def is_empty(self): return _base.UCharVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.UCharVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.UCharVector_remove_items(self, item) def get_count(self): return _base.UCharVector_get_count(self) def get_capacity(self): return _base.UCharVector_get_capacity(self) def set_count(self, *args): return _base.UCharVector_set_count(self, *args) def set_capacity(self, *args): return _base.UCharVector_set_capacity(self, *args) def refit(self): return _base.UCharVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.UCharVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.UCharVector_resize(self, *args) def reserve(self, *args): return _base.UCharVector_reserve(self, *args) def copy_from(self, *args): return _base.UCharVector_copy_from(self, *args) def copy_to(self, dest): return _base.UCharVector_copy_to(self, dest) def get_list(self, list): return _base.UCharVector_get_list(self, list) def set_list(self, list): return _base.UCharVector_set_list(self, list) def get_array(self, array): return _base.UCharVector_get_array(self, array) def set_array(self, array): return _base.UCharVector_set_array(self, array) def move(self, arg2, to): return _base.UCharVector_move(self, arg2, to) def item(self, index): return _base.UCharVector_item(self, index) def get_memory_size(self): return _base.UCharVector_get_memory_size(self) def get_class_info(self): return _base.UCharVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.UCharVector_class_info) else: class_info = _base.UCharVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UCharVector____class_destructor__) else: ___class_destructor__ = _base.UCharVector____class_destructor__ UCharVector_swigregister = _base.UCharVector_swigregister UCharVector_swigregister(UCharVector) def UCharVector_class_info(): return _base.UCharVector_class_info() UCharVector_class_info = _base.UCharVector_class_info def UCharVector____class_destructor__(instance, is_array): return _base.UCharVector____class_destructor__(instance, is_array) UCharVector____class_destructor__ = _base.UCharVector____class_destructor__ class UCharSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UCharSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UCharSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UCharSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.UCharSet_get_count(self) def exists(self, *args): return _base.UCharSet_exists(self, *args) def is_empty(self): return _base.UCharSet_is_empty(self) def is_included(self, set): return _base.UCharSet_is_included(self, set) def get_items(self): return _base.UCharSet_get_items(self) def get_item(self, index): return _base.UCharSet_get_item(self, index) def back(self, *args): return _base.UCharSet_back(self, *args) def get_array(self, array): return _base.UCharSet_get_array(self, array) def get_list(self, list): return _base.UCharSet_get_list(self, list) def get_vector(self, vector): return _base.UCharSet_get_vector(self, vector) def to_array(self): return _base.UCharSet_to_array(self) def add(self, *args): return _base.UCharSet_add(self, *args) def remove(self, index): return _base.UCharSet_remove(self, index) def remove_item(self, item): return _base.UCharSet_remove_item(self, item) def remove_set(self, set): return _base.UCharSet_remove_set(self, set) def remove_all(self): return _base.UCharSet_remove_all(self) def toggle(self, item): return _base.UCharSet_toggle(self, item) def unite(self, set): return _base.UCharSet_unite(self, set) def intersect(self, set): return _base.UCharSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.UCharSet___eq__(self, set) def __ne__(self, set): return _base.UCharSet___ne__(self, set) def begin(self, *args): return _base.UCharSet_begin(self, *args) def end(self, *args): return _base.UCharSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.UCharSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.UCharSet_get_linear_search_threshold def get_memory_size(self): return _base.UCharSet_get_memory_size(self) def __setitem__(self, index, value): return _base.UCharSet___setitem__(self, index, value) def __len__(self): return _base.UCharSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_UCharSet __del__ = lambda self: None UCharSet_swigregister = _base.UCharSet_swigregister UCharSet_swigregister(UCharSet) def UCharSet_get_linear_search_threshold(): return _base.UCharSet_get_linear_search_threshold() UCharSet_get_linear_search_threshold = _base.UCharSet_get_linear_search_threshold class ShortBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ShortBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ShortBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.ShortBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_ShortBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ShortBasicArray __del__ = lambda self: None def get_count(self): return _base.ShortBasicArray_get_count(self) def get_item(self, index): return _base.ShortBasicArray_get_item(self, index) def set_item(self, index, item): return _base.ShortBasicArray_set_item(self, index, item) def front(self): return _base.ShortBasicArray_front(self) def back(self): return _base.ShortBasicArray_back(self) def exists(self, item): return _base.ShortBasicArray_exists(self, item) def get_index(self, item): return _base.ShortBasicArray_get_index(self, item) def sub(self, index, count): return _base.ShortBasicArray_sub(self, index, count) def get_memory_size(self): return _base.ShortBasicArray_get_memory_size(self) def begin(self, *args): return _base.ShortBasicArray_begin(self, *args) def end(self, *args): return _base.ShortBasicArray_end(self, *args) def get_class_info(self): return _base.ShortBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.ShortBasicArray_class_info) else: class_info = _base.ShortBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ShortBasicArray____class_destructor__) else: ___class_destructor__ = _base.ShortBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.ShortBasicArray___setitem__(self, index, value) def __len__(self): return _base.ShortBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True ShortBasicArray_swigregister = _base.ShortBasicArray_swigregister ShortBasicArray_swigregister(ShortBasicArray) def ShortBasicArray_class_info(): return _base.ShortBasicArray_class_info() ShortBasicArray_class_info = _base.ShortBasicArray_class_info def ShortBasicArray____class_destructor__(instance, is_array): return _base.ShortBasicArray____class_destructor__(instance, is_array) ShortBasicArray____class_destructor__ = _base.ShortBasicArray____class_destructor__ class ShortArray(ShortBasicArray): __swig_setmethods__ = {} for _s in [ShortBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ShortArray, name, value) __swig_getmethods__ = {} for _s in [ShortBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ShortArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ShortArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ShortArray __del__ = lambda self: None def append(self, *args): return _base.ShortArray_append(self, *args) def get_count(self): return _base.ShortArray_get_count(self) def remove_all(self): return _base.ShortArray_remove_all(self) def resize(self, *args): return _base.ShortArray_resize(self, *args) def copy_from(self, *args): return _base.ShortArray_copy_from(self, *args) def copy_to(self, dest): return _base.ShortArray_copy_to(self, dest) def get_list(self, list): return _base.ShortArray_get_list(self, list) def set_list(self, list): return _base.ShortArray_set_list(self, list) def get_memory_size(self): return _base.ShortArray_get_memory_size(self) def get_class_info(self): return _base.ShortArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.ShortArray_class_info) else: class_info = _base.ShortArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ShortArray____class_destructor__) else: ___class_destructor__ = _base.ShortArray____class_destructor__ ShortArray_swigregister = _base.ShortArray_swigregister ShortArray_swigregister(ShortArray) def ShortArray_class_info(): return _base.ShortArray_class_info() ShortArray_class_info = _base.ShortArray_class_info def ShortArray____class_destructor__(instance, is_array): return _base.ShortArray____class_destructor__(instance, is_array) ShortArray____class_destructor__ = _base.ShortArray____class_destructor__ class ShortVector(ShortBasicArray): __swig_setmethods__ = {} for _s in [ShortBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ShortVector, name, value) __swig_getmethods__ = {} for _s in [ShortBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ShortVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ShortVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ShortVector __del__ = lambda self: None def append(self, *args): return _base.ShortVector_append(self, *args) def add(self, element): return _base.ShortVector_add(self, element) def insert(self, element, index): return _base.ShortVector_insert(self, element, index) def remove_last(self): return _base.ShortVector_remove_last(self) def empty(self): return _base.ShortVector_empty(self) def remove_all(self): return _base.ShortVector_remove_all(self) def clear(self, *args): return _base.ShortVector_clear(self, *args) def remove(self, *args): return _base.ShortVector_remove(self, *args) def is_empty(self): return _base.ShortVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.ShortVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.ShortVector_remove_items(self, item) def get_count(self): return _base.ShortVector_get_count(self) def get_capacity(self): return _base.ShortVector_get_capacity(self) def set_count(self, *args): return _base.ShortVector_set_count(self, *args) def set_capacity(self, *args): return _base.ShortVector_set_capacity(self, *args) def refit(self): return _base.ShortVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.ShortVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.ShortVector_resize(self, *args) def reserve(self, *args): return _base.ShortVector_reserve(self, *args) def copy_from(self, *args): return _base.ShortVector_copy_from(self, *args) def copy_to(self, dest): return _base.ShortVector_copy_to(self, dest) def get_list(self, list): return _base.ShortVector_get_list(self, list) def set_list(self, list): return _base.ShortVector_set_list(self, list) def get_array(self, array): return _base.ShortVector_get_array(self, array) def set_array(self, array): return _base.ShortVector_set_array(self, array) def move(self, arg2, to): return _base.ShortVector_move(self, arg2, to) def item(self, index): return _base.ShortVector_item(self, index) def get_memory_size(self): return _base.ShortVector_get_memory_size(self) def get_class_info(self): return _base.ShortVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.ShortVector_class_info) else: class_info = _base.ShortVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ShortVector____class_destructor__) else: ___class_destructor__ = _base.ShortVector____class_destructor__ ShortVector_swigregister = _base.ShortVector_swigregister ShortVector_swigregister(ShortVector) def ShortVector_class_info(): return _base.ShortVector_class_info() ShortVector_class_info = _base.ShortVector_class_info def ShortVector____class_destructor__(instance, is_array): return _base.ShortVector____class_destructor__(instance, is_array) ShortVector____class_destructor__ = _base.ShortVector____class_destructor__ class ShortSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ShortSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ShortSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ShortSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.ShortSet_get_count(self) def exists(self, *args): return _base.ShortSet_exists(self, *args) def is_empty(self): return _base.ShortSet_is_empty(self) def is_included(self, set): return _base.ShortSet_is_included(self, set) def get_items(self): return _base.ShortSet_get_items(self) def get_item(self, index): return _base.ShortSet_get_item(self, index) def back(self, *args): return _base.ShortSet_back(self, *args) def get_array(self, array): return _base.ShortSet_get_array(self, array) def get_list(self, list): return _base.ShortSet_get_list(self, list) def get_vector(self, vector): return _base.ShortSet_get_vector(self, vector) def to_array(self): return _base.ShortSet_to_array(self) def add(self, *args): return _base.ShortSet_add(self, *args) def remove(self, index): return _base.ShortSet_remove(self, index) def remove_item(self, item): return _base.ShortSet_remove_item(self, item) def remove_set(self, set): return _base.ShortSet_remove_set(self, set) def remove_all(self): return _base.ShortSet_remove_all(self) def toggle(self, item): return _base.ShortSet_toggle(self, item) def unite(self, set): return _base.ShortSet_unite(self, set) def intersect(self, set): return _base.ShortSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.ShortSet___eq__(self, set) def __ne__(self, set): return _base.ShortSet___ne__(self, set) def begin(self, *args): return _base.ShortSet_begin(self, *args) def end(self, *args): return _base.ShortSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.ShortSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.ShortSet_get_linear_search_threshold def get_memory_size(self): return _base.ShortSet_get_memory_size(self) def __setitem__(self, index, value): return _base.ShortSet___setitem__(self, index, value) def __len__(self): return _base.ShortSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_ShortSet __del__ = lambda self: None ShortSet_swigregister = _base.ShortSet_swigregister ShortSet_swigregister(ShortSet) def ShortSet_get_linear_search_threshold(): return _base.ShortSet_get_linear_search_threshold() ShortSet_get_linear_search_threshold = _base.ShortSet_get_linear_search_threshold class UShortBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UShortBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UShortBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.UShortBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_UShortBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UShortBasicArray __del__ = lambda self: None def get_count(self): return _base.UShortBasicArray_get_count(self) def get_item(self, index): return _base.UShortBasicArray_get_item(self, index) def set_item(self, index, item): return _base.UShortBasicArray_set_item(self, index, item) def front(self): return _base.UShortBasicArray_front(self) def back(self): return _base.UShortBasicArray_back(self) def exists(self, item): return _base.UShortBasicArray_exists(self, item) def get_index(self, item): return _base.UShortBasicArray_get_index(self, item) def sub(self, index, count): return _base.UShortBasicArray_sub(self, index, count) def get_memory_size(self): return _base.UShortBasicArray_get_memory_size(self) def begin(self, *args): return _base.UShortBasicArray_begin(self, *args) def end(self, *args): return _base.UShortBasicArray_end(self, *args) def get_class_info(self): return _base.UShortBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.UShortBasicArray_class_info) else: class_info = _base.UShortBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UShortBasicArray____class_destructor__) else: ___class_destructor__ = _base.UShortBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.UShortBasicArray___setitem__(self, index, value) def __len__(self): return _base.UShortBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True UShortBasicArray_swigregister = _base.UShortBasicArray_swigregister UShortBasicArray_swigregister(UShortBasicArray) def UShortBasicArray_class_info(): return _base.UShortBasicArray_class_info() UShortBasicArray_class_info = _base.UShortBasicArray_class_info def UShortBasicArray____class_destructor__(instance, is_array): return _base.UShortBasicArray____class_destructor__(instance, is_array) UShortBasicArray____class_destructor__ = _base.UShortBasicArray____class_destructor__ class UShortArray(UShortBasicArray): __swig_setmethods__ = {} for _s in [UShortBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UShortArray, name, value) __swig_getmethods__ = {} for _s in [UShortBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UShortArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UShortArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UShortArray __del__ = lambda self: None def append(self, *args): return _base.UShortArray_append(self, *args) def get_count(self): return _base.UShortArray_get_count(self) def remove_all(self): return _base.UShortArray_remove_all(self) def resize(self, *args): return _base.UShortArray_resize(self, *args) def copy_from(self, *args): return _base.UShortArray_copy_from(self, *args) def copy_to(self, dest): return _base.UShortArray_copy_to(self, dest) def get_list(self, list): return _base.UShortArray_get_list(self, list) def set_list(self, list): return _base.UShortArray_set_list(self, list) def get_memory_size(self): return _base.UShortArray_get_memory_size(self) def get_class_info(self): return _base.UShortArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.UShortArray_class_info) else: class_info = _base.UShortArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UShortArray____class_destructor__) else: ___class_destructor__ = _base.UShortArray____class_destructor__ UShortArray_swigregister = _base.UShortArray_swigregister UShortArray_swigregister(UShortArray) def UShortArray_class_info(): return _base.UShortArray_class_info() UShortArray_class_info = _base.UShortArray_class_info def UShortArray____class_destructor__(instance, is_array): return _base.UShortArray____class_destructor__(instance, is_array) UShortArray____class_destructor__ = _base.UShortArray____class_destructor__ class UShortVector(UShortBasicArray): __swig_setmethods__ = {} for _s in [UShortBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UShortVector, name, value) __swig_getmethods__ = {} for _s in [UShortBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UShortVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UShortVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UShortVector __del__ = lambda self: None def append(self, *args): return _base.UShortVector_append(self, *args) def add(self, element): return _base.UShortVector_add(self, element) def insert(self, element, index): return _base.UShortVector_insert(self, element, index) def remove_last(self): return _base.UShortVector_remove_last(self) def empty(self): return _base.UShortVector_empty(self) def remove_all(self): return _base.UShortVector_remove_all(self) def clear(self, *args): return _base.UShortVector_clear(self, *args) def remove(self, *args): return _base.UShortVector_remove(self, *args) def is_empty(self): return _base.UShortVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.UShortVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.UShortVector_remove_items(self, item) def get_count(self): return _base.UShortVector_get_count(self) def get_capacity(self): return _base.UShortVector_get_capacity(self) def set_count(self, *args): return _base.UShortVector_set_count(self, *args) def set_capacity(self, *args): return _base.UShortVector_set_capacity(self, *args) def refit(self): return _base.UShortVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.UShortVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.UShortVector_resize(self, *args) def reserve(self, *args): return _base.UShortVector_reserve(self, *args) def copy_from(self, *args): return _base.UShortVector_copy_from(self, *args) def copy_to(self, dest): return _base.UShortVector_copy_to(self, dest) def get_list(self, list): return _base.UShortVector_get_list(self, list) def set_list(self, list): return _base.UShortVector_set_list(self, list) def get_array(self, array): return _base.UShortVector_get_array(self, array) def set_array(self, array): return _base.UShortVector_set_array(self, array) def move(self, arg2, to): return _base.UShortVector_move(self, arg2, to) def item(self, index): return _base.UShortVector_item(self, index) def get_memory_size(self): return _base.UShortVector_get_memory_size(self) def get_class_info(self): return _base.UShortVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.UShortVector_class_info) else: class_info = _base.UShortVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UShortVector____class_destructor__) else: ___class_destructor__ = _base.UShortVector____class_destructor__ UShortVector_swigregister = _base.UShortVector_swigregister UShortVector_swigregister(UShortVector) def UShortVector_class_info(): return _base.UShortVector_class_info() UShortVector_class_info = _base.UShortVector_class_info def UShortVector____class_destructor__(instance, is_array): return _base.UShortVector____class_destructor__(instance, is_array) UShortVector____class_destructor__ = _base.UShortVector____class_destructor__ class UShortSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UShortSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UShortSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UShortSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.UShortSet_get_count(self) def exists(self, *args): return _base.UShortSet_exists(self, *args) def is_empty(self): return _base.UShortSet_is_empty(self) def is_included(self, set): return _base.UShortSet_is_included(self, set) def get_items(self): return _base.UShortSet_get_items(self) def get_item(self, index): return _base.UShortSet_get_item(self, index) def back(self, *args): return _base.UShortSet_back(self, *args) def get_array(self, array): return _base.UShortSet_get_array(self, array) def get_list(self, list): return _base.UShortSet_get_list(self, list) def get_vector(self, vector): return _base.UShortSet_get_vector(self, vector) def to_array(self): return _base.UShortSet_to_array(self) def add(self, *args): return _base.UShortSet_add(self, *args) def remove(self, index): return _base.UShortSet_remove(self, index) def remove_item(self, item): return _base.UShortSet_remove_item(self, item) def remove_set(self, set): return _base.UShortSet_remove_set(self, set) def remove_all(self): return _base.UShortSet_remove_all(self) def toggle(self, item): return _base.UShortSet_toggle(self, item) def unite(self, set): return _base.UShortSet_unite(self, set) def intersect(self, set): return _base.UShortSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.UShortSet___eq__(self, set) def __ne__(self, set): return _base.UShortSet___ne__(self, set) def begin(self, *args): return _base.UShortSet_begin(self, *args) def end(self, *args): return _base.UShortSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.UShortSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.UShortSet_get_linear_search_threshold def get_memory_size(self): return _base.UShortSet_get_memory_size(self) def __setitem__(self, index, value): return _base.UShortSet___setitem__(self, index, value) def __len__(self): return _base.UShortSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_UShortSet __del__ = lambda self: None UShortSet_swigregister = _base.UShortSet_swigregister UShortSet_swigregister(UShortSet) def UShortSet_get_linear_search_threshold(): return _base.UShortSet_get_linear_search_threshold() UShortSet_get_linear_search_threshold = _base.UShortSet_get_linear_search_threshold class IntBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, IntBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, IntBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.IntBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_IntBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_IntBasicArray __del__ = lambda self: None def get_count(self): return _base.IntBasicArray_get_count(self) def get_item(self, index): return _base.IntBasicArray_get_item(self, index) def set_item(self, index, item): return _base.IntBasicArray_set_item(self, index, item) def front(self): return _base.IntBasicArray_front(self) def back(self): return _base.IntBasicArray_back(self) def exists(self, item): return _base.IntBasicArray_exists(self, item) def get_index(self, item): return _base.IntBasicArray_get_index(self, item) def sub(self, index, count): return _base.IntBasicArray_sub(self, index, count) def get_memory_size(self): return _base.IntBasicArray_get_memory_size(self) def begin(self, *args): return _base.IntBasicArray_begin(self, *args) def end(self, *args): return _base.IntBasicArray_end(self, *args) def get_class_info(self): return _base.IntBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.IntBasicArray_class_info) else: class_info = _base.IntBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.IntBasicArray____class_destructor__) else: ___class_destructor__ = _base.IntBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.IntBasicArray___setitem__(self, index, value) def __len__(self): return _base.IntBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True IntBasicArray_swigregister = _base.IntBasicArray_swigregister IntBasicArray_swigregister(IntBasicArray) def IntBasicArray_class_info(): return _base.IntBasicArray_class_info() IntBasicArray_class_info = _base.IntBasicArray_class_info def IntBasicArray____class_destructor__(instance, is_array): return _base.IntBasicArray____class_destructor__(instance, is_array) IntBasicArray____class_destructor__ = _base.IntBasicArray____class_destructor__ class IntArray(IntBasicArray): __swig_setmethods__ = {} for _s in [IntBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, IntArray, name, value) __swig_getmethods__ = {} for _s in [IntBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, IntArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_IntArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_IntArray __del__ = lambda self: None def append(self, *args): return _base.IntArray_append(self, *args) def get_count(self): return _base.IntArray_get_count(self) def remove_all(self): return _base.IntArray_remove_all(self) def resize(self, *args): return _base.IntArray_resize(self, *args) def copy_from(self, *args): return _base.IntArray_copy_from(self, *args) def copy_to(self, dest): return _base.IntArray_copy_to(self, dest) def get_list(self, list): return _base.IntArray_get_list(self, list) def set_list(self, list): return _base.IntArray_set_list(self, list) def get_memory_size(self): return _base.IntArray_get_memory_size(self) def get_class_info(self): return _base.IntArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.IntArray_class_info) else: class_info = _base.IntArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.IntArray____class_destructor__) else: ___class_destructor__ = _base.IntArray____class_destructor__ IntArray_swigregister = _base.IntArray_swigregister IntArray_swigregister(IntArray) def IntArray_class_info(): return _base.IntArray_class_info() IntArray_class_info = _base.IntArray_class_info def IntArray____class_destructor__(instance, is_array): return _base.IntArray____class_destructor__(instance, is_array) IntArray____class_destructor__ = _base.IntArray____class_destructor__ class IntVector(IntBasicArray): __swig_setmethods__ = {} for _s in [IntBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, IntVector, name, value) __swig_getmethods__ = {} for _s in [IntBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, IntVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_IntVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_IntVector __del__ = lambda self: None def append(self, *args): return _base.IntVector_append(self, *args) def add(self, element): return _base.IntVector_add(self, element) def insert(self, element, index): return _base.IntVector_insert(self, element, index) def remove_last(self): return _base.IntVector_remove_last(self) def empty(self): return _base.IntVector_empty(self) def remove_all(self): return _base.IntVector_remove_all(self) def clear(self, *args): return _base.IntVector_clear(self, *args) def remove(self, *args): return _base.IntVector_remove(self, *args) def is_empty(self): return _base.IntVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.IntVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.IntVector_remove_items(self, item) def get_count(self): return _base.IntVector_get_count(self) def get_capacity(self): return _base.IntVector_get_capacity(self) def set_count(self, *args): return _base.IntVector_set_count(self, *args) def set_capacity(self, *args): return _base.IntVector_set_capacity(self, *args) def refit(self): return _base.IntVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.IntVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.IntVector_resize(self, *args) def reserve(self, *args): return _base.IntVector_reserve(self, *args) def copy_from(self, *args): return _base.IntVector_copy_from(self, *args) def copy_to(self, dest): return _base.IntVector_copy_to(self, dest) def get_list(self, list): return _base.IntVector_get_list(self, list) def set_list(self, list): return _base.IntVector_set_list(self, list) def get_array(self, array): return _base.IntVector_get_array(self, array) def set_array(self, array): return _base.IntVector_set_array(self, array) def move(self, arg2, to): return _base.IntVector_move(self, arg2, to) def item(self, index): return _base.IntVector_item(self, index) def get_memory_size(self): return _base.IntVector_get_memory_size(self) def get_class_info(self): return _base.IntVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.IntVector_class_info) else: class_info = _base.IntVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.IntVector____class_destructor__) else: ___class_destructor__ = _base.IntVector____class_destructor__ IntVector_swigregister = _base.IntVector_swigregister IntVector_swigregister(IntVector) def IntVector_class_info(): return _base.IntVector_class_info() IntVector_class_info = _base.IntVector_class_info def IntVector____class_destructor__(instance, is_array): return _base.IntVector____class_destructor__(instance, is_array) IntVector____class_destructor__ = _base.IntVector____class_destructor__ class IntSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, IntSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, IntSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_IntSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.IntSet_get_count(self) def exists(self, *args): return _base.IntSet_exists(self, *args) def is_empty(self): return _base.IntSet_is_empty(self) def is_included(self, set): return _base.IntSet_is_included(self, set) def get_items(self): return _base.IntSet_get_items(self) def get_item(self, index): return _base.IntSet_get_item(self, index) def back(self, *args): return _base.IntSet_back(self, *args) def get_array(self, array): return _base.IntSet_get_array(self, array) def get_list(self, list): return _base.IntSet_get_list(self, list) def get_vector(self, vector): return _base.IntSet_get_vector(self, vector) def to_array(self): return _base.IntSet_to_array(self) def add(self, *args): return _base.IntSet_add(self, *args) def remove(self, index): return _base.IntSet_remove(self, index) def remove_item(self, item): return _base.IntSet_remove_item(self, item) def remove_set(self, set): return _base.IntSet_remove_set(self, set) def remove_all(self): return _base.IntSet_remove_all(self) def toggle(self, item): return _base.IntSet_toggle(self, item) def unite(self, set): return _base.IntSet_unite(self, set) def intersect(self, set): return _base.IntSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.IntSet___eq__(self, set) def __ne__(self, set): return _base.IntSet___ne__(self, set) def begin(self, *args): return _base.IntSet_begin(self, *args) def end(self, *args): return _base.IntSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.IntSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.IntSet_get_linear_search_threshold def get_memory_size(self): return _base.IntSet_get_memory_size(self) def __setitem__(self, index, value): return _base.IntSet___setitem__(self, index, value) def __len__(self): return _base.IntSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_IntSet __del__ = lambda self: None IntSet_swigregister = _base.IntSet_swigregister IntSet_swigregister(IntSet) def IntSet_get_linear_search_threshold(): return _base.IntSet_get_linear_search_threshold() IntSet_get_linear_search_threshold = _base.IntSet_get_linear_search_threshold class UIntBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UIntBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UIntBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.UIntBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_UIntBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UIntBasicArray __del__ = lambda self: None def get_count(self): return _base.UIntBasicArray_get_count(self) def get_item(self, index): return _base.UIntBasicArray_get_item(self, index) def set_item(self, index, item): return _base.UIntBasicArray_set_item(self, index, item) def front(self): return _base.UIntBasicArray_front(self) def back(self): return _base.UIntBasicArray_back(self) def exists(self, item): return _base.UIntBasicArray_exists(self, item) def get_index(self, item): return _base.UIntBasicArray_get_index(self, item) def sub(self, index, count): return _base.UIntBasicArray_sub(self, index, count) def get_memory_size(self): return _base.UIntBasicArray_get_memory_size(self) def begin(self, *args): return _base.UIntBasicArray_begin(self, *args) def end(self, *args): return _base.UIntBasicArray_end(self, *args) def get_class_info(self): return _base.UIntBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.UIntBasicArray_class_info) else: class_info = _base.UIntBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UIntBasicArray____class_destructor__) else: ___class_destructor__ = _base.UIntBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.UIntBasicArray___setitem__(self, index, value) def __len__(self): return _base.UIntBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True UIntBasicArray_swigregister = _base.UIntBasicArray_swigregister UIntBasicArray_swigregister(UIntBasicArray) def UIntBasicArray_class_info(): return _base.UIntBasicArray_class_info() UIntBasicArray_class_info = _base.UIntBasicArray_class_info def UIntBasicArray____class_destructor__(instance, is_array): return _base.UIntBasicArray____class_destructor__(instance, is_array) UIntBasicArray____class_destructor__ = _base.UIntBasicArray____class_destructor__ class UIntArray(UIntBasicArray): __swig_setmethods__ = {} for _s in [UIntBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UIntArray, name, value) __swig_getmethods__ = {} for _s in [UIntBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UIntArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UIntArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UIntArray __del__ = lambda self: None def append(self, *args): return _base.UIntArray_append(self, *args) def get_count(self): return _base.UIntArray_get_count(self) def remove_all(self): return _base.UIntArray_remove_all(self) def resize(self, *args): return _base.UIntArray_resize(self, *args) def copy_from(self, *args): return _base.UIntArray_copy_from(self, *args) def copy_to(self, dest): return _base.UIntArray_copy_to(self, dest) def get_list(self, list): return _base.UIntArray_get_list(self, list) def set_list(self, list): return _base.UIntArray_set_list(self, list) def get_memory_size(self): return _base.UIntArray_get_memory_size(self) def get_class_info(self): return _base.UIntArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.UIntArray_class_info) else: class_info = _base.UIntArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UIntArray____class_destructor__) else: ___class_destructor__ = _base.UIntArray____class_destructor__ UIntArray_swigregister = _base.UIntArray_swigregister UIntArray_swigregister(UIntArray) def UIntArray_class_info(): return _base.UIntArray_class_info() UIntArray_class_info = _base.UIntArray_class_info def UIntArray____class_destructor__(instance, is_array): return _base.UIntArray____class_destructor__(instance, is_array) UIntArray____class_destructor__ = _base.UIntArray____class_destructor__ class UIntVector(UIntBasicArray): __swig_setmethods__ = {} for _s in [UIntBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UIntVector, name, value) __swig_getmethods__ = {} for _s in [UIntBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UIntVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UIntVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_UIntVector __del__ = lambda self: None def append(self, *args): return _base.UIntVector_append(self, *args) def add(self, element): return _base.UIntVector_add(self, element) def insert(self, element, index): return _base.UIntVector_insert(self, element, index) def remove_last(self): return _base.UIntVector_remove_last(self) def empty(self): return _base.UIntVector_empty(self) def remove_all(self): return _base.UIntVector_remove_all(self) def clear(self, *args): return _base.UIntVector_clear(self, *args) def remove(self, *args): return _base.UIntVector_remove(self, *args) def is_empty(self): return _base.UIntVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.UIntVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.UIntVector_remove_items(self, item) def get_count(self): return _base.UIntVector_get_count(self) def get_capacity(self): return _base.UIntVector_get_capacity(self) def set_count(self, *args): return _base.UIntVector_set_count(self, *args) def set_capacity(self, *args): return _base.UIntVector_set_capacity(self, *args) def refit(self): return _base.UIntVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.UIntVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.UIntVector_resize(self, *args) def reserve(self, *args): return _base.UIntVector_reserve(self, *args) def copy_from(self, *args): return _base.UIntVector_copy_from(self, *args) def copy_to(self, dest): return _base.UIntVector_copy_to(self, dest) def get_list(self, list): return _base.UIntVector_get_list(self, list) def set_list(self, list): return _base.UIntVector_set_list(self, list) def get_array(self, array): return _base.UIntVector_get_array(self, array) def set_array(self, array): return _base.UIntVector_set_array(self, array) def move(self, arg2, to): return _base.UIntVector_move(self, arg2, to) def item(self, index): return _base.UIntVector_item(self, index) def get_memory_size(self): return _base.UIntVector_get_memory_size(self) def get_class_info(self): return _base.UIntVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.UIntVector_class_info) else: class_info = _base.UIntVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.UIntVector____class_destructor__) else: ___class_destructor__ = _base.UIntVector____class_destructor__ UIntVector_swigregister = _base.UIntVector_swigregister UIntVector_swigregister(UIntVector) def UIntVector_class_info(): return _base.UIntVector_class_info() UIntVector_class_info = _base.UIntVector_class_info def UIntVector____class_destructor__(instance, is_array): return _base.UIntVector____class_destructor__(instance, is_array) UIntVector____class_destructor__ = _base.UIntVector____class_destructor__ class UIntSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, UIntSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, UIntSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_UIntSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.UIntSet_get_count(self) def exists(self, *args): return _base.UIntSet_exists(self, *args) def is_empty(self): return _base.UIntSet_is_empty(self) def is_included(self, set): return _base.UIntSet_is_included(self, set) def get_items(self): return _base.UIntSet_get_items(self) def get_item(self, index): return _base.UIntSet_get_item(self, index) def back(self, *args): return _base.UIntSet_back(self, *args) def get_array(self, array): return _base.UIntSet_get_array(self, array) def get_list(self, list): return _base.UIntSet_get_list(self, list) def get_vector(self, vector): return _base.UIntSet_get_vector(self, vector) def to_array(self): return _base.UIntSet_to_array(self) def add(self, *args): return _base.UIntSet_add(self, *args) def remove(self, index): return _base.UIntSet_remove(self, index) def remove_item(self, item): return _base.UIntSet_remove_item(self, item) def remove_set(self, set): return _base.UIntSet_remove_set(self, set) def remove_all(self): return _base.UIntSet_remove_all(self) def toggle(self, item): return _base.UIntSet_toggle(self, item) def unite(self, set): return _base.UIntSet_unite(self, set) def intersect(self, set): return _base.UIntSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.UIntSet___eq__(self, set) def __ne__(self, set): return _base.UIntSet___ne__(self, set) def begin(self, *args): return _base.UIntSet_begin(self, *args) def end(self, *args): return _base.UIntSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.UIntSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.UIntSet_get_linear_search_threshold def get_memory_size(self): return _base.UIntSet_get_memory_size(self) def __setitem__(self, index, value): return _base.UIntSet___setitem__(self, index, value) def __len__(self): return _base.UIntSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_UIntSet __del__ = lambda self: None UIntSet_swigregister = _base.UIntSet_swigregister UIntSet_swigregister(UIntSet) def UIntSet_get_linear_search_threshold(): return _base.UIntSet_get_linear_search_threshold() UIntSet_get_linear_search_threshold = _base.UIntSet_get_linear_search_threshold class LongBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.LongBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_LongBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_LongBasicArray __del__ = lambda self: None def get_count(self): return _base.LongBasicArray_get_count(self) def get_item(self, index): return _base.LongBasicArray_get_item(self, index) def set_item(self, index, item): return _base.LongBasicArray_set_item(self, index, item) def front(self): return _base.LongBasicArray_front(self) def back(self): return _base.LongBasicArray_back(self) def exists(self, item): return _base.LongBasicArray_exists(self, item) def get_index(self, item): return _base.LongBasicArray_get_index(self, item) def sub(self, index, count): return _base.LongBasicArray_sub(self, index, count) def get_memory_size(self): return _base.LongBasicArray_get_memory_size(self) def begin(self, *args): return _base.LongBasicArray_begin(self, *args) def end(self, *args): return _base.LongBasicArray_end(self, *args) def get_class_info(self): return _base.LongBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.LongBasicArray_class_info) else: class_info = _base.LongBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.LongBasicArray____class_destructor__) else: ___class_destructor__ = _base.LongBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.LongBasicArray___setitem__(self, index, value) def __len__(self): return _base.LongBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True LongBasicArray_swigregister = _base.LongBasicArray_swigregister LongBasicArray_swigregister(LongBasicArray) def LongBasicArray_class_info(): return _base.LongBasicArray_class_info() LongBasicArray_class_info = _base.LongBasicArray_class_info def LongBasicArray____class_destructor__(instance, is_array): return _base.LongBasicArray____class_destructor__(instance, is_array) LongBasicArray____class_destructor__ = _base.LongBasicArray____class_destructor__ class LongArray(LongBasicArray): __swig_setmethods__ = {} for _s in [LongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongArray, name, value) __swig_getmethods__ = {} for _s in [LongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_LongArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_LongArray __del__ = lambda self: None def append(self, *args): return _base.LongArray_append(self, *args) def get_count(self): return _base.LongArray_get_count(self) def remove_all(self): return _base.LongArray_remove_all(self) def resize(self, *args): return _base.LongArray_resize(self, *args) def copy_from(self, *args): return _base.LongArray_copy_from(self, *args) def copy_to(self, dest): return _base.LongArray_copy_to(self, dest) def get_list(self, list): return _base.LongArray_get_list(self, list) def set_list(self, list): return _base.LongArray_set_list(self, list) def get_memory_size(self): return _base.LongArray_get_memory_size(self) def get_class_info(self): return _base.LongArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.LongArray_class_info) else: class_info = _base.LongArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.LongArray____class_destructor__) else: ___class_destructor__ = _base.LongArray____class_destructor__ LongArray_swigregister = _base.LongArray_swigregister LongArray_swigregister(LongArray) def LongArray_class_info(): return _base.LongArray_class_info() LongArray_class_info = _base.LongArray_class_info def LongArray____class_destructor__(instance, is_array): return _base.LongArray____class_destructor__(instance, is_array) LongArray____class_destructor__ = _base.LongArray____class_destructor__ class LongVector(LongBasicArray): __swig_setmethods__ = {} for _s in [LongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongVector, name, value) __swig_getmethods__ = {} for _s in [LongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_LongVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_LongVector __del__ = lambda self: None def append(self, *args): return _base.LongVector_append(self, *args) def add(self, element): return _base.LongVector_add(self, element) def insert(self, element, index): return _base.LongVector_insert(self, element, index) def remove_last(self): return _base.LongVector_remove_last(self) def empty(self): return _base.LongVector_empty(self) def remove_all(self): return _base.LongVector_remove_all(self) def clear(self, *args): return _base.LongVector_clear(self, *args) def remove(self, *args): return _base.LongVector_remove(self, *args) def is_empty(self): return _base.LongVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.LongVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.LongVector_remove_items(self, item) def get_count(self): return _base.LongVector_get_count(self) def get_capacity(self): return _base.LongVector_get_capacity(self) def set_count(self, *args): return _base.LongVector_set_count(self, *args) def set_capacity(self, *args): return _base.LongVector_set_capacity(self, *args) def refit(self): return _base.LongVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.LongVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.LongVector_resize(self, *args) def reserve(self, *args): return _base.LongVector_reserve(self, *args) def copy_from(self, *args): return _base.LongVector_copy_from(self, *args) def copy_to(self, dest): return _base.LongVector_copy_to(self, dest) def get_list(self, list): return _base.LongVector_get_list(self, list) def set_list(self, list): return _base.LongVector_set_list(self, list) def get_array(self, array): return _base.LongVector_get_array(self, array) def set_array(self, array): return _base.LongVector_set_array(self, array) def move(self, arg2, to): return _base.LongVector_move(self, arg2, to) def item(self, index): return _base.LongVector_item(self, index) def get_memory_size(self): return _base.LongVector_get_memory_size(self) def get_class_info(self): return _base.LongVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.LongVector_class_info) else: class_info = _base.LongVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.LongVector____class_destructor__) else: ___class_destructor__ = _base.LongVector____class_destructor__ LongVector_swigregister = _base.LongVector_swigregister LongVector_swigregister(LongVector) def LongVector_class_info(): return _base.LongVector_class_info() LongVector_class_info = _base.LongVector_class_info def LongVector____class_destructor__(instance, is_array): return _base.LongVector____class_destructor__(instance, is_array) LongVector____class_destructor__ = _base.LongVector____class_destructor__ class LongSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_LongSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.LongSet_get_count(self) def exists(self, *args): return _base.LongSet_exists(self, *args) def is_empty(self): return _base.LongSet_is_empty(self) def is_included(self, set): return _base.LongSet_is_included(self, set) def get_items(self): return _base.LongSet_get_items(self) def get_item(self, index): return _base.LongSet_get_item(self, index) def back(self, *args): return _base.LongSet_back(self, *args) def get_array(self, array): return _base.LongSet_get_array(self, array) def get_list(self, list): return _base.LongSet_get_list(self, list) def get_vector(self, vector): return _base.LongSet_get_vector(self, vector) def to_array(self): return _base.LongSet_to_array(self) def add(self, *args): return _base.LongSet_add(self, *args) def remove(self, index): return _base.LongSet_remove(self, index) def remove_item(self, item): return _base.LongSet_remove_item(self, item) def remove_set(self, set): return _base.LongSet_remove_set(self, set) def remove_all(self): return _base.LongSet_remove_all(self) def toggle(self, item): return _base.LongSet_toggle(self, item) def unite(self, set): return _base.LongSet_unite(self, set) def intersect(self, set): return _base.LongSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.LongSet___eq__(self, set) def __ne__(self, set): return _base.LongSet___ne__(self, set) def begin(self, *args): return _base.LongSet_begin(self, *args) def end(self, *args): return _base.LongSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.LongSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.LongSet_get_linear_search_threshold def get_memory_size(self): return _base.LongSet_get_memory_size(self) def __setitem__(self, index, value): return _base.LongSet___setitem__(self, index, value) def __len__(self): return _base.LongSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_LongSet __del__ = lambda self: None LongSet_swigregister = _base.LongSet_swigregister LongSet_swigregister(LongSet) def LongSet_get_linear_search_threshold(): return _base.LongSet_get_linear_search_threshold() LongSet_get_linear_search_threshold = _base.LongSet_get_linear_search_threshold class LongLongBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongLongBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongLongBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.LongLongBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_LongLongBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_LongLongBasicArray __del__ = lambda self: None def get_count(self): return _base.LongLongBasicArray_get_count(self) def get_item(self, index): return _base.LongLongBasicArray_get_item(self, index) def set_item(self, index, item): return _base.LongLongBasicArray_set_item(self, index, item) def front(self): return _base.LongLongBasicArray_front(self) def back(self): return _base.LongLongBasicArray_back(self) def exists(self, item): return _base.LongLongBasicArray_exists(self, item) def get_index(self, item): return _base.LongLongBasicArray_get_index(self, item) def sub(self, index, count): return _base.LongLongBasicArray_sub(self, index, count) def get_memory_size(self): return _base.LongLongBasicArray_get_memory_size(self) def begin(self, *args): return _base.LongLongBasicArray_begin(self, *args) def end(self, *args): return _base.LongLongBasicArray_end(self, *args) def get_class_info(self): return _base.LongLongBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.LongLongBasicArray_class_info) else: class_info = _base.LongLongBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.LongLongBasicArray____class_destructor__) else: ___class_destructor__ = _base.LongLongBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.LongLongBasicArray___setitem__(self, index, value) def __len__(self): return _base.LongLongBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True LongLongBasicArray_swigregister = _base.LongLongBasicArray_swigregister LongLongBasicArray_swigregister(LongLongBasicArray) def LongLongBasicArray_class_info(): return _base.LongLongBasicArray_class_info() LongLongBasicArray_class_info = _base.LongLongBasicArray_class_info def LongLongBasicArray____class_destructor__(instance, is_array): return _base.LongLongBasicArray____class_destructor__(instance, is_array) LongLongBasicArray____class_destructor__ = _base.LongLongBasicArray____class_destructor__ class LongLongArray(LongLongBasicArray): __swig_setmethods__ = {} for _s in [LongLongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongLongArray, name, value) __swig_getmethods__ = {} for _s in [LongLongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongLongArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_LongLongArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_LongLongArray __del__ = lambda self: None def append(self, *args): return _base.LongLongArray_append(self, *args) def get_count(self): return _base.LongLongArray_get_count(self) def remove_all(self): return _base.LongLongArray_remove_all(self) def resize(self, *args): return _base.LongLongArray_resize(self, *args) def copy_from(self, *args): return _base.LongLongArray_copy_from(self, *args) def copy_to(self, dest): return _base.LongLongArray_copy_to(self, dest) def get_list(self, list): return _base.LongLongArray_get_list(self, list) def set_list(self, list): return _base.LongLongArray_set_list(self, list) def get_memory_size(self): return _base.LongLongArray_get_memory_size(self) def get_class_info(self): return _base.LongLongArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.LongLongArray_class_info) else: class_info = _base.LongLongArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.LongLongArray____class_destructor__) else: ___class_destructor__ = _base.LongLongArray____class_destructor__ LongLongArray_swigregister = _base.LongLongArray_swigregister LongLongArray_swigregister(LongLongArray) def LongLongArray_class_info(): return _base.LongLongArray_class_info() LongLongArray_class_info = _base.LongLongArray_class_info def LongLongArray____class_destructor__(instance, is_array): return _base.LongLongArray____class_destructor__(instance, is_array) LongLongArray____class_destructor__ = _base.LongLongArray____class_destructor__ class LongLongVector(LongLongBasicArray): __swig_setmethods__ = {} for _s in [LongLongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongLongVector, name, value) __swig_getmethods__ = {} for _s in [LongLongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongLongVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_LongLongVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_LongLongVector __del__ = lambda self: None def append(self, *args): return _base.LongLongVector_append(self, *args) def add(self, element): return _base.LongLongVector_add(self, element) def insert(self, element, index): return _base.LongLongVector_insert(self, element, index) def remove_last(self): return _base.LongLongVector_remove_last(self) def empty(self): return _base.LongLongVector_empty(self) def remove_all(self): return _base.LongLongVector_remove_all(self) def clear(self, *args): return _base.LongLongVector_clear(self, *args) def remove(self, *args): return _base.LongLongVector_remove(self, *args) def is_empty(self): return _base.LongLongVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.LongLongVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.LongLongVector_remove_items(self, item) def get_count(self): return _base.LongLongVector_get_count(self) def get_capacity(self): return _base.LongLongVector_get_capacity(self) def set_count(self, *args): return _base.LongLongVector_set_count(self, *args) def set_capacity(self, *args): return _base.LongLongVector_set_capacity(self, *args) def refit(self): return _base.LongLongVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.LongLongVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.LongLongVector_resize(self, *args) def reserve(self, *args): return _base.LongLongVector_reserve(self, *args) def copy_from(self, *args): return _base.LongLongVector_copy_from(self, *args) def copy_to(self, dest): return _base.LongLongVector_copy_to(self, dest) def get_list(self, list): return _base.LongLongVector_get_list(self, list) def set_list(self, list): return _base.LongLongVector_set_list(self, list) def get_array(self, array): return _base.LongLongVector_get_array(self, array) def set_array(self, array): return _base.LongLongVector_set_array(self, array) def move(self, arg2, to): return _base.LongLongVector_move(self, arg2, to) def item(self, index): return _base.LongLongVector_item(self, index) def get_memory_size(self): return _base.LongLongVector_get_memory_size(self) def get_class_info(self): return _base.LongLongVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.LongLongVector_class_info) else: class_info = _base.LongLongVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.LongLongVector____class_destructor__) else: ___class_destructor__ = _base.LongLongVector____class_destructor__ LongLongVector_swigregister = _base.LongLongVector_swigregister LongLongVector_swigregister(LongLongVector) def LongLongVector_class_info(): return _base.LongLongVector_class_info() LongLongVector_class_info = _base.LongLongVector_class_info def LongLongVector____class_destructor__(instance, is_array): return _base.LongLongVector____class_destructor__(instance, is_array) LongLongVector____class_destructor__ = _base.LongLongVector____class_destructor__ class LongLongSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LongLongSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LongLongSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_LongLongSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.LongLongSet_get_count(self) def exists(self, *args): return _base.LongLongSet_exists(self, *args) def is_empty(self): return _base.LongLongSet_is_empty(self) def is_included(self, set): return _base.LongLongSet_is_included(self, set) def get_items(self): return _base.LongLongSet_get_items(self) def get_item(self, index): return _base.LongLongSet_get_item(self, index) def back(self, *args): return _base.LongLongSet_back(self, *args) def get_array(self, array): return _base.LongLongSet_get_array(self, array) def get_list(self, list): return _base.LongLongSet_get_list(self, list) def get_vector(self, vector): return _base.LongLongSet_get_vector(self, vector) def to_array(self): return _base.LongLongSet_to_array(self) def add(self, *args): return _base.LongLongSet_add(self, *args) def remove(self, index): return _base.LongLongSet_remove(self, index) def remove_item(self, item): return _base.LongLongSet_remove_item(self, item) def remove_set(self, set): return _base.LongLongSet_remove_set(self, set) def remove_all(self): return _base.LongLongSet_remove_all(self) def toggle(self, item): return _base.LongLongSet_toggle(self, item) def unite(self, set): return _base.LongLongSet_unite(self, set) def intersect(self, set): return _base.LongLongSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.LongLongSet___eq__(self, set) def __ne__(self, set): return _base.LongLongSet___ne__(self, set) def begin(self, *args): return _base.LongLongSet_begin(self, *args) def end(self, *args): return _base.LongLongSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.LongLongSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.LongLongSet_get_linear_search_threshold def get_memory_size(self): return _base.LongLongSet_get_memory_size(self) def __setitem__(self, index, value): return _base.LongLongSet___setitem__(self, index, value) def __len__(self): return _base.LongLongSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_LongLongSet __del__ = lambda self: None LongLongSet_swigregister = _base.LongLongSet_swigregister LongLongSet_swigregister(LongLongSet) def LongLongSet_get_linear_search_threshold(): return _base.LongLongSet_get_linear_search_threshold() LongLongSet_get_linear_search_threshold = _base.LongLongSet_get_linear_search_threshold class ULongBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.ULongBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_ULongBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ULongBasicArray __del__ = lambda self: None def get_count(self): return _base.ULongBasicArray_get_count(self) def get_item(self, index): return _base.ULongBasicArray_get_item(self, index) def set_item(self, index, item): return _base.ULongBasicArray_set_item(self, index, item) def front(self): return _base.ULongBasicArray_front(self) def back(self): return _base.ULongBasicArray_back(self) def exists(self, item): return _base.ULongBasicArray_exists(self, item) def get_index(self, item): return _base.ULongBasicArray_get_index(self, item) def sub(self, index, count): return _base.ULongBasicArray_sub(self, index, count) def get_memory_size(self): return _base.ULongBasicArray_get_memory_size(self) def begin(self, *args): return _base.ULongBasicArray_begin(self, *args) def end(self, *args): return _base.ULongBasicArray_end(self, *args) def get_class_info(self): return _base.ULongBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.ULongBasicArray_class_info) else: class_info = _base.ULongBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ULongBasicArray____class_destructor__) else: ___class_destructor__ = _base.ULongBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.ULongBasicArray___setitem__(self, index, value) def __len__(self): return _base.ULongBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True ULongBasicArray_swigregister = _base.ULongBasicArray_swigregister ULongBasicArray_swigregister(ULongBasicArray) def ULongBasicArray_class_info(): return _base.ULongBasicArray_class_info() ULongBasicArray_class_info = _base.ULongBasicArray_class_info def ULongBasicArray____class_destructor__(instance, is_array): return _base.ULongBasicArray____class_destructor__(instance, is_array) ULongBasicArray____class_destructor__ = _base.ULongBasicArray____class_destructor__ class ULongArray(ULongBasicArray): __swig_setmethods__ = {} for _s in [ULongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongArray, name, value) __swig_getmethods__ = {} for _s in [ULongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ULongArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ULongArray __del__ = lambda self: None def append(self, *args): return _base.ULongArray_append(self, *args) def get_count(self): return _base.ULongArray_get_count(self) def remove_all(self): return _base.ULongArray_remove_all(self) def resize(self, *args): return _base.ULongArray_resize(self, *args) def copy_from(self, *args): return _base.ULongArray_copy_from(self, *args) def copy_to(self, dest): return _base.ULongArray_copy_to(self, dest) def get_list(self, list): return _base.ULongArray_get_list(self, list) def set_list(self, list): return _base.ULongArray_set_list(self, list) def get_memory_size(self): return _base.ULongArray_get_memory_size(self) def get_class_info(self): return _base.ULongArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.ULongArray_class_info) else: class_info = _base.ULongArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ULongArray____class_destructor__) else: ___class_destructor__ = _base.ULongArray____class_destructor__ ULongArray_swigregister = _base.ULongArray_swigregister ULongArray_swigregister(ULongArray) def ULongArray_class_info(): return _base.ULongArray_class_info() ULongArray_class_info = _base.ULongArray_class_info def ULongArray____class_destructor__(instance, is_array): return _base.ULongArray____class_destructor__(instance, is_array) ULongArray____class_destructor__ = _base.ULongArray____class_destructor__ class ULongVector(ULongBasicArray): __swig_setmethods__ = {} for _s in [ULongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongVector, name, value) __swig_getmethods__ = {} for _s in [ULongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ULongVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ULongVector __del__ = lambda self: None def append(self, *args): return _base.ULongVector_append(self, *args) def add(self, element): return _base.ULongVector_add(self, element) def insert(self, element, index): return _base.ULongVector_insert(self, element, index) def remove_last(self): return _base.ULongVector_remove_last(self) def empty(self): return _base.ULongVector_empty(self) def remove_all(self): return _base.ULongVector_remove_all(self) def clear(self, *args): return _base.ULongVector_clear(self, *args) def remove(self, *args): return _base.ULongVector_remove(self, *args) def is_empty(self): return _base.ULongVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.ULongVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.ULongVector_remove_items(self, item) def get_count(self): return _base.ULongVector_get_count(self) def get_capacity(self): return _base.ULongVector_get_capacity(self) def set_count(self, *args): return _base.ULongVector_set_count(self, *args) def set_capacity(self, *args): return _base.ULongVector_set_capacity(self, *args) def refit(self): return _base.ULongVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.ULongVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.ULongVector_resize(self, *args) def reserve(self, *args): return _base.ULongVector_reserve(self, *args) def copy_from(self, *args): return _base.ULongVector_copy_from(self, *args) def copy_to(self, dest): return _base.ULongVector_copy_to(self, dest) def get_list(self, list): return _base.ULongVector_get_list(self, list) def set_list(self, list): return _base.ULongVector_set_list(self, list) def get_array(self, array): return _base.ULongVector_get_array(self, array) def set_array(self, array): return _base.ULongVector_set_array(self, array) def move(self, arg2, to): return _base.ULongVector_move(self, arg2, to) def item(self, index): return _base.ULongVector_item(self, index) def get_memory_size(self): return _base.ULongVector_get_memory_size(self) def get_class_info(self): return _base.ULongVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.ULongVector_class_info) else: class_info = _base.ULongVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ULongVector____class_destructor__) else: ___class_destructor__ = _base.ULongVector____class_destructor__ ULongVector_swigregister = _base.ULongVector_swigregister ULongVector_swigregister(ULongVector) def ULongVector_class_info(): return _base.ULongVector_class_info() ULongVector_class_info = _base.ULongVector_class_info def ULongVector____class_destructor__(instance, is_array): return _base.ULongVector____class_destructor__(instance, is_array) ULongVector____class_destructor__ = _base.ULongVector____class_destructor__ class ULongSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ULongSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.ULongSet_get_count(self) def exists(self, *args): return _base.ULongSet_exists(self, *args) def is_empty(self): return _base.ULongSet_is_empty(self) def is_included(self, set): return _base.ULongSet_is_included(self, set) def get_items(self): return _base.ULongSet_get_items(self) def get_item(self, index): return _base.ULongSet_get_item(self, index) def back(self, *args): return _base.ULongSet_back(self, *args) def get_array(self, array): return _base.ULongSet_get_array(self, array) def get_list(self, list): return _base.ULongSet_get_list(self, list) def get_vector(self, vector): return _base.ULongSet_get_vector(self, vector) def to_array(self): return _base.ULongSet_to_array(self) def add(self, *args): return _base.ULongSet_add(self, *args) def remove(self, index): return _base.ULongSet_remove(self, index) def remove_item(self, item): return _base.ULongSet_remove_item(self, item) def remove_set(self, set): return _base.ULongSet_remove_set(self, set) def remove_all(self): return _base.ULongSet_remove_all(self) def toggle(self, item): return _base.ULongSet_toggle(self, item) def unite(self, set): return _base.ULongSet_unite(self, set) def intersect(self, set): return _base.ULongSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.ULongSet___eq__(self, set) def __ne__(self, set): return _base.ULongSet___ne__(self, set) def begin(self, *args): return _base.ULongSet_begin(self, *args) def end(self, *args): return _base.ULongSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.ULongSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.ULongSet_get_linear_search_threshold def get_memory_size(self): return _base.ULongSet_get_memory_size(self) def __setitem__(self, index, value): return _base.ULongSet___setitem__(self, index, value) def __len__(self): return _base.ULongSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_ULongSet __del__ = lambda self: None ULongSet_swigregister = _base.ULongSet_swigregister ULongSet_swigregister(ULongSet) def ULongSet_get_linear_search_threshold(): return _base.ULongSet_get_linear_search_threshold() ULongSet_get_linear_search_threshold = _base.ULongSet_get_linear_search_threshold class ULongLongBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongLongBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongLongBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.ULongLongBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_ULongLongBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ULongLongBasicArray __del__ = lambda self: None def get_count(self): return _base.ULongLongBasicArray_get_count(self) def get_item(self, index): return _base.ULongLongBasicArray_get_item(self, index) def set_item(self, index, item): return _base.ULongLongBasicArray_set_item(self, index, item) def front(self): return _base.ULongLongBasicArray_front(self) def back(self): return _base.ULongLongBasicArray_back(self) def exists(self, item): return _base.ULongLongBasicArray_exists(self, item) def get_index(self, item): return _base.ULongLongBasicArray_get_index(self, item) def sub(self, index, count): return _base.ULongLongBasicArray_sub(self, index, count) def get_memory_size(self): return _base.ULongLongBasicArray_get_memory_size(self) def begin(self, *args): return _base.ULongLongBasicArray_begin(self, *args) def end(self, *args): return _base.ULongLongBasicArray_end(self, *args) def get_class_info(self): return _base.ULongLongBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.ULongLongBasicArray_class_info) else: class_info = _base.ULongLongBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ULongLongBasicArray____class_destructor__) else: ___class_destructor__ = _base.ULongLongBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.ULongLongBasicArray___setitem__(self, index, value) def __len__(self): return _base.ULongLongBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True ULongLongBasicArray_swigregister = _base.ULongLongBasicArray_swigregister ULongLongBasicArray_swigregister(ULongLongBasicArray) def ULongLongBasicArray_class_info(): return _base.ULongLongBasicArray_class_info() ULongLongBasicArray_class_info = _base.ULongLongBasicArray_class_info def ULongLongBasicArray____class_destructor__(instance, is_array): return _base.ULongLongBasicArray____class_destructor__(instance, is_array) ULongLongBasicArray____class_destructor__ = _base.ULongLongBasicArray____class_destructor__ class ULongLongArray(ULongLongBasicArray): __swig_setmethods__ = {} for _s in [ULongLongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongLongArray, name, value) __swig_getmethods__ = {} for _s in [ULongLongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongLongArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ULongLongArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ULongLongArray __del__ = lambda self: None def append(self, *args): return _base.ULongLongArray_append(self, *args) def get_count(self): return _base.ULongLongArray_get_count(self) def remove_all(self): return _base.ULongLongArray_remove_all(self) def resize(self, *args): return _base.ULongLongArray_resize(self, *args) def copy_from(self, *args): return _base.ULongLongArray_copy_from(self, *args) def copy_to(self, dest): return _base.ULongLongArray_copy_to(self, dest) def get_list(self, list): return _base.ULongLongArray_get_list(self, list) def set_list(self, list): return _base.ULongLongArray_set_list(self, list) def get_memory_size(self): return _base.ULongLongArray_get_memory_size(self) def get_class_info(self): return _base.ULongLongArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.ULongLongArray_class_info) else: class_info = _base.ULongLongArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ULongLongArray____class_destructor__) else: ___class_destructor__ = _base.ULongLongArray____class_destructor__ ULongLongArray_swigregister = _base.ULongLongArray_swigregister ULongLongArray_swigregister(ULongLongArray) def ULongLongArray_class_info(): return _base.ULongLongArray_class_info() ULongLongArray_class_info = _base.ULongLongArray_class_info def ULongLongArray____class_destructor__(instance, is_array): return _base.ULongLongArray____class_destructor__(instance, is_array) ULongLongArray____class_destructor__ = _base.ULongLongArray____class_destructor__ class ULongLongVector(ULongLongBasicArray): __swig_setmethods__ = {} for _s in [ULongLongBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongLongVector, name, value) __swig_getmethods__ = {} for _s in [ULongLongBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongLongVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ULongLongVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ULongLongVector __del__ = lambda self: None def append(self, *args): return _base.ULongLongVector_append(self, *args) def add(self, element): return _base.ULongLongVector_add(self, element) def insert(self, element, index): return _base.ULongLongVector_insert(self, element, index) def remove_last(self): return _base.ULongLongVector_remove_last(self) def empty(self): return _base.ULongLongVector_empty(self) def remove_all(self): return _base.ULongLongVector_remove_all(self) def clear(self, *args): return _base.ULongLongVector_clear(self, *args) def remove(self, *args): return _base.ULongLongVector_remove(self, *args) def is_empty(self): return _base.ULongLongVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.ULongLongVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.ULongLongVector_remove_items(self, item) def get_count(self): return _base.ULongLongVector_get_count(self) def get_capacity(self): return _base.ULongLongVector_get_capacity(self) def set_count(self, *args): return _base.ULongLongVector_set_count(self, *args) def set_capacity(self, *args): return _base.ULongLongVector_set_capacity(self, *args) def refit(self): return _base.ULongLongVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.ULongLongVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.ULongLongVector_resize(self, *args) def reserve(self, *args): return _base.ULongLongVector_reserve(self, *args) def copy_from(self, *args): return _base.ULongLongVector_copy_from(self, *args) def copy_to(self, dest): return _base.ULongLongVector_copy_to(self, dest) def get_list(self, list): return _base.ULongLongVector_get_list(self, list) def set_list(self, list): return _base.ULongLongVector_set_list(self, list) def get_array(self, array): return _base.ULongLongVector_get_array(self, array) def set_array(self, array): return _base.ULongLongVector_set_array(self, array) def move(self, arg2, to): return _base.ULongLongVector_move(self, arg2, to) def item(self, index): return _base.ULongLongVector_item(self, index) def get_memory_size(self): return _base.ULongLongVector_get_memory_size(self) def get_class_info(self): return _base.ULongLongVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.ULongLongVector_class_info) else: class_info = _base.ULongLongVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.ULongLongVector____class_destructor__) else: ___class_destructor__ = _base.ULongLongVector____class_destructor__ ULongLongVector_swigregister = _base.ULongLongVector_swigregister ULongLongVector_swigregister(ULongLongVector) def ULongLongVector_class_info(): return _base.ULongLongVector_class_info() ULongLongVector_class_info = _base.ULongLongVector_class_info def ULongLongVector____class_destructor__(instance, is_array): return _base.ULongLongVector____class_destructor__(instance, is_array) ULongLongVector____class_destructor__ = _base.ULongLongVector____class_destructor__ class ULongLongSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ULongLongSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ULongLongSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ULongLongSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.ULongLongSet_get_count(self) def exists(self, *args): return _base.ULongLongSet_exists(self, *args) def is_empty(self): return _base.ULongLongSet_is_empty(self) def is_included(self, set): return _base.ULongLongSet_is_included(self, set) def get_items(self): return _base.ULongLongSet_get_items(self) def get_item(self, index): return _base.ULongLongSet_get_item(self, index) def back(self, *args): return _base.ULongLongSet_back(self, *args) def get_array(self, array): return _base.ULongLongSet_get_array(self, array) def get_list(self, list): return _base.ULongLongSet_get_list(self, list) def get_vector(self, vector): return _base.ULongLongSet_get_vector(self, vector) def to_array(self): return _base.ULongLongSet_to_array(self) def add(self, *args): return _base.ULongLongSet_add(self, *args) def remove(self, index): return _base.ULongLongSet_remove(self, index) def remove_item(self, item): return _base.ULongLongSet_remove_item(self, item) def remove_set(self, set): return _base.ULongLongSet_remove_set(self, set) def remove_all(self): return _base.ULongLongSet_remove_all(self) def toggle(self, item): return _base.ULongLongSet_toggle(self, item) def unite(self, set): return _base.ULongLongSet_unite(self, set) def intersect(self, set): return _base.ULongLongSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.ULongLongSet___eq__(self, set) def __ne__(self, set): return _base.ULongLongSet___ne__(self, set) def begin(self, *args): return _base.ULongLongSet_begin(self, *args) def end(self, *args): return _base.ULongLongSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.ULongLongSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.ULongLongSet_get_linear_search_threshold def get_memory_size(self): return _base.ULongLongSet_get_memory_size(self) def __setitem__(self, index, value): return _base.ULongLongSet___setitem__(self, index, value) def __len__(self): return _base.ULongLongSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_ULongLongSet __del__ = lambda self: None ULongLongSet_swigregister = _base.ULongLongSet_swigregister ULongLongSet_swigregister(ULongLongSet) def ULongLongSet_get_linear_search_threshold(): return _base.ULongLongSet_get_linear_search_threshold() ULongLongSet_get_linear_search_threshold = _base.ULongLongSet_get_linear_search_threshold class FloatBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, FloatBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, FloatBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.FloatBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_FloatBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_FloatBasicArray __del__ = lambda self: None def get_count(self): return _base.FloatBasicArray_get_count(self) def get_item(self, index): return _base.FloatBasicArray_get_item(self, index) def set_item(self, index, item): return _base.FloatBasicArray_set_item(self, index, item) def front(self): return _base.FloatBasicArray_front(self) def back(self): return _base.FloatBasicArray_back(self) def exists(self, item): return _base.FloatBasicArray_exists(self, item) def get_index(self, item): return _base.FloatBasicArray_get_index(self, item) def sub(self, index, count): return _base.FloatBasicArray_sub(self, index, count) def get_memory_size(self): return _base.FloatBasicArray_get_memory_size(self) def begin(self, *args): return _base.FloatBasicArray_begin(self, *args) def end(self, *args): return _base.FloatBasicArray_end(self, *args) def get_class_info(self): return _base.FloatBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.FloatBasicArray_class_info) else: class_info = _base.FloatBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.FloatBasicArray____class_destructor__) else: ___class_destructor__ = _base.FloatBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.FloatBasicArray___setitem__(self, index, value) def __len__(self): return _base.FloatBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True FloatBasicArray_swigregister = _base.FloatBasicArray_swigregister FloatBasicArray_swigregister(FloatBasicArray) def FloatBasicArray_class_info(): return _base.FloatBasicArray_class_info() FloatBasicArray_class_info = _base.FloatBasicArray_class_info def FloatBasicArray____class_destructor__(instance, is_array): return _base.FloatBasicArray____class_destructor__(instance, is_array) FloatBasicArray____class_destructor__ = _base.FloatBasicArray____class_destructor__ class FloatArray(FloatBasicArray): __swig_setmethods__ = {} for _s in [FloatBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, FloatArray, name, value) __swig_getmethods__ = {} for _s in [FloatBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, FloatArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_FloatArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_FloatArray __del__ = lambda self: None def append(self, *args): return _base.FloatArray_append(self, *args) def get_count(self): return _base.FloatArray_get_count(self) def remove_all(self): return _base.FloatArray_remove_all(self) def resize(self, *args): return _base.FloatArray_resize(self, *args) def copy_from(self, *args): return _base.FloatArray_copy_from(self, *args) def copy_to(self, dest): return _base.FloatArray_copy_to(self, dest) def get_list(self, list): return _base.FloatArray_get_list(self, list) def set_list(self, list): return _base.FloatArray_set_list(self, list) def get_memory_size(self): return _base.FloatArray_get_memory_size(self) def get_class_info(self): return _base.FloatArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.FloatArray_class_info) else: class_info = _base.FloatArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.FloatArray____class_destructor__) else: ___class_destructor__ = _base.FloatArray____class_destructor__ FloatArray_swigregister = _base.FloatArray_swigregister FloatArray_swigregister(FloatArray) def FloatArray_class_info(): return _base.FloatArray_class_info() FloatArray_class_info = _base.FloatArray_class_info def FloatArray____class_destructor__(instance, is_array): return _base.FloatArray____class_destructor__(instance, is_array) FloatArray____class_destructor__ = _base.FloatArray____class_destructor__ class FloatVector(FloatBasicArray): __swig_setmethods__ = {} for _s in [FloatBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, FloatVector, name, value) __swig_getmethods__ = {} for _s in [FloatBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, FloatVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_FloatVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_FloatVector __del__ = lambda self: None def append(self, *args): return _base.FloatVector_append(self, *args) def add(self, element): return _base.FloatVector_add(self, element) def insert(self, element, index): return _base.FloatVector_insert(self, element, index) def remove_last(self): return _base.FloatVector_remove_last(self) def empty(self): return _base.FloatVector_empty(self) def remove_all(self): return _base.FloatVector_remove_all(self) def clear(self, *args): return _base.FloatVector_clear(self, *args) def remove(self, *args): return _base.FloatVector_remove(self, *args) def is_empty(self): return _base.FloatVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.FloatVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.FloatVector_remove_items(self, item) def get_count(self): return _base.FloatVector_get_count(self) def get_capacity(self): return _base.FloatVector_get_capacity(self) def set_count(self, *args): return _base.FloatVector_set_count(self, *args) def set_capacity(self, *args): return _base.FloatVector_set_capacity(self, *args) def refit(self): return _base.FloatVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.FloatVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.FloatVector_resize(self, *args) def reserve(self, *args): return _base.FloatVector_reserve(self, *args) def copy_from(self, *args): return _base.FloatVector_copy_from(self, *args) def copy_to(self, dest): return _base.FloatVector_copy_to(self, dest) def get_list(self, list): return _base.FloatVector_get_list(self, list) def set_list(self, list): return _base.FloatVector_set_list(self, list) def get_array(self, array): return _base.FloatVector_get_array(self, array) def set_array(self, array): return _base.FloatVector_set_array(self, array) def move(self, arg2, to): return _base.FloatVector_move(self, arg2, to) def item(self, index): return _base.FloatVector_item(self, index) def get_memory_size(self): return _base.FloatVector_get_memory_size(self) def get_class_info(self): return _base.FloatVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.FloatVector_class_info) else: class_info = _base.FloatVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.FloatVector____class_destructor__) else: ___class_destructor__ = _base.FloatVector____class_destructor__ FloatVector_swigregister = _base.FloatVector_swigregister FloatVector_swigregister(FloatVector) def FloatVector_class_info(): return _base.FloatVector_class_info() FloatVector_class_info = _base.FloatVector_class_info def FloatVector____class_destructor__(instance, is_array): return _base.FloatVector____class_destructor__(instance, is_array) FloatVector____class_destructor__ = _base.FloatVector____class_destructor__ class FloatSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, FloatSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, FloatSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_FloatSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.FloatSet_get_count(self) def exists(self, *args): return _base.FloatSet_exists(self, *args) def is_empty(self): return _base.FloatSet_is_empty(self) def is_included(self, set): return _base.FloatSet_is_included(self, set) def get_items(self): return _base.FloatSet_get_items(self) def get_item(self, index): return _base.FloatSet_get_item(self, index) def back(self, *args): return _base.FloatSet_back(self, *args) def get_array(self, array): return _base.FloatSet_get_array(self, array) def get_list(self, list): return _base.FloatSet_get_list(self, list) def get_vector(self, vector): return _base.FloatSet_get_vector(self, vector) def to_array(self): return _base.FloatSet_to_array(self) def add(self, *args): return _base.FloatSet_add(self, *args) def remove(self, index): return _base.FloatSet_remove(self, index) def remove_item(self, item): return _base.FloatSet_remove_item(self, item) def remove_set(self, set): return _base.FloatSet_remove_set(self, set) def remove_all(self): return _base.FloatSet_remove_all(self) def toggle(self, item): return _base.FloatSet_toggle(self, item) def unite(self, set): return _base.FloatSet_unite(self, set) def intersect(self, set): return _base.FloatSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.FloatSet___eq__(self, set) def __ne__(self, set): return _base.FloatSet___ne__(self, set) def begin(self, *args): return _base.FloatSet_begin(self, *args) def end(self, *args): return _base.FloatSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.FloatSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.FloatSet_get_linear_search_threshold def get_memory_size(self): return _base.FloatSet_get_memory_size(self) def __setitem__(self, index, value): return _base.FloatSet___setitem__(self, index, value) def __len__(self): return _base.FloatSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_FloatSet __del__ = lambda self: None FloatSet_swigregister = _base.FloatSet_swigregister FloatSet_swigregister(FloatSet) def FloatSet_get_linear_search_threshold(): return _base.FloatSet_get_linear_search_threshold() FloatSet_get_linear_search_threshold = _base.FloatSet_get_linear_search_threshold class DoubleBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DoubleBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.DoubleBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_DoubleBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_DoubleBasicArray __del__ = lambda self: None def get_count(self): return _base.DoubleBasicArray_get_count(self) def get_item(self, index): return _base.DoubleBasicArray_get_item(self, index) def set_item(self, index, item): return _base.DoubleBasicArray_set_item(self, index, item) def front(self): return _base.DoubleBasicArray_front(self) def back(self): return _base.DoubleBasicArray_back(self) def exists(self, item): return _base.DoubleBasicArray_exists(self, item) def get_index(self, item): return _base.DoubleBasicArray_get_index(self, item) def sub(self, index, count): return _base.DoubleBasicArray_sub(self, index, count) def get_memory_size(self): return _base.DoubleBasicArray_get_memory_size(self) def begin(self, *args): return _base.DoubleBasicArray_begin(self, *args) def end(self, *args): return _base.DoubleBasicArray_end(self, *args) def get_class_info(self): return _base.DoubleBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.DoubleBasicArray_class_info) else: class_info = _base.DoubleBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.DoubleBasicArray____class_destructor__) else: ___class_destructor__ = _base.DoubleBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.DoubleBasicArray___setitem__(self, index, value) def __len__(self): return _base.DoubleBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True DoubleBasicArray_swigregister = _base.DoubleBasicArray_swigregister DoubleBasicArray_swigregister(DoubleBasicArray) def DoubleBasicArray_class_info(): return _base.DoubleBasicArray_class_info() DoubleBasicArray_class_info = _base.DoubleBasicArray_class_info def DoubleBasicArray____class_destructor__(instance, is_array): return _base.DoubleBasicArray____class_destructor__(instance, is_array) DoubleBasicArray____class_destructor__ = _base.DoubleBasicArray____class_destructor__ class DoubleArray(DoubleBasicArray): __swig_setmethods__ = {} for _s in [DoubleBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleArray, name, value) __swig_getmethods__ = {} for _s in [DoubleBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DoubleArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_DoubleArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_DoubleArray __del__ = lambda self: None def append(self, *args): return _base.DoubleArray_append(self, *args) def get_count(self): return _base.DoubleArray_get_count(self) def remove_all(self): return _base.DoubleArray_remove_all(self) def resize(self, *args): return _base.DoubleArray_resize(self, *args) def copy_from(self, *args): return _base.DoubleArray_copy_from(self, *args) def copy_to(self, dest): return _base.DoubleArray_copy_to(self, dest) def get_list(self, list): return _base.DoubleArray_get_list(self, list) def set_list(self, list): return _base.DoubleArray_set_list(self, list) def get_memory_size(self): return _base.DoubleArray_get_memory_size(self) def get_class_info(self): return _base.DoubleArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.DoubleArray_class_info) else: class_info = _base.DoubleArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.DoubleArray____class_destructor__) else: ___class_destructor__ = _base.DoubleArray____class_destructor__ DoubleArray_swigregister = _base.DoubleArray_swigregister DoubleArray_swigregister(DoubleArray) def DoubleArray_class_info(): return _base.DoubleArray_class_info() DoubleArray_class_info = _base.DoubleArray_class_info def DoubleArray____class_destructor__(instance, is_array): return _base.DoubleArray____class_destructor__(instance, is_array) DoubleArray____class_destructor__ = _base.DoubleArray____class_destructor__ class DoubleVector(DoubleBasicArray): __swig_setmethods__ = {} for _s in [DoubleBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleVector, name, value) __swig_getmethods__ = {} for _s in [DoubleBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DoubleVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_DoubleVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_DoubleVector __del__ = lambda self: None def append(self, *args): return _base.DoubleVector_append(self, *args) def add(self, element): return _base.DoubleVector_add(self, element) def insert(self, element, index): return _base.DoubleVector_insert(self, element, index) def remove_last(self): return _base.DoubleVector_remove_last(self) def empty(self): return _base.DoubleVector_empty(self) def remove_all(self): return _base.DoubleVector_remove_all(self) def clear(self, *args): return _base.DoubleVector_clear(self, *args) def remove(self, *args): return _base.DoubleVector_remove(self, *args) def is_empty(self): return _base.DoubleVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.DoubleVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.DoubleVector_remove_items(self, item) def get_count(self): return _base.DoubleVector_get_count(self) def get_capacity(self): return _base.DoubleVector_get_capacity(self) def set_count(self, *args): return _base.DoubleVector_set_count(self, *args) def set_capacity(self, *args): return _base.DoubleVector_set_capacity(self, *args) def refit(self): return _base.DoubleVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.DoubleVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.DoubleVector_resize(self, *args) def reserve(self, *args): return _base.DoubleVector_reserve(self, *args) def copy_from(self, *args): return _base.DoubleVector_copy_from(self, *args) def copy_to(self, dest): return _base.DoubleVector_copy_to(self, dest) def get_list(self, list): return _base.DoubleVector_get_list(self, list) def set_list(self, list): return _base.DoubleVector_set_list(self, list) def get_array(self, array): return _base.DoubleVector_get_array(self, array) def set_array(self, array): return _base.DoubleVector_set_array(self, array) def move(self, arg2, to): return _base.DoubleVector_move(self, arg2, to) def item(self, index): return _base.DoubleVector_item(self, index) def get_memory_size(self): return _base.DoubleVector_get_memory_size(self) def get_class_info(self): return _base.DoubleVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.DoubleVector_class_info) else: class_info = _base.DoubleVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.DoubleVector____class_destructor__) else: ___class_destructor__ = _base.DoubleVector____class_destructor__ DoubleVector_swigregister = _base.DoubleVector_swigregister DoubleVector_swigregister(DoubleVector) def DoubleVector_class_info(): return _base.DoubleVector_class_info() DoubleVector_class_info = _base.DoubleVector_class_info def DoubleVector____class_destructor__(instance, is_array): return _base.DoubleVector____class_destructor__(instance, is_array) DoubleVector____class_destructor__ = _base.DoubleVector____class_destructor__ class DoubleSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DoubleSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_DoubleSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.DoubleSet_get_count(self) def exists(self, *args): return _base.DoubleSet_exists(self, *args) def is_empty(self): return _base.DoubleSet_is_empty(self) def is_included(self, set): return _base.DoubleSet_is_included(self, set) def get_items(self): return _base.DoubleSet_get_items(self) def get_item(self, index): return _base.DoubleSet_get_item(self, index) def back(self, *args): return _base.DoubleSet_back(self, *args) def get_array(self, array): return _base.DoubleSet_get_array(self, array) def get_list(self, list): return _base.DoubleSet_get_list(self, list) def get_vector(self, vector): return _base.DoubleSet_get_vector(self, vector) def to_array(self): return _base.DoubleSet_to_array(self) def add(self, *args): return _base.DoubleSet_add(self, *args) def remove(self, index): return _base.DoubleSet_remove(self, index) def remove_item(self, item): return _base.DoubleSet_remove_item(self, item) def remove_set(self, set): return _base.DoubleSet_remove_set(self, set) def remove_all(self): return _base.DoubleSet_remove_all(self) def toggle(self, item): return _base.DoubleSet_toggle(self, item) def unite(self, set): return _base.DoubleSet_unite(self, set) def intersect(self, set): return _base.DoubleSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.DoubleSet___eq__(self, set) def __ne__(self, set): return _base.DoubleSet___ne__(self, set) def begin(self, *args): return _base.DoubleSet_begin(self, *args) def end(self, *args): return _base.DoubleSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.DoubleSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.DoubleSet_get_linear_search_threshold def get_memory_size(self): return _base.DoubleSet_get_memory_size(self) def __setitem__(self, index, value): return _base.DoubleSet___setitem__(self, index, value) def __len__(self): return _base.DoubleSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_DoubleSet __del__ = lambda self: None DoubleSet_swigregister = _base.DoubleSet_swigregister DoubleSet_swigregister(DoubleSet) def DoubleSet_get_linear_search_threshold(): return _base.DoubleSet_get_linear_search_threshold() DoubleSet_get_linear_search_threshold = _base.DoubleSet_get_linear_search_threshold GMATH_EXPF_DECAY_LIMIT = _base.GMATH_EXPF_DECAY_LIMIT GMATH_EXPD_DECAY_LIMIT = _base.GMATH_EXPD_DECAY_LIMIT AXIS_X = _base.AXIS_X AXIS_Y = _base.AXIS_Y AXIS_Z = _base.AXIS_Z AXIS_COUNT = _base.AXIS_COUNT def gmath_get_axis_name(axis): return _base.gmath_get_axis_name(axis) gmath_get_axis_name = _base.gmath_get_axis_name GMATH_ROTATION_ORDER_ZYX = _base.GMATH_ROTATION_ORDER_ZYX GMATH_ROTATION_ORDER_YZX = _base.GMATH_ROTATION_ORDER_YZX GMATH_ROTATION_ORDER_XZY = _base.GMATH_ROTATION_ORDER_XZY GMATH_ROTATION_ORDER_ZXY = _base.GMATH_ROTATION_ORDER_ZXY GMATH_ROTATION_ORDER_YXZ = _base.GMATH_ROTATION_ORDER_YXZ GMATH_ROTATION_ORDER_XYZ = _base.GMATH_ROTATION_ORDER_XYZ GMATH_ROTATION_ORDER_COUNT = _base.GMATH_ROTATION_ORDER_COUNT def gmath_get_rotation_order_axis(rot_order, position): return _base.gmath_get_rotation_order_axis(rot_order, position) gmath_get_rotation_order_axis = _base.gmath_get_rotation_order_axis def gmath_get_rotation_order_name(order): return _base.gmath_get_rotation_order_name(order) gmath_get_rotation_order_name = _base.gmath_get_rotation_order_name def gmath_isfinitef(v): return _base.gmath_isfinitef(v) gmath_isfinitef = _base.gmath_isfinitef def gmath_isfinited(v): return _base.gmath_isfinited(v) gmath_isfinited = _base.gmath_isfinited def gmath_isfiniteld(v): return _base.gmath_isfiniteld(v) gmath_isfiniteld = _base.gmath_isfiniteld def gmath_isnanf(v): return _base.gmath_isnanf(v) gmath_isnanf = _base.gmath_isnanf def gmath_isnand(v): return _base.gmath_isnand(v) gmath_isnand = _base.gmath_isnand def gmath_isnanld(v): return _base.gmath_isnanld(v) gmath_isnanld = _base.gmath_isnanld def gmath_isinff(v): return _base.gmath_isinff(v) gmath_isinff = _base.gmath_isinff def gmath_isinfd(v): return _base.gmath_isinfd(v) gmath_isinfd = _base.gmath_isinfd def gmath_isinfld(v): return _base.gmath_isinfld(v) gmath_isinfld = _base.gmath_isinfld def gmath_next_pow2(x): return _base.gmath_next_pow2(x) gmath_next_pow2 = _base.gmath_next_pow2 def gmath_is_pow2(v): return _base.gmath_is_pow2(v) gmath_is_pow2 = _base.gmath_is_pow2 def gmath_round(*args): return _base.gmath_round(*args) gmath_round = _base.gmath_round def gmath_mini(a, b): return _base.gmath_mini(a, b) gmath_mini = _base.gmath_mini def gmath_maxi(a, b): return _base.gmath_maxi(a, b) gmath_maxi = _base.gmath_maxi def gmath_modi(i, d): return _base.gmath_modi(i, d) gmath_modi = _base.gmath_modi def gmath_minui(a, b): return _base.gmath_minui(a, b) gmath_minui = _base.gmath_minui def gmath_maxui(a, b): return _base.gmath_maxui(a, b) gmath_maxui = _base.gmath_maxui def gmath_minf(a, b): return _base.gmath_minf(a, b) gmath_minf = _base.gmath_minf def gmath_maxf(a, b): return _base.gmath_maxf(a, b) gmath_maxf = _base.gmath_maxf def gmath_mind(a, b): return _base.gmath_mind(a, b) gmath_mind = _base.gmath_mind def gmath_maxd(a, b): return _base.gmath_maxd(a, b) gmath_maxd = _base.gmath_maxd def gmath_clampi(v, min, max): return _base.gmath_clampi(v, min, max) gmath_clampi = _base.gmath_clampi def gmath_clampf(v, min, max): return _base.gmath_clampf(v, min, max) gmath_clampf = _base.gmath_clampf def gmath_clampd(v, min, max): return _base.gmath_clampd(v, min, max) gmath_clampd = _base.gmath_clampd def gmath_lerpf(a, b, t): return _base.gmath_lerpf(a, b, t) gmath_lerpf = _base.gmath_lerpf def gmath_lerpd(a, b, t): return _base.gmath_lerpd(a, b, t) gmath_lerpd = _base.gmath_lerpd def gmath_smooth_stepf(a, b, x): return _base.gmath_smooth_stepf(a, b, x) gmath_smooth_stepf = _base.gmath_smooth_stepf def gmath_smooth_stepd(a, b, x): return _base.gmath_smooth_stepd(a, b, x) gmath_smooth_stepd = _base.gmath_smooth_stepd def gmath_lut_lerpf(lut_sample_count, value, span_index, span_weight): return _base.gmath_lut_lerpf(lut_sample_count, value, span_index, span_weight) gmath_lut_lerpf = _base.gmath_lut_lerpf def gmath_lut_lerpd(lut_sample_count, value, span_index, span_weight): return _base.gmath_lut_lerpd(lut_sample_count, value, span_index, span_weight) gmath_lut_lerpd = _base.gmath_lut_lerpd def gmath_epsilon_gt(*args): return _base.gmath_epsilon_gt(*args) gmath_epsilon_gt = _base.gmath_epsilon_gt def gmath_epsilon_lt(*args): return _base.gmath_epsilon_lt(*args) gmath_epsilon_lt = _base.gmath_epsilon_lt def gmath_epsilon_geq(*args): return _base.gmath_epsilon_geq(*args) gmath_epsilon_geq = _base.gmath_epsilon_geq def gmath_epsilon_leq(*args): return _base.gmath_epsilon_leq(*args) gmath_epsilon_leq = _base.gmath_epsilon_leq def gmath_div_ceili(x, y): return _base.gmath_div_ceili(x, y) gmath_div_ceili = _base.gmath_div_ceili def gmath_div_floori(x, y): return _base.gmath_div_floori(x, y) gmath_div_floori = _base.gmath_div_floori def gmath_div_roundi(x, y): return _base.gmath_div_roundi(x, y) gmath_div_roundi = _base.gmath_div_roundi def gmath_epsilon_eq(*args): return _base.gmath_epsilon_eq(*args) gmath_epsilon_eq = _base.gmath_epsilon_eq def gmath_epsilon_neq(*args): return _base.gmath_epsilon_neq(*args) gmath_epsilon_neq = _base.gmath_epsilon_neq class GMathQuat(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, GMathQuat, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, GMathQuat, name) def __init__(self, *args): this = _base.new_GMathQuat(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this if _newclass: get_identity = staticmethod(_base.GMathQuat_get_identity) else: get_identity = _base.GMathQuat_get_identity def conjugate(self): return _base.GMathQuat_conjugate(self) def conjugated(self): return _base.GMathQuat_conjugated(self) def invert(self): return _base.GMathQuat_invert(self) def inverse(self): return _base.GMathQuat_inverse(self) def set_rotation(self, *args): return _base.GMathQuat_set_rotation(self, *args) def get_rotation(self, *args): return _base.GMathQuat_get_rotation(self, *args) def rotate(self, v): return _base.GMathQuat_rotate(self, v) def get_sqr_norm(self): return _base.GMathQuat_get_sqr_norm(self) def get_length(self): return _base.GMathQuat_get_length(self) def normalize(self): return _base.GMathQuat_normalize(self) def normalized(self): return _base.GMathQuat_normalized(self) def get_w(self): return _base.GMathQuat_get_w(self) def get_xyz(self): return _base.GMathQuat_get_xyz(self) def is_equal_to(self, *args): return _base.GMathQuat_is_equal_to(self, *args) def dot(self, q): return _base.GMathQuat_dot(self, q) def swing_twist_decomposition(self, direction, swing, twist): return _base.GMathQuat_swing_twist_decomposition(self, direction, swing, twist) def slerp(self, *args): return _base.GMathQuat_slerp(self, *args) def __add__(self, q): return _base.GMathQuat___add__(self, q) def __sub__(self, q): return _base.GMathQuat___sub__(self, q) def __neg__(self): return _base.GMathQuat___neg__(self) def __mul__(self, *args): return _base.GMathQuat___mul__(self, *args) def __imul__(self, d): return _base.GMathQuat___imul__(self, d) def __itruediv__(self, *args): return _base.GMathQuat___itruediv__(self, *args) __idiv__ = __itruediv__ def __eq__(self, q): if not isinstance(obj, type(self)): return False return _base.GMathQuat___eq__(self, q) def __ne__(self, q): return _base.GMathQuat___ne__(self, q) def __repr__(self): return _base.GMathQuat___repr__(self) __swig_destroy__ = _base.delete_GMathQuat __del__ = lambda self: None GMathQuat_swigregister = _base.GMathQuat_swigregister GMathQuat_swigregister(GMathQuat) def GMathQuat_get_identity(): return _base.GMathQuat_get_identity() GMathQuat_get_identity = _base.GMathQuat_get_identity def core_get_hash(*args): return _base.core_get_hash(*args) core_get_hash = _base.core_get_hash def gmath_intersect_bbox2f(*args): return _base.gmath_intersect_bbox2f(*args) gmath_intersect_bbox2f = _base.gmath_intersect_bbox2f class GMathTimeSampling(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathTimeSampling, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathTimeSampling, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathTimeSampling(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def init(self, *args): return _base.GMathTimeSampling_init(self, *args) def clear(self): return _base.GMathTimeSampling_clear(self) def apply_offset(self, offset): return _base.GMathTimeSampling_apply_offset(self, offset) def copy_from(self, other, offset=0.0): return _base.GMathTimeSampling_copy_from(self, other, offset) def get_memory_size(self): return _base.GMathTimeSampling_get_memory_size(self) def is_uniform(self): return _base.GMathTimeSampling_is_uniform(self) def get_sample_spacing(self): return _base.GMathTimeSampling_get_sample_spacing(self) def get_sample_frequency(self): return _base.GMathTimeSampling_get_sample_frequency(self) def get_sample_count(self): return _base.GMathTimeSampling_get_sample_count(self) def get_sample_time(self, index): return _base.GMathTimeSampling_get_sample_time(self, index) def get_start_time(self): return _base.GMathTimeSampling_get_start_time(self) def get_end_time(self): return _base.GMathTimeSampling_get_end_time(self) def get_samples(self): return _base.GMathTimeSampling_get_samples(self) def get_span(self, time, span_index, span_t): return _base.GMathTimeSampling_get_span(self, time, span_index, span_t) def get_floor_sample(self, time): return _base.GMathTimeSampling_get_floor_sample(self, time) def get_nearest_sample(self, time): return _base.GMathTimeSampling_get_nearest_sample(self, time) def get_ceil_sample(self, time): return _base.GMathTimeSampling_get_ceil_sample(self, time) def get_serial_size(self): return _base.GMathTimeSampling_get_serial_size(self) def serialize(self, serial): return _base.GMathTimeSampling_serialize(self, serial) def deserialize(self, serial): return _base.GMathTimeSampling_deserialize(self, serial) if _newclass: class_info = staticmethod(_base.GMathTimeSampling_class_info) else: class_info = _base.GMathTimeSampling_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathTimeSampling____class_destructor__) else: ___class_destructor__ = _base.GMathTimeSampling____class_destructor__ def get_class_info(self): return _base.GMathTimeSampling_get_class_info(self) __swig_destroy__ = _base.delete_GMathTimeSampling __del__ = lambda self: None GMathTimeSampling_swigregister = _base.GMathTimeSampling_swigregister GMathTimeSampling_swigregister(GMathTimeSampling) def GMathTimeSampling_class_info(): return _base.GMathTimeSampling_class_info() GMathTimeSampling_class_info = _base.GMathTimeSampling_class_info def GMathTimeSampling____class_destructor__(instance, is_array): return _base.GMathTimeSampling____class_destructor__(instance, is_array) GMathTimeSampling____class_destructor__ = _base.GMathTimeSampling____class_destructor__ class GMathHalfFloatConverter(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, GMathHalfFloatConverter, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, GMathHalfFloatConverter, name) __repr__ = _swig_repr if _newclass: convert_half_to_float = staticmethod(_base.GMathHalfFloatConverter_convert_half_to_float) else: convert_half_to_float = _base.GMathHalfFloatConverter_convert_half_to_float if _newclass: convert_float_to_half = staticmethod(_base.GMathHalfFloatConverter_convert_float_to_half) else: convert_float_to_half = _base.GMathHalfFloatConverter_convert_float_to_half if _newclass: convert_normalized_half_to_float = staticmethod(_base.GMathHalfFloatConverter_convert_normalized_half_to_float) else: convert_normalized_half_to_float = _base.GMathHalfFloatConverter_convert_normalized_half_to_float if _newclass: convert_float_to_normalized_half = staticmethod(_base.GMathHalfFloatConverter_convert_float_to_normalized_half) else: convert_float_to_normalized_half = _base.GMathHalfFloatConverter_convert_float_to_normalized_half def __init__(self): this = _base.new_GMathHalfFloatConverter() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathHalfFloatConverter __del__ = lambda self: None GMathHalfFloatConverter_swigregister = _base.GMathHalfFloatConverter_swigregister GMathHalfFloatConverter_swigregister(GMathHalfFloatConverter) def GMathHalfFloatConverter_convert_half_to_float(h): return _base.GMathHalfFloatConverter_convert_half_to_float(h) GMathHalfFloatConverter_convert_half_to_float = _base.GMathHalfFloatConverter_convert_half_to_float def GMathHalfFloatConverter_convert_float_to_half(f): return _base.GMathHalfFloatConverter_convert_float_to_half(f) GMathHalfFloatConverter_convert_float_to_half = _base.GMathHalfFloatConverter_convert_float_to_half def GMathHalfFloatConverter_convert_normalized_half_to_float(n): return _base.GMathHalfFloatConverter_convert_normalized_half_to_float(n) GMathHalfFloatConverter_convert_normalized_half_to_float = _base.GMathHalfFloatConverter_convert_normalized_half_to_float def GMathHalfFloatConverter_convert_float_to_normalized_half(f): return _base.GMathHalfFloatConverter_convert_float_to_normalized_half(f) GMathHalfFloatConverter_convert_float_to_normalized_half = _base.GMathHalfFloatConverter_convert_float_to_normalized_half class GMathHalfFloat(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, GMathHalfFloat, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, GMathHalfFloat, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathHalfFloat(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def __neg__(self): return _base.GMathHalfFloat___neg__(self) def __add__(self, h): return _base.GMathHalfFloat___add__(self, h) def __iadd__(self, *args): return _base.GMathHalfFloat___iadd__(self, *args) def __sub__(self, h): return _base.GMathHalfFloat___sub__(self, h) def __isub__(self, *args): return _base.GMathHalfFloat___isub__(self, *args) def __mul__(self, h): return _base.GMathHalfFloat___mul__(self, h) def __imul__(self, *args): return _base.GMathHalfFloat___imul__(self, *args) def __truediv__(self, *args): return _base.GMathHalfFloat___truediv__(self, *args) __div__ = __truediv__ def __itruediv__(self, *args): return _base.GMathHalfFloat___itruediv__(self, *args) __idiv__ = __itruediv__ __swig_destroy__ = _base.delete_GMathHalfFloat __del__ = lambda self: None GMathHalfFloat_swigregister = _base.GMathHalfFloat_swigregister GMathHalfFloat_swigregister(GMathHalfFloat) class GMathHalfFloatNormalized(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, GMathHalfFloatNormalized, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, GMathHalfFloatNormalized, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathHalfFloatNormalized(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def __neg__(self): return _base.GMathHalfFloatNormalized___neg__(self) def is_null(self): return _base.GMathHalfFloatNormalized_is_null(self) def __eq__(self, n): if not isinstance(obj, type(self)): return False return _base.GMathHalfFloatNormalized___eq__(self, n) def __ne__(self, n): return _base.GMathHalfFloatNormalized___ne__(self, n) __swig_destroy__ = _base.delete_GMathHalfFloatNormalized __del__ = lambda self: None GMathHalfFloatNormalized_swigregister = _base.GMathHalfFloatNormalized_swigregister GMathHalfFloatNormalized_swigregister(GMathHalfFloatNormalized) class GMathQuatBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathQuatBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathQuatBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathQuatBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathQuatBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathQuatBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathQuatBasicArray_get_count(self) def get_item(self, index): return _base.GMathQuatBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathQuatBasicArray_set_item(self, index, item) def front(self): return _base.GMathQuatBasicArray_front(self) def back(self): return _base.GMathQuatBasicArray_back(self) def exists(self, item): return _base.GMathQuatBasicArray_exists(self, item) def get_index(self, item): return _base.GMathQuatBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathQuatBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathQuatBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathQuatBasicArray_begin(self, *args) def end(self, *args): return _base.GMathQuatBasicArray_end(self, *args) def get_class_info(self): return _base.GMathQuatBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathQuatBasicArray_class_info) else: class_info = _base.GMathQuatBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathQuatBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathQuatBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathQuatBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathQuatBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathQuatBasicArray_swigregister = _base.GMathQuatBasicArray_swigregister GMathQuatBasicArray_swigregister(GMathQuatBasicArray) def GMathQuatBasicArray_class_info(): return _base.GMathQuatBasicArray_class_info() GMathQuatBasicArray_class_info = _base.GMathQuatBasicArray_class_info def GMathQuatBasicArray____class_destructor__(instance, is_array): return _base.GMathQuatBasicArray____class_destructor__(instance, is_array) GMathQuatBasicArray____class_destructor__ = _base.GMathQuatBasicArray____class_destructor__ class GMathQuatArray(GMathQuatBasicArray): __swig_setmethods__ = {} for _s in [GMathQuatBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathQuatArray, name, value) __swig_getmethods__ = {} for _s in [GMathQuatBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathQuatArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathQuatArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathQuatArray __del__ = lambda self: None def append(self, *args): return _base.GMathQuatArray_append(self, *args) def get_count(self): return _base.GMathQuatArray_get_count(self) def remove_all(self): return _base.GMathQuatArray_remove_all(self) def resize(self, *args): return _base.GMathQuatArray_resize(self, *args) def copy_from(self, *args): return _base.GMathQuatArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathQuatArray_copy_to(self, dest) def get_list(self, list): return _base.GMathQuatArray_get_list(self, list) def set_list(self, list): return _base.GMathQuatArray_set_list(self, list) def get_memory_size(self): return _base.GMathQuatArray_get_memory_size(self) def get_class_info(self): return _base.GMathQuatArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathQuatArray_class_info) else: class_info = _base.GMathQuatArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathQuatArray____class_destructor__) else: ___class_destructor__ = _base.GMathQuatArray____class_destructor__ GMathQuatArray_swigregister = _base.GMathQuatArray_swigregister GMathQuatArray_swigregister(GMathQuatArray) def GMathQuatArray_class_info(): return _base.GMathQuatArray_class_info() GMathQuatArray_class_info = _base.GMathQuatArray_class_info def GMathQuatArray____class_destructor__(instance, is_array): return _base.GMathQuatArray____class_destructor__(instance, is_array) GMathQuatArray____class_destructor__ = _base.GMathQuatArray____class_destructor__ class GMathQuatVector(GMathQuatBasicArray): __swig_setmethods__ = {} for _s in [GMathQuatBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathQuatVector, name, value) __swig_getmethods__ = {} for _s in [GMathQuatBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathQuatVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathQuatVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathQuatVector __del__ = lambda self: None def append(self, *args): return _base.GMathQuatVector_append(self, *args) def add(self, element): return _base.GMathQuatVector_add(self, element) def insert(self, element, index): return _base.GMathQuatVector_insert(self, element, index) def remove_last(self): return _base.GMathQuatVector_remove_last(self) def empty(self): return _base.GMathQuatVector_empty(self) def remove_all(self): return _base.GMathQuatVector_remove_all(self) def clear(self, *args): return _base.GMathQuatVector_clear(self, *args) def remove(self, *args): return _base.GMathQuatVector_remove(self, *args) def is_empty(self): return _base.GMathQuatVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathQuatVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathQuatVector_remove_items(self, item) def get_count(self): return _base.GMathQuatVector_get_count(self) def get_capacity(self): return _base.GMathQuatVector_get_capacity(self) def set_count(self, *args): return _base.GMathQuatVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathQuatVector_set_capacity(self, *args) def refit(self): return _base.GMathQuatVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathQuatVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathQuatVector_resize(self, *args) def reserve(self, *args): return _base.GMathQuatVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathQuatVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathQuatVector_copy_to(self, dest) def get_list(self, list): return _base.GMathQuatVector_get_list(self, list) def set_list(self, list): return _base.GMathQuatVector_set_list(self, list) def get_array(self, array): return _base.GMathQuatVector_get_array(self, array) def set_array(self, array): return _base.GMathQuatVector_set_array(self, array) def move(self, arg2, to): return _base.GMathQuatVector_move(self, arg2, to) def item(self, index): return _base.GMathQuatVector_item(self, index) def get_memory_size(self): return _base.GMathQuatVector_get_memory_size(self) def get_class_info(self): return _base.GMathQuatVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathQuatVector_class_info) else: class_info = _base.GMathQuatVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathQuatVector____class_destructor__) else: ___class_destructor__ = _base.GMathQuatVector____class_destructor__ GMathQuatVector_swigregister = _base.GMathQuatVector_swigregister GMathQuatVector_swigregister(GMathQuatVector) def GMathQuatVector_class_info(): return _base.GMathQuatVector_class_info() GMathQuatVector_class_info = _base.GMathQuatVector_class_info def GMathQuatVector____class_destructor__(instance, is_array): return _base.GMathQuatVector____class_destructor__(instance, is_array) GMathQuatVector____class_destructor__ = _base.GMathQuatVector____class_destructor__ class GMathQuatSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathQuatSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathQuatSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathQuatSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathQuatSet_get_count(self) def exists(self, *args): return _base.GMathQuatSet_exists(self, *args) def is_empty(self): return _base.GMathQuatSet_is_empty(self) def is_included(self, set): return _base.GMathQuatSet_is_included(self, set) def get_items(self): return _base.GMathQuatSet_get_items(self) def get_item(self, index): return _base.GMathQuatSet_get_item(self, index) def back(self, *args): return _base.GMathQuatSet_back(self, *args) def get_array(self, array): return _base.GMathQuatSet_get_array(self, array) def get_list(self, list): return _base.GMathQuatSet_get_list(self, list) def get_vector(self, vector): return _base.GMathQuatSet_get_vector(self, vector) def to_array(self): return _base.GMathQuatSet_to_array(self) def add(self, *args): return _base.GMathQuatSet_add(self, *args) def remove(self, index): return _base.GMathQuatSet_remove(self, index) def remove_item(self, item): return _base.GMathQuatSet_remove_item(self, item) def remove_set(self, set): return _base.GMathQuatSet_remove_set(self, set) def remove_all(self): return _base.GMathQuatSet_remove_all(self) def toggle(self, item): return _base.GMathQuatSet_toggle(self, item) def unite(self, set): return _base.GMathQuatSet_unite(self, set) def intersect(self, set): return _base.GMathQuatSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathQuatSet___eq__(self, set) def __ne__(self, set): return _base.GMathQuatSet___ne__(self, set) def begin(self, *args): return _base.GMathQuatSet_begin(self, *args) def end(self, *args): return _base.GMathQuatSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathQuatSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathQuatSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathQuatSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathQuatSet___setitem__(self, index, value) def __len__(self): return _base.GMathQuatSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathQuatSet __del__ = lambda self: None GMathQuatSet_swigregister = _base.GMathQuatSet_swigregister GMathQuatSet_swigregister(GMathQuatSet) def GMathQuatSet_get_linear_search_threshold(): return _base.GMathQuatSet_get_linear_search_threshold() GMathQuatSet_get_linear_search_threshold = _base.GMathQuatSet_get_linear_search_threshold class GMathVec2uc(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2uc, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2uc, name) def __init__(self, *args): this = _base.new_GMathVec2uc(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec2uc_nullify(self) def get_value(self, index): return _base.GMathVec2uc_get_value(self, index) def set_value(self, index, value): return _base.GMathVec2uc_set_value(self, index, value) def get_width(self): return _base.GMathVec2uc_get_width(self) def set_width(self, width): return _base.GMathVec2uc_set_width(self, width) def get_height(self): return _base.GMathVec2uc_get_height(self) def set_height(self, height): return _base.GMathVec2uc_set_height(self, height) def get_x(self): return _base.GMathVec2uc_get_x(self) def set_x(self, x): return _base.GMathVec2uc_set_x(self, x) def get_y(self): return _base.GMathVec2uc_get_y(self) def set_y(self, y): return _base.GMathVec2uc_set_y(self, y) def get_red(self): return _base.GMathVec2uc_get_red(self) def get_u(self): return _base.GMathVec2uc_get_u(self) def set_u(self, u): return _base.GMathVec2uc_set_u(self, u) def get_v(self): return _base.GMathVec2uc_get_v(self) def set_v(self, v): return _base.GMathVec2uc_set_v(self, v) def sub(self, *args): return _base.GMathVec2uc_sub(self, *args) def absolute(self): return _base.GMathVec2uc_absolute(self) def get_sqr_length(self): return _base.GMathVec2uc_get_sqr_length(self) def get_length(self): return _base.GMathVec2uc_get_length(self) def get_max_norm_signed(self): return _base.GMathVec2uc_get_max_norm_signed(self) def get_max_norm(self): return _base.GMathVec2uc_get_max_norm(self) def normalize(self, *args): return _base.GMathVec2uc_normalize(self, *args) def get_copy(self): return _base.GMathVec2uc_get_copy(self) def copy_from(self, v): return _base.GMathVec2uc_copy_from(self, v) def copy_to(self, v): return _base.GMathVec2uc_copy_to(self, v) def is_null(self, *args): return _base.GMathVec2uc_is_null(self, *args) def is_finite(self): return _base.GMathVec2uc_is_finite(self) def __eq__(self, v): if not isinstance(obj, type(self)): return False return _base.GMathVec2uc___eq__(self, v) def __ne__(self, v): return _base.GMathVec2uc___ne__(self, v) def __iadd__(self, *args): return _base.GMathVec2uc___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec2uc___add__(self, *args) def __isub__(self, *args): return _base.GMathVec2uc___isub__(self, *args) def __neg__(self): return _base.GMathVec2uc___neg__(self) def __sub__(self, *args): return _base.GMathVec2uc___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec2uc___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec2uc___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec2uc___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec2uc___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec2uc_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2uc_class_info) else: class_info = _base.GMathVec2uc_class_info if _newclass: register_methods = staticmethod(_base.GMathVec2uc_register_methods) else: register_methods = _base.GMathVec2uc_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2uc____class_destructor__) else: ___class_destructor__ = _base.GMathVec2uc____class_destructor__ def __repr__(self): return _base.GMathVec2uc___repr__(self) def __setitem__(self, index, value): return _base.GMathVec2uc___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec2uc___getitem__(self, index) def __len__(self): return _base.GMathVec2uc___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2uc __del__ = lambda self: None GMathVec2uc_swigregister = _base.GMathVec2uc_swigregister GMathVec2uc_swigregister(GMathVec2uc) def GMathVec2uc_class_info(): return _base.GMathVec2uc_class_info() GMathVec2uc_class_info = _base.GMathVec2uc_class_info def GMathVec2uc_register_methods(arg2): return _base.GMathVec2uc_register_methods(arg2) GMathVec2uc_register_methods = _base.GMathVec2uc_register_methods def GMathVec2uc____class_destructor__(instance, is_array): return _base.GMathVec2uc____class_destructor__(instance, is_array) GMathVec2uc____class_destructor__ = _base.GMathVec2uc____class_destructor__ class GMathVec3uc(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3uc, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3uc, name) if _newclass: create_local_axis = staticmethod(_base.GMathVec3uc_create_local_axis) else: create_local_axis = _base.GMathVec3uc_create_local_axis def __init__(self, *args): this = _base.new_GMathVec3uc(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec3uc_nullify(self) def get_copy(self): return _base.GMathVec3uc_get_copy(self) def copy_from(self, u): return _base.GMathVec3uc_copy_from(self, u) def copy_to(self, u): return _base.GMathVec3uc_copy_to(self, u) def __ne__(self, *args): return _base.GMathVec3uc___ne__(self, *args) def __eq__(self, *args): if not isinstance(obj, type(self)): return False return _base.GMathVec3uc___eq__(self, *args) def __lt__(self, *args): return _base.GMathVec3uc___lt__(self, *args) def __gt__(self, *args): return _base.GMathVec3uc___gt__(self, *args) def __le__(self, *args): return _base.GMathVec3uc___le__(self, *args) def __ge__(self, *args): return _base.GMathVec3uc___ge__(self, *args) def absolute(self): return _base.GMathVec3uc_absolute(self) def get_sqr_norm(self, *args): return _base.GMathVec3uc_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec3uc_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec3uc_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec3uc_get_length(self, *args) def get_l1_norm_signed(self, *args): return _base.GMathVec3uc_get_l1_norm_signed(self, *args) def get_l1_norm(self, *args): return _base.GMathVec3uc_get_l1_norm(self, *args) def get_max_norm_signed(self, *args): return _base.GMathVec3uc_get_max_norm_signed(self, *args) def get_max_norm(self, *args): return _base.GMathVec3uc_get_max_norm(self, *args) def get_min_norm_signed(self, *args): return _base.GMathVec3uc_get_min_norm_signed(self, *args) def get_min_norm(self, *args): return _base.GMathVec3uc_get_min_norm(self, *args) def scale(self, s): return _base.GMathVec3uc_scale(self, s) def get_main_axis(self): return _base.GMathVec3uc_get_main_axis(self) def normalize(self, *args): return _base.GMathVec3uc_normalize(self, *args) def is_null(self, *args): return _base.GMathVec3uc_is_null(self, *args) def is_finite(self): return _base.GMathVec3uc_is_finite(self) def get_data(self, *args): return _base.GMathVec3uc_get_data(self, *args) def __iadd__(self, *args): return _base.GMathVec3uc___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec3uc___add__(self, *args) def __isub__(self, *args): return _base.GMathVec3uc___isub__(self, *args) def __neg__(self): return _base.GMathVec3uc___neg__(self) def __sub__(self, *args): return _base.GMathVec3uc___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec3uc___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec3uc___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec3uc___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec3uc___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec3uc_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3uc_class_info) else: class_info = _base.GMathVec3uc_class_info if _newclass: register_methods = staticmethod(_base.GMathVec3uc_register_methods) else: register_methods = _base.GMathVec3uc_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3uc____class_destructor__) else: ___class_destructor__ = _base.GMathVec3uc____class_destructor__ def __repr__(self): return _base.GMathVec3uc___repr__(self) def __setitem__(self, index, value): return _base.GMathVec3uc___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec3uc___getitem__(self, index) def __len__(self): return _base.GMathVec3uc___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3uc __del__ = lambda self: None GMathVec3uc_swigregister = _base.GMathVec3uc_swigregister GMathVec3uc_swigregister(GMathVec3uc) def GMathVec3uc_create_local_axis(v1, v2, v3): return _base.GMathVec3uc_create_local_axis(v1, v2, v3) GMathVec3uc_create_local_axis = _base.GMathVec3uc_create_local_axis def GMathVec3uc_class_info(): return _base.GMathVec3uc_class_info() GMathVec3uc_class_info = _base.GMathVec3uc_class_info def GMathVec3uc_register_methods(cls): return _base.GMathVec3uc_register_methods(cls) GMathVec3uc_register_methods = _base.GMathVec3uc_register_methods def GMathVec3uc____class_destructor__(instance, is_array): return _base.GMathVec3uc____class_destructor__(instance, is_array) GMathVec3uc____class_destructor__ = _base.GMathVec3uc____class_destructor__ class GMathVec4uc(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4uc, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4uc, name) def __init__(self, *args): this = _base.new_GMathVec4uc(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec4uc_nullify(self) def get_copy(self): return _base.GMathVec4uc_get_copy(self) def copy_from(self, u): return _base.GMathVec4uc_copy_from(self, u) def copy_to(self, u): return _base.GMathVec4uc_copy_to(self, u) def get_value(self, index): return _base.GMathVec4uc_get_value(self, index) def set_value(self, index, value): return _base.GMathVec4uc_set_value(self, index, value) def get_x(self): return _base.GMathVec4uc_get_x(self) def set_x(self, x): return _base.GMathVec4uc_set_x(self, x) def get_y(self): return _base.GMathVec4uc_get_y(self) def set_y(self, y): return _base.GMathVec4uc_set_y(self, y) def get_z(self): return _base.GMathVec4uc_get_z(self) def set_z(self, z): return _base.GMathVec4uc_set_z(self, z) def get_w(self): return _base.GMathVec4uc_get_w(self) def set_w(self, w): return _base.GMathVec4uc_set_w(self, w) def get_red(self): return _base.GMathVec4uc_get_red(self) def set_red(self, red): return _base.GMathVec4uc_set_red(self, red) def get_green(self): return _base.GMathVec4uc_get_green(self) def set_green(self, green): return _base.GMathVec4uc_set_green(self, green) def get_blue(self): return _base.GMathVec4uc_get_blue(self) def set_blue(self, blue): return _base.GMathVec4uc_set_blue(self, blue) def get_alpha(self): return _base.GMathVec4uc_get_alpha(self) def set_alpha(self, alpha): return _base.GMathVec4uc_set_alpha(self, alpha) def get_sqr_norm(self, *args): return _base.GMathVec4uc_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec4uc_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec4uc_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec4uc_get_length(self, *args) def sub(self, *args): return _base.GMathVec4uc_sub(self, *args) def get_data(self, *args): return _base.GMathVec4uc_get_data(self, *args) def is_null(self, *args): return _base.GMathVec4uc_is_null(self, *args) def is_finite(self): return _base.GMathVec4uc_is_finite(self) def __iadd__(self, *args): return _base.GMathVec4uc___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec4uc___add__(self, *args) def __isub__(self, *args): return _base.GMathVec4uc___isub__(self, *args) def __neg__(self): return _base.GMathVec4uc___neg__(self) def __sub__(self, *args): return _base.GMathVec4uc___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec4uc___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec4uc___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec4uc___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec4uc___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec4uc_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4uc_class_info) else: class_info = _base.GMathVec4uc_class_info if _newclass: register_methods = staticmethod(_base.GMathVec4uc_register_methods) else: register_methods = _base.GMathVec4uc_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4uc____class_destructor__) else: ___class_destructor__ = _base.GMathVec4uc____class_destructor__ def __repr__(self): return _base.GMathVec4uc___repr__(self) def __setitem__(self, index, value): return _base.GMathVec4uc___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec4uc___getitem__(self, index) def __len__(self): return _base.GMathVec4uc___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4uc __del__ = lambda self: None GMathVec4uc_swigregister = _base.GMathVec4uc_swigregister GMathVec4uc_swigregister(GMathVec4uc) def GMathVec4uc_class_info(): return _base.GMathVec4uc_class_info() GMathVec4uc_class_info = _base.GMathVec4uc_class_info def GMathVec4uc_register_methods(cls): return _base.GMathVec4uc_register_methods(cls) GMathVec4uc_register_methods = _base.GMathVec4uc_register_methods def GMathVec4uc____class_destructor__(instance, is_array): return _base.GMathVec4uc____class_destructor__(instance, is_array) GMathVec4uc____class_destructor__ = _base.GMathVec4uc____class_destructor__ class GMathVec2ucBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2ucBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2ucBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec2ucBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec2ucBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2ucBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec2ucBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec2ucBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec2ucBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec2ucBasicArray_front(self) def back(self): return _base.GMathVec2ucBasicArray_back(self) def exists(self, item): return _base.GMathVec2ucBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec2ucBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec2ucBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec2ucBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec2ucBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec2ucBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec2ucBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2ucBasicArray_class_info) else: class_info = _base.GMathVec2ucBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2ucBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2ucBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec2ucBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec2ucBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec2ucBasicArray_swigregister = _base.GMathVec2ucBasicArray_swigregister GMathVec2ucBasicArray_swigregister(GMathVec2ucBasicArray) def GMathVec2ucBasicArray_class_info(): return _base.GMathVec2ucBasicArray_class_info() GMathVec2ucBasicArray_class_info = _base.GMathVec2ucBasicArray_class_info def GMathVec2ucBasicArray____class_destructor__(instance, is_array): return _base.GMathVec2ucBasicArray____class_destructor__(instance, is_array) GMathVec2ucBasicArray____class_destructor__ = _base.GMathVec2ucBasicArray____class_destructor__ class GMathVec2ucArray(GMathVec2ucBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2ucBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2ucArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec2ucBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2ucArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2ucArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2ucArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec2ucArray_append(self, *args) def get_count(self): return _base.GMathVec2ucArray_get_count(self) def remove_all(self): return _base.GMathVec2ucArray_remove_all(self) def resize(self, *args): return _base.GMathVec2ucArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec2ucArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2ucArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2ucArray_get_list(self, list) def set_list(self, list): return _base.GMathVec2ucArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec2ucArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec2ucArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2ucArray_class_info) else: class_info = _base.GMathVec2ucArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2ucArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2ucArray____class_destructor__ GMathVec2ucArray_swigregister = _base.GMathVec2ucArray_swigregister GMathVec2ucArray_swigregister(GMathVec2ucArray) def GMathVec2ucArray_class_info(): return _base.GMathVec2ucArray_class_info() GMathVec2ucArray_class_info = _base.GMathVec2ucArray_class_info def GMathVec2ucArray____class_destructor__(instance, is_array): return _base.GMathVec2ucArray____class_destructor__(instance, is_array) GMathVec2ucArray____class_destructor__ = _base.GMathVec2ucArray____class_destructor__ class GMathVec2ucVector(GMathVec2ucBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2ucBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2ucVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec2ucBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2ucVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2ucVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2ucVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec2ucVector_append(self, *args) def add(self, element): return _base.GMathVec2ucVector_add(self, element) def insert(self, element, index): return _base.GMathVec2ucVector_insert(self, element, index) def remove_last(self): return _base.GMathVec2ucVector_remove_last(self) def empty(self): return _base.GMathVec2ucVector_empty(self) def remove_all(self): return _base.GMathVec2ucVector_remove_all(self) def clear(self, *args): return _base.GMathVec2ucVector_clear(self, *args) def remove(self, *args): return _base.GMathVec2ucVector_remove(self, *args) def is_empty(self): return _base.GMathVec2ucVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec2ucVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec2ucVector_remove_items(self, item) def get_count(self): return _base.GMathVec2ucVector_get_count(self) def get_capacity(self): return _base.GMathVec2ucVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec2ucVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec2ucVector_set_capacity(self, *args) def refit(self): return _base.GMathVec2ucVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec2ucVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec2ucVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec2ucVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec2ucVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2ucVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2ucVector_get_list(self, list) def set_list(self, list): return _base.GMathVec2ucVector_set_list(self, list) def get_array(self, array): return _base.GMathVec2ucVector_get_array(self, array) def set_array(self, array): return _base.GMathVec2ucVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec2ucVector_move(self, arg2, to) def item(self, index): return _base.GMathVec2ucVector_item(self, index) def get_memory_size(self): return _base.GMathVec2ucVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec2ucVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2ucVector_class_info) else: class_info = _base.GMathVec2ucVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2ucVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec2ucVector____class_destructor__ GMathVec2ucVector_swigregister = _base.GMathVec2ucVector_swigregister GMathVec2ucVector_swigregister(GMathVec2ucVector) def GMathVec2ucVector_class_info(): return _base.GMathVec2ucVector_class_info() GMathVec2ucVector_class_info = _base.GMathVec2ucVector_class_info def GMathVec2ucVector____class_destructor__(instance, is_array): return _base.GMathVec2ucVector____class_destructor__(instance, is_array) GMathVec2ucVector____class_destructor__ = _base.GMathVec2ucVector____class_destructor__ class GMathVec2ucSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2ucSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2ucSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2ucSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec2ucSet_get_count(self) def exists(self, *args): return _base.GMathVec2ucSet_exists(self, *args) def is_empty(self): return _base.GMathVec2ucSet_is_empty(self) def is_included(self, set): return _base.GMathVec2ucSet_is_included(self, set) def get_items(self): return _base.GMathVec2ucSet_get_items(self) def get_item(self, index): return _base.GMathVec2ucSet_get_item(self, index) def back(self, *args): return _base.GMathVec2ucSet_back(self, *args) def get_array(self, array): return _base.GMathVec2ucSet_get_array(self, array) def get_list(self, list): return _base.GMathVec2ucSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec2ucSet_get_vector(self, vector) def to_array(self): return _base.GMathVec2ucSet_to_array(self) def add(self, *args): return _base.GMathVec2ucSet_add(self, *args) def remove(self, index): return _base.GMathVec2ucSet_remove(self, index) def remove_item(self, item): return _base.GMathVec2ucSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec2ucSet_remove_set(self, set) def remove_all(self): return _base.GMathVec2ucSet_remove_all(self) def toggle(self, item): return _base.GMathVec2ucSet_toggle(self, item) def unite(self, set): return _base.GMathVec2ucSet_unite(self, set) def intersect(self, set): return _base.GMathVec2ucSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec2ucSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec2ucSet___ne__(self, set) def begin(self, *args): return _base.GMathVec2ucSet_begin(self, *args) def end(self, *args): return _base.GMathVec2ucSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec2ucSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec2ucSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec2ucSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec2ucSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec2ucSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2ucSet __del__ = lambda self: None GMathVec2ucSet_swigregister = _base.GMathVec2ucSet_swigregister GMathVec2ucSet_swigregister(GMathVec2ucSet) def GMathVec2ucSet_get_linear_search_threshold(): return _base.GMathVec2ucSet_get_linear_search_threshold() GMathVec2ucSet_get_linear_search_threshold = _base.GMathVec2ucSet_get_linear_search_threshold class GMathVec3ucBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3ucBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3ucBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec3ucBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec3ucBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3ucBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec3ucBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec3ucBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec3ucBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec3ucBasicArray_front(self) def back(self): return _base.GMathVec3ucBasicArray_back(self) def exists(self, item): return _base.GMathVec3ucBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec3ucBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec3ucBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec3ucBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec3ucBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec3ucBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec3ucBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3ucBasicArray_class_info) else: class_info = _base.GMathVec3ucBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3ucBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3ucBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec3ucBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec3ucBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec3ucBasicArray_swigregister = _base.GMathVec3ucBasicArray_swigregister GMathVec3ucBasicArray_swigregister(GMathVec3ucBasicArray) def GMathVec3ucBasicArray_class_info(): return _base.GMathVec3ucBasicArray_class_info() GMathVec3ucBasicArray_class_info = _base.GMathVec3ucBasicArray_class_info def GMathVec3ucBasicArray____class_destructor__(instance, is_array): return _base.GMathVec3ucBasicArray____class_destructor__(instance, is_array) GMathVec3ucBasicArray____class_destructor__ = _base.GMathVec3ucBasicArray____class_destructor__ class GMathVec3ucArray(GMathVec3ucBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3ucBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3ucArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec3ucBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3ucArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3ucArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3ucArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec3ucArray_append(self, *args) def get_count(self): return _base.GMathVec3ucArray_get_count(self) def remove_all(self): return _base.GMathVec3ucArray_remove_all(self) def resize(self, *args): return _base.GMathVec3ucArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec3ucArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3ucArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3ucArray_get_list(self, list) def set_list(self, list): return _base.GMathVec3ucArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec3ucArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec3ucArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3ucArray_class_info) else: class_info = _base.GMathVec3ucArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3ucArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3ucArray____class_destructor__ GMathVec3ucArray_swigregister = _base.GMathVec3ucArray_swigregister GMathVec3ucArray_swigregister(GMathVec3ucArray) def GMathVec3ucArray_class_info(): return _base.GMathVec3ucArray_class_info() GMathVec3ucArray_class_info = _base.GMathVec3ucArray_class_info def GMathVec3ucArray____class_destructor__(instance, is_array): return _base.GMathVec3ucArray____class_destructor__(instance, is_array) GMathVec3ucArray____class_destructor__ = _base.GMathVec3ucArray____class_destructor__ class GMathVec3ucVector(GMathVec3ucBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3ucBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3ucVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec3ucBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3ucVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3ucVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3ucVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec3ucVector_append(self, *args) def add(self, element): return _base.GMathVec3ucVector_add(self, element) def insert(self, element, index): return _base.GMathVec3ucVector_insert(self, element, index) def remove_last(self): return _base.GMathVec3ucVector_remove_last(self) def empty(self): return _base.GMathVec3ucVector_empty(self) def remove_all(self): return _base.GMathVec3ucVector_remove_all(self) def clear(self, *args): return _base.GMathVec3ucVector_clear(self, *args) def remove(self, *args): return _base.GMathVec3ucVector_remove(self, *args) def is_empty(self): return _base.GMathVec3ucVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec3ucVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec3ucVector_remove_items(self, item) def get_count(self): return _base.GMathVec3ucVector_get_count(self) def get_capacity(self): return _base.GMathVec3ucVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec3ucVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec3ucVector_set_capacity(self, *args) def refit(self): return _base.GMathVec3ucVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec3ucVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec3ucVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec3ucVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec3ucVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3ucVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3ucVector_get_list(self, list) def set_list(self, list): return _base.GMathVec3ucVector_set_list(self, list) def get_array(self, array): return _base.GMathVec3ucVector_get_array(self, array) def set_array(self, array): return _base.GMathVec3ucVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec3ucVector_move(self, arg2, to) def item(self, index): return _base.GMathVec3ucVector_item(self, index) def get_memory_size(self): return _base.GMathVec3ucVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec3ucVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3ucVector_class_info) else: class_info = _base.GMathVec3ucVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3ucVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec3ucVector____class_destructor__ GMathVec3ucVector_swigregister = _base.GMathVec3ucVector_swigregister GMathVec3ucVector_swigregister(GMathVec3ucVector) def GMathVec3ucVector_class_info(): return _base.GMathVec3ucVector_class_info() GMathVec3ucVector_class_info = _base.GMathVec3ucVector_class_info def GMathVec3ucVector____class_destructor__(instance, is_array): return _base.GMathVec3ucVector____class_destructor__(instance, is_array) GMathVec3ucVector____class_destructor__ = _base.GMathVec3ucVector____class_destructor__ class GMathVec3ucSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3ucSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3ucSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3ucSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec3ucSet_get_count(self) def exists(self, *args): return _base.GMathVec3ucSet_exists(self, *args) def is_empty(self): return _base.GMathVec3ucSet_is_empty(self) def is_included(self, set): return _base.GMathVec3ucSet_is_included(self, set) def get_items(self): return _base.GMathVec3ucSet_get_items(self) def get_item(self, index): return _base.GMathVec3ucSet_get_item(self, index) def back(self, *args): return _base.GMathVec3ucSet_back(self, *args) def get_array(self, array): return _base.GMathVec3ucSet_get_array(self, array) def get_list(self, list): return _base.GMathVec3ucSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec3ucSet_get_vector(self, vector) def to_array(self): return _base.GMathVec3ucSet_to_array(self) def add(self, *args): return _base.GMathVec3ucSet_add(self, *args) def remove(self, index): return _base.GMathVec3ucSet_remove(self, index) def remove_item(self, item): return _base.GMathVec3ucSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec3ucSet_remove_set(self, set) def remove_all(self): return _base.GMathVec3ucSet_remove_all(self) def toggle(self, item): return _base.GMathVec3ucSet_toggle(self, item) def unite(self, set): return _base.GMathVec3ucSet_unite(self, set) def intersect(self, set): return _base.GMathVec3ucSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec3ucSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec3ucSet___ne__(self, set) def begin(self, *args): return _base.GMathVec3ucSet_begin(self, *args) def end(self, *args): return _base.GMathVec3ucSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec3ucSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec3ucSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec3ucSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec3ucSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec3ucSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3ucSet __del__ = lambda self: None GMathVec3ucSet_swigregister = _base.GMathVec3ucSet_swigregister GMathVec3ucSet_swigregister(GMathVec3ucSet) def GMathVec3ucSet_get_linear_search_threshold(): return _base.GMathVec3ucSet_get_linear_search_threshold() GMathVec3ucSet_get_linear_search_threshold = _base.GMathVec3ucSet_get_linear_search_threshold class GMathVec4ucBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4ucBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4ucBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec4ucBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec4ucBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4ucBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec4ucBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec4ucBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec4ucBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec4ucBasicArray_front(self) def back(self): return _base.GMathVec4ucBasicArray_back(self) def exists(self, item): return _base.GMathVec4ucBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec4ucBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec4ucBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec4ucBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec4ucBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec4ucBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec4ucBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4ucBasicArray_class_info) else: class_info = _base.GMathVec4ucBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4ucBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4ucBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec4ucBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec4ucBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec4ucBasicArray_swigregister = _base.GMathVec4ucBasicArray_swigregister GMathVec4ucBasicArray_swigregister(GMathVec4ucBasicArray) def GMathVec4ucBasicArray_class_info(): return _base.GMathVec4ucBasicArray_class_info() GMathVec4ucBasicArray_class_info = _base.GMathVec4ucBasicArray_class_info def GMathVec4ucBasicArray____class_destructor__(instance, is_array): return _base.GMathVec4ucBasicArray____class_destructor__(instance, is_array) GMathVec4ucBasicArray____class_destructor__ = _base.GMathVec4ucBasicArray____class_destructor__ class GMathVec4ucArray(GMathVec4ucBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4ucBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4ucArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec4ucBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4ucArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4ucArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4ucArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec4ucArray_append(self, *args) def get_count(self): return _base.GMathVec4ucArray_get_count(self) def remove_all(self): return _base.GMathVec4ucArray_remove_all(self) def resize(self, *args): return _base.GMathVec4ucArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec4ucArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4ucArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4ucArray_get_list(self, list) def set_list(self, list): return _base.GMathVec4ucArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec4ucArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec4ucArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4ucArray_class_info) else: class_info = _base.GMathVec4ucArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4ucArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4ucArray____class_destructor__ GMathVec4ucArray_swigregister = _base.GMathVec4ucArray_swigregister GMathVec4ucArray_swigregister(GMathVec4ucArray) def GMathVec4ucArray_class_info(): return _base.GMathVec4ucArray_class_info() GMathVec4ucArray_class_info = _base.GMathVec4ucArray_class_info def GMathVec4ucArray____class_destructor__(instance, is_array): return _base.GMathVec4ucArray____class_destructor__(instance, is_array) GMathVec4ucArray____class_destructor__ = _base.GMathVec4ucArray____class_destructor__ class GMathVec4ucVector(GMathVec4ucBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4ucBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4ucVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec4ucBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4ucVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4ucVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4ucVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec4ucVector_append(self, *args) def add(self, element): return _base.GMathVec4ucVector_add(self, element) def insert(self, element, index): return _base.GMathVec4ucVector_insert(self, element, index) def remove_last(self): return _base.GMathVec4ucVector_remove_last(self) def empty(self): return _base.GMathVec4ucVector_empty(self) def remove_all(self): return _base.GMathVec4ucVector_remove_all(self) def clear(self, *args): return _base.GMathVec4ucVector_clear(self, *args) def remove(self, *args): return _base.GMathVec4ucVector_remove(self, *args) def is_empty(self): return _base.GMathVec4ucVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec4ucVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec4ucVector_remove_items(self, item) def get_count(self): return _base.GMathVec4ucVector_get_count(self) def get_capacity(self): return _base.GMathVec4ucVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec4ucVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec4ucVector_set_capacity(self, *args) def refit(self): return _base.GMathVec4ucVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec4ucVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec4ucVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec4ucVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec4ucVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4ucVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4ucVector_get_list(self, list) def set_list(self, list): return _base.GMathVec4ucVector_set_list(self, list) def get_array(self, array): return _base.GMathVec4ucVector_get_array(self, array) def set_array(self, array): return _base.GMathVec4ucVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec4ucVector_move(self, arg2, to) def item(self, index): return _base.GMathVec4ucVector_item(self, index) def get_memory_size(self): return _base.GMathVec4ucVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec4ucVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4ucVector_class_info) else: class_info = _base.GMathVec4ucVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4ucVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec4ucVector____class_destructor__ GMathVec4ucVector_swigregister = _base.GMathVec4ucVector_swigregister GMathVec4ucVector_swigregister(GMathVec4ucVector) def GMathVec4ucVector_class_info(): return _base.GMathVec4ucVector_class_info() GMathVec4ucVector_class_info = _base.GMathVec4ucVector_class_info def GMathVec4ucVector____class_destructor__(instance, is_array): return _base.GMathVec4ucVector____class_destructor__(instance, is_array) GMathVec4ucVector____class_destructor__ = _base.GMathVec4ucVector____class_destructor__ class GMathVec4ucSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4ucSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4ucSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4ucSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec4ucSet_get_count(self) def exists(self, *args): return _base.GMathVec4ucSet_exists(self, *args) def is_empty(self): return _base.GMathVec4ucSet_is_empty(self) def is_included(self, set): return _base.GMathVec4ucSet_is_included(self, set) def get_items(self): return _base.GMathVec4ucSet_get_items(self) def get_item(self, index): return _base.GMathVec4ucSet_get_item(self, index) def back(self, *args): return _base.GMathVec4ucSet_back(self, *args) def get_array(self, array): return _base.GMathVec4ucSet_get_array(self, array) def get_list(self, list): return _base.GMathVec4ucSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec4ucSet_get_vector(self, vector) def to_array(self): return _base.GMathVec4ucSet_to_array(self) def add(self, *args): return _base.GMathVec4ucSet_add(self, *args) def remove(self, index): return _base.GMathVec4ucSet_remove(self, index) def remove_item(self, item): return _base.GMathVec4ucSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec4ucSet_remove_set(self, set) def remove_all(self): return _base.GMathVec4ucSet_remove_all(self) def toggle(self, item): return _base.GMathVec4ucSet_toggle(self, item) def unite(self, set): return _base.GMathVec4ucSet_unite(self, set) def intersect(self, set): return _base.GMathVec4ucSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec4ucSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec4ucSet___ne__(self, set) def begin(self, *args): return _base.GMathVec4ucSet_begin(self, *args) def end(self, *args): return _base.GMathVec4ucSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec4ucSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec4ucSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec4ucSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec4ucSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec4ucSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4ucSet __del__ = lambda self: None GMathVec4ucSet_swigregister = _base.GMathVec4ucSet_swigregister GMathVec4ucSet_swigregister(GMathVec4ucSet) def GMathVec4ucSet_get_linear_search_threshold(): return _base.GMathVec4ucSet_get_linear_search_threshold() GMathVec4ucSet_get_linear_search_threshold = _base.GMathVec4ucSet_get_linear_search_threshold class GMathVec2i(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2i, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2i, name) def __init__(self, *args): this = _base.new_GMathVec2i(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec2i_nullify(self) def get_value(self, index): return _base.GMathVec2i_get_value(self, index) def set_value(self, index, value): return _base.GMathVec2i_set_value(self, index, value) def get_width(self): return _base.GMathVec2i_get_width(self) def set_width(self, width): return _base.GMathVec2i_set_width(self, width) def get_height(self): return _base.GMathVec2i_get_height(self) def set_height(self, height): return _base.GMathVec2i_set_height(self, height) def get_x(self): return _base.GMathVec2i_get_x(self) def set_x(self, x): return _base.GMathVec2i_set_x(self, x) def get_y(self): return _base.GMathVec2i_get_y(self) def set_y(self, y): return _base.GMathVec2i_set_y(self, y) def get_red(self): return _base.GMathVec2i_get_red(self) def get_u(self): return _base.GMathVec2i_get_u(self) def set_u(self, u): return _base.GMathVec2i_set_u(self, u) def get_v(self): return _base.GMathVec2i_get_v(self) def set_v(self, v): return _base.GMathVec2i_set_v(self, v) def sub(self, *args): return _base.GMathVec2i_sub(self, *args) def absolute(self): return _base.GMathVec2i_absolute(self) def get_sqr_length(self): return _base.GMathVec2i_get_sqr_length(self) def get_length(self): return _base.GMathVec2i_get_length(self) def get_max_norm_signed(self): return _base.GMathVec2i_get_max_norm_signed(self) def get_max_norm(self): return _base.GMathVec2i_get_max_norm(self) def normalize(self, *args): return _base.GMathVec2i_normalize(self, *args) def get_copy(self): return _base.GMathVec2i_get_copy(self) def copy_from(self, v): return _base.GMathVec2i_copy_from(self, v) def copy_to(self, v): return _base.GMathVec2i_copy_to(self, v) def is_null(self, *args): return _base.GMathVec2i_is_null(self, *args) def is_finite(self): return _base.GMathVec2i_is_finite(self) def __eq__(self, v): if not isinstance(obj, type(self)): return False return _base.GMathVec2i___eq__(self, v) def __ne__(self, v): return _base.GMathVec2i___ne__(self, v) def __iadd__(self, *args): return _base.GMathVec2i___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec2i___add__(self, *args) def __isub__(self, *args): return _base.GMathVec2i___isub__(self, *args) def __neg__(self): return _base.GMathVec2i___neg__(self) def __sub__(self, *args): return _base.GMathVec2i___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec2i___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec2i___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec2i___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec2i___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec2i_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2i_class_info) else: class_info = _base.GMathVec2i_class_info if _newclass: register_methods = staticmethod(_base.GMathVec2i_register_methods) else: register_methods = _base.GMathVec2i_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2i____class_destructor__) else: ___class_destructor__ = _base.GMathVec2i____class_destructor__ def __repr__(self): return _base.GMathVec2i___repr__(self) def __setitem__(self, index, value): return _base.GMathVec2i___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec2i___getitem__(self, index) def __len__(self): return _base.GMathVec2i___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2i __del__ = lambda self: None GMathVec2i_swigregister = _base.GMathVec2i_swigregister GMathVec2i_swigregister(GMathVec2i) def GMathVec2i_class_info(): return _base.GMathVec2i_class_info() GMathVec2i_class_info = _base.GMathVec2i_class_info def GMathVec2i_register_methods(arg2): return _base.GMathVec2i_register_methods(arg2) GMathVec2i_register_methods = _base.GMathVec2i_register_methods def GMathVec2i____class_destructor__(instance, is_array): return _base.GMathVec2i____class_destructor__(instance, is_array) GMathVec2i____class_destructor__ = _base.GMathVec2i____class_destructor__ class GMathVec3i(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3i, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3i, name) if _newclass: create_local_axis = staticmethod(_base.GMathVec3i_create_local_axis) else: create_local_axis = _base.GMathVec3i_create_local_axis def __init__(self, *args): this = _base.new_GMathVec3i(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec3i_nullify(self) def get_copy(self): return _base.GMathVec3i_get_copy(self) def copy_from(self, u): return _base.GMathVec3i_copy_from(self, u) def copy_to(self, u): return _base.GMathVec3i_copy_to(self, u) def __ne__(self, *args): return _base.GMathVec3i___ne__(self, *args) def __eq__(self, *args): if not isinstance(obj, type(self)): return False return _base.GMathVec3i___eq__(self, *args) def __lt__(self, *args): return _base.GMathVec3i___lt__(self, *args) def __gt__(self, *args): return _base.GMathVec3i___gt__(self, *args) def __le__(self, *args): return _base.GMathVec3i___le__(self, *args) def __ge__(self, *args): return _base.GMathVec3i___ge__(self, *args) def absolute(self): return _base.GMathVec3i_absolute(self) def get_sqr_norm(self, *args): return _base.GMathVec3i_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec3i_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec3i_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec3i_get_length(self, *args) def get_l1_norm_signed(self, *args): return _base.GMathVec3i_get_l1_norm_signed(self, *args) def get_l1_norm(self, *args): return _base.GMathVec3i_get_l1_norm(self, *args) def get_max_norm_signed(self, *args): return _base.GMathVec3i_get_max_norm_signed(self, *args) def get_max_norm(self, *args): return _base.GMathVec3i_get_max_norm(self, *args) def get_min_norm_signed(self, *args): return _base.GMathVec3i_get_min_norm_signed(self, *args) def get_min_norm(self, *args): return _base.GMathVec3i_get_min_norm(self, *args) def scale(self, s): return _base.GMathVec3i_scale(self, s) def get_main_axis(self): return _base.GMathVec3i_get_main_axis(self) def normalize(self, *args): return _base.GMathVec3i_normalize(self, *args) def is_null(self, *args): return _base.GMathVec3i_is_null(self, *args) def is_finite(self): return _base.GMathVec3i_is_finite(self) def get_data(self, *args): return _base.GMathVec3i_get_data(self, *args) def __iadd__(self, *args): return _base.GMathVec3i___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec3i___add__(self, *args) def __isub__(self, *args): return _base.GMathVec3i___isub__(self, *args) def __neg__(self): return _base.GMathVec3i___neg__(self) def __sub__(self, *args): return _base.GMathVec3i___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec3i___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec3i___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec3i___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec3i___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec3i_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3i_class_info) else: class_info = _base.GMathVec3i_class_info if _newclass: register_methods = staticmethod(_base.GMathVec3i_register_methods) else: register_methods = _base.GMathVec3i_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3i____class_destructor__) else: ___class_destructor__ = _base.GMathVec3i____class_destructor__ def __repr__(self): return _base.GMathVec3i___repr__(self) def __setitem__(self, index, value): return _base.GMathVec3i___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec3i___getitem__(self, index) def __len__(self): return _base.GMathVec3i___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3i __del__ = lambda self: None GMathVec3i_swigregister = _base.GMathVec3i_swigregister GMathVec3i_swigregister(GMathVec3i) def GMathVec3i_create_local_axis(v1, v2, v3): return _base.GMathVec3i_create_local_axis(v1, v2, v3) GMathVec3i_create_local_axis = _base.GMathVec3i_create_local_axis def GMathVec3i_class_info(): return _base.GMathVec3i_class_info() GMathVec3i_class_info = _base.GMathVec3i_class_info def GMathVec3i_register_methods(cls): return _base.GMathVec3i_register_methods(cls) GMathVec3i_register_methods = _base.GMathVec3i_register_methods def GMathVec3i____class_destructor__(instance, is_array): return _base.GMathVec3i____class_destructor__(instance, is_array) GMathVec3i____class_destructor__ = _base.GMathVec3i____class_destructor__ class GMathVec4i(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4i, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4i, name) def __init__(self, *args): this = _base.new_GMathVec4i(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec4i_nullify(self) def get_copy(self): return _base.GMathVec4i_get_copy(self) def copy_from(self, u): return _base.GMathVec4i_copy_from(self, u) def copy_to(self, u): return _base.GMathVec4i_copy_to(self, u) def get_value(self, index): return _base.GMathVec4i_get_value(self, index) def set_value(self, index, value): return _base.GMathVec4i_set_value(self, index, value) def get_x(self): return _base.GMathVec4i_get_x(self) def set_x(self, x): return _base.GMathVec4i_set_x(self, x) def get_y(self): return _base.GMathVec4i_get_y(self) def set_y(self, y): return _base.GMathVec4i_set_y(self, y) def get_z(self): return _base.GMathVec4i_get_z(self) def set_z(self, z): return _base.GMathVec4i_set_z(self, z) def get_w(self): return _base.GMathVec4i_get_w(self) def set_w(self, w): return _base.GMathVec4i_set_w(self, w) def get_red(self): return _base.GMathVec4i_get_red(self) def set_red(self, red): return _base.GMathVec4i_set_red(self, red) def get_green(self): return _base.GMathVec4i_get_green(self) def set_green(self, green): return _base.GMathVec4i_set_green(self, green) def get_blue(self): return _base.GMathVec4i_get_blue(self) def set_blue(self, blue): return _base.GMathVec4i_set_blue(self, blue) def get_alpha(self): return _base.GMathVec4i_get_alpha(self) def set_alpha(self, alpha): return _base.GMathVec4i_set_alpha(self, alpha) def get_sqr_norm(self, *args): return _base.GMathVec4i_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec4i_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec4i_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec4i_get_length(self, *args) def sub(self, *args): return _base.GMathVec4i_sub(self, *args) def get_data(self, *args): return _base.GMathVec4i_get_data(self, *args) def is_null(self, *args): return _base.GMathVec4i_is_null(self, *args) def is_finite(self): return _base.GMathVec4i_is_finite(self) def __iadd__(self, *args): return _base.GMathVec4i___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec4i___add__(self, *args) def __isub__(self, *args): return _base.GMathVec4i___isub__(self, *args) def __neg__(self): return _base.GMathVec4i___neg__(self) def __sub__(self, *args): return _base.GMathVec4i___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec4i___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec4i___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec4i___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec4i___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec4i_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4i_class_info) else: class_info = _base.GMathVec4i_class_info if _newclass: register_methods = staticmethod(_base.GMathVec4i_register_methods) else: register_methods = _base.GMathVec4i_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4i____class_destructor__) else: ___class_destructor__ = _base.GMathVec4i____class_destructor__ def __repr__(self): return _base.GMathVec4i___repr__(self) def __setitem__(self, index, value): return _base.GMathVec4i___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec4i___getitem__(self, index) def __len__(self): return _base.GMathVec4i___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4i __del__ = lambda self: None GMathVec4i_swigregister = _base.GMathVec4i_swigregister GMathVec4i_swigregister(GMathVec4i) def GMathVec4i_class_info(): return _base.GMathVec4i_class_info() GMathVec4i_class_info = _base.GMathVec4i_class_info def GMathVec4i_register_methods(cls): return _base.GMathVec4i_register_methods(cls) GMathVec4i_register_methods = _base.GMathVec4i_register_methods def GMathVec4i____class_destructor__(instance, is_array): return _base.GMathVec4i____class_destructor__(instance, is_array) GMathVec4i____class_destructor__ = _base.GMathVec4i____class_destructor__ class GMathVec2iBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2iBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2iBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec2iBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec2iBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2iBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec2iBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec2iBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec2iBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec2iBasicArray_front(self) def back(self): return _base.GMathVec2iBasicArray_back(self) def exists(self, item): return _base.GMathVec2iBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec2iBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec2iBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec2iBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec2iBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec2iBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec2iBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2iBasicArray_class_info) else: class_info = _base.GMathVec2iBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2iBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2iBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec2iBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec2iBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec2iBasicArray_swigregister = _base.GMathVec2iBasicArray_swigregister GMathVec2iBasicArray_swigregister(GMathVec2iBasicArray) def GMathVec2iBasicArray_class_info(): return _base.GMathVec2iBasicArray_class_info() GMathVec2iBasicArray_class_info = _base.GMathVec2iBasicArray_class_info def GMathVec2iBasicArray____class_destructor__(instance, is_array): return _base.GMathVec2iBasicArray____class_destructor__(instance, is_array) GMathVec2iBasicArray____class_destructor__ = _base.GMathVec2iBasicArray____class_destructor__ class GMathVec2iArray(GMathVec2iBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2iBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2iArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec2iBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2iArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2iArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2iArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec2iArray_append(self, *args) def get_count(self): return _base.GMathVec2iArray_get_count(self) def remove_all(self): return _base.GMathVec2iArray_remove_all(self) def resize(self, *args): return _base.GMathVec2iArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec2iArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2iArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2iArray_get_list(self, list) def set_list(self, list): return _base.GMathVec2iArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec2iArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec2iArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2iArray_class_info) else: class_info = _base.GMathVec2iArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2iArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2iArray____class_destructor__ GMathVec2iArray_swigregister = _base.GMathVec2iArray_swigregister GMathVec2iArray_swigregister(GMathVec2iArray) def GMathVec2iArray_class_info(): return _base.GMathVec2iArray_class_info() GMathVec2iArray_class_info = _base.GMathVec2iArray_class_info def GMathVec2iArray____class_destructor__(instance, is_array): return _base.GMathVec2iArray____class_destructor__(instance, is_array) GMathVec2iArray____class_destructor__ = _base.GMathVec2iArray____class_destructor__ class GMathVec2iVector(GMathVec2iBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2iBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2iVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec2iBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2iVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2iVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2iVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec2iVector_append(self, *args) def add(self, element): return _base.GMathVec2iVector_add(self, element) def insert(self, element, index): return _base.GMathVec2iVector_insert(self, element, index) def remove_last(self): return _base.GMathVec2iVector_remove_last(self) def empty(self): return _base.GMathVec2iVector_empty(self) def remove_all(self): return _base.GMathVec2iVector_remove_all(self) def clear(self, *args): return _base.GMathVec2iVector_clear(self, *args) def remove(self, *args): return _base.GMathVec2iVector_remove(self, *args) def is_empty(self): return _base.GMathVec2iVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec2iVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec2iVector_remove_items(self, item) def get_count(self): return _base.GMathVec2iVector_get_count(self) def get_capacity(self): return _base.GMathVec2iVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec2iVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec2iVector_set_capacity(self, *args) def refit(self): return _base.GMathVec2iVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec2iVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec2iVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec2iVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec2iVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2iVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2iVector_get_list(self, list) def set_list(self, list): return _base.GMathVec2iVector_set_list(self, list) def get_array(self, array): return _base.GMathVec2iVector_get_array(self, array) def set_array(self, array): return _base.GMathVec2iVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec2iVector_move(self, arg2, to) def item(self, index): return _base.GMathVec2iVector_item(self, index) def get_memory_size(self): return _base.GMathVec2iVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec2iVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2iVector_class_info) else: class_info = _base.GMathVec2iVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2iVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec2iVector____class_destructor__ GMathVec2iVector_swigregister = _base.GMathVec2iVector_swigregister GMathVec2iVector_swigregister(GMathVec2iVector) def GMathVec2iVector_class_info(): return _base.GMathVec2iVector_class_info() GMathVec2iVector_class_info = _base.GMathVec2iVector_class_info def GMathVec2iVector____class_destructor__(instance, is_array): return _base.GMathVec2iVector____class_destructor__(instance, is_array) GMathVec2iVector____class_destructor__ = _base.GMathVec2iVector____class_destructor__ class GMathVec2iSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2iSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2iSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2iSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec2iSet_get_count(self) def exists(self, *args): return _base.GMathVec2iSet_exists(self, *args) def is_empty(self): return _base.GMathVec2iSet_is_empty(self) def is_included(self, set): return _base.GMathVec2iSet_is_included(self, set) def get_items(self): return _base.GMathVec2iSet_get_items(self) def get_item(self, index): return _base.GMathVec2iSet_get_item(self, index) def back(self, *args): return _base.GMathVec2iSet_back(self, *args) def get_array(self, array): return _base.GMathVec2iSet_get_array(self, array) def get_list(self, list): return _base.GMathVec2iSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec2iSet_get_vector(self, vector) def to_array(self): return _base.GMathVec2iSet_to_array(self) def add(self, *args): return _base.GMathVec2iSet_add(self, *args) def remove(self, index): return _base.GMathVec2iSet_remove(self, index) def remove_item(self, item): return _base.GMathVec2iSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec2iSet_remove_set(self, set) def remove_all(self): return _base.GMathVec2iSet_remove_all(self) def toggle(self, item): return _base.GMathVec2iSet_toggle(self, item) def unite(self, set): return _base.GMathVec2iSet_unite(self, set) def intersect(self, set): return _base.GMathVec2iSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec2iSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec2iSet___ne__(self, set) def begin(self, *args): return _base.GMathVec2iSet_begin(self, *args) def end(self, *args): return _base.GMathVec2iSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec2iSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec2iSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec2iSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec2iSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec2iSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2iSet __del__ = lambda self: None GMathVec2iSet_swigregister = _base.GMathVec2iSet_swigregister GMathVec2iSet_swigregister(GMathVec2iSet) def GMathVec2iSet_get_linear_search_threshold(): return _base.GMathVec2iSet_get_linear_search_threshold() GMathVec2iSet_get_linear_search_threshold = _base.GMathVec2iSet_get_linear_search_threshold class GMathVec3iBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3iBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3iBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec3iBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec3iBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3iBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec3iBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec3iBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec3iBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec3iBasicArray_front(self) def back(self): return _base.GMathVec3iBasicArray_back(self) def exists(self, item): return _base.GMathVec3iBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec3iBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec3iBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec3iBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec3iBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec3iBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec3iBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3iBasicArray_class_info) else: class_info = _base.GMathVec3iBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3iBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3iBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec3iBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec3iBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec3iBasicArray_swigregister = _base.GMathVec3iBasicArray_swigregister GMathVec3iBasicArray_swigregister(GMathVec3iBasicArray) def GMathVec3iBasicArray_class_info(): return _base.GMathVec3iBasicArray_class_info() GMathVec3iBasicArray_class_info = _base.GMathVec3iBasicArray_class_info def GMathVec3iBasicArray____class_destructor__(instance, is_array): return _base.GMathVec3iBasicArray____class_destructor__(instance, is_array) GMathVec3iBasicArray____class_destructor__ = _base.GMathVec3iBasicArray____class_destructor__ class GMathVec3iArray(GMathVec3iBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3iBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3iArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec3iBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3iArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3iArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3iArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec3iArray_append(self, *args) def get_count(self): return _base.GMathVec3iArray_get_count(self) def remove_all(self): return _base.GMathVec3iArray_remove_all(self) def resize(self, *args): return _base.GMathVec3iArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec3iArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3iArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3iArray_get_list(self, list) def set_list(self, list): return _base.GMathVec3iArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec3iArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec3iArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3iArray_class_info) else: class_info = _base.GMathVec3iArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3iArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3iArray____class_destructor__ GMathVec3iArray_swigregister = _base.GMathVec3iArray_swigregister GMathVec3iArray_swigregister(GMathVec3iArray) def GMathVec3iArray_class_info(): return _base.GMathVec3iArray_class_info() GMathVec3iArray_class_info = _base.GMathVec3iArray_class_info def GMathVec3iArray____class_destructor__(instance, is_array): return _base.GMathVec3iArray____class_destructor__(instance, is_array) GMathVec3iArray____class_destructor__ = _base.GMathVec3iArray____class_destructor__ class GMathVec3iVector(GMathVec3iBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3iBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3iVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec3iBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3iVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3iVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3iVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec3iVector_append(self, *args) def add(self, element): return _base.GMathVec3iVector_add(self, element) def insert(self, element, index): return _base.GMathVec3iVector_insert(self, element, index) def remove_last(self): return _base.GMathVec3iVector_remove_last(self) def empty(self): return _base.GMathVec3iVector_empty(self) def remove_all(self): return _base.GMathVec3iVector_remove_all(self) def clear(self, *args): return _base.GMathVec3iVector_clear(self, *args) def remove(self, *args): return _base.GMathVec3iVector_remove(self, *args) def is_empty(self): return _base.GMathVec3iVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec3iVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec3iVector_remove_items(self, item) def get_count(self): return _base.GMathVec3iVector_get_count(self) def get_capacity(self): return _base.GMathVec3iVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec3iVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec3iVector_set_capacity(self, *args) def refit(self): return _base.GMathVec3iVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec3iVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec3iVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec3iVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec3iVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3iVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3iVector_get_list(self, list) def set_list(self, list): return _base.GMathVec3iVector_set_list(self, list) def get_array(self, array): return _base.GMathVec3iVector_get_array(self, array) def set_array(self, array): return _base.GMathVec3iVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec3iVector_move(self, arg2, to) def item(self, index): return _base.GMathVec3iVector_item(self, index) def get_memory_size(self): return _base.GMathVec3iVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec3iVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3iVector_class_info) else: class_info = _base.GMathVec3iVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3iVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec3iVector____class_destructor__ GMathVec3iVector_swigregister = _base.GMathVec3iVector_swigregister GMathVec3iVector_swigregister(GMathVec3iVector) def GMathVec3iVector_class_info(): return _base.GMathVec3iVector_class_info() GMathVec3iVector_class_info = _base.GMathVec3iVector_class_info def GMathVec3iVector____class_destructor__(instance, is_array): return _base.GMathVec3iVector____class_destructor__(instance, is_array) GMathVec3iVector____class_destructor__ = _base.GMathVec3iVector____class_destructor__ class GMathVec3iSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3iSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3iSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3iSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec3iSet_get_count(self) def exists(self, *args): return _base.GMathVec3iSet_exists(self, *args) def is_empty(self): return _base.GMathVec3iSet_is_empty(self) def is_included(self, set): return _base.GMathVec3iSet_is_included(self, set) def get_items(self): return _base.GMathVec3iSet_get_items(self) def get_item(self, index): return _base.GMathVec3iSet_get_item(self, index) def back(self, *args): return _base.GMathVec3iSet_back(self, *args) def get_array(self, array): return _base.GMathVec3iSet_get_array(self, array) def get_list(self, list): return _base.GMathVec3iSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec3iSet_get_vector(self, vector) def to_array(self): return _base.GMathVec3iSet_to_array(self) def add(self, *args): return _base.GMathVec3iSet_add(self, *args) def remove(self, index): return _base.GMathVec3iSet_remove(self, index) def remove_item(self, item): return _base.GMathVec3iSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec3iSet_remove_set(self, set) def remove_all(self): return _base.GMathVec3iSet_remove_all(self) def toggle(self, item): return _base.GMathVec3iSet_toggle(self, item) def unite(self, set): return _base.GMathVec3iSet_unite(self, set) def intersect(self, set): return _base.GMathVec3iSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec3iSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec3iSet___ne__(self, set) def begin(self, *args): return _base.GMathVec3iSet_begin(self, *args) def end(self, *args): return _base.GMathVec3iSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec3iSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec3iSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec3iSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec3iSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec3iSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3iSet __del__ = lambda self: None GMathVec3iSet_swigregister = _base.GMathVec3iSet_swigregister GMathVec3iSet_swigregister(GMathVec3iSet) def GMathVec3iSet_get_linear_search_threshold(): return _base.GMathVec3iSet_get_linear_search_threshold() GMathVec3iSet_get_linear_search_threshold = _base.GMathVec3iSet_get_linear_search_threshold class GMathVec4iBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4iBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4iBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec4iBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec4iBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4iBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec4iBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec4iBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec4iBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec4iBasicArray_front(self) def back(self): return _base.GMathVec4iBasicArray_back(self) def exists(self, item): return _base.GMathVec4iBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec4iBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec4iBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec4iBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec4iBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec4iBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec4iBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4iBasicArray_class_info) else: class_info = _base.GMathVec4iBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4iBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4iBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec4iBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec4iBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec4iBasicArray_swigregister = _base.GMathVec4iBasicArray_swigregister GMathVec4iBasicArray_swigregister(GMathVec4iBasicArray) def GMathVec4iBasicArray_class_info(): return _base.GMathVec4iBasicArray_class_info() GMathVec4iBasicArray_class_info = _base.GMathVec4iBasicArray_class_info def GMathVec4iBasicArray____class_destructor__(instance, is_array): return _base.GMathVec4iBasicArray____class_destructor__(instance, is_array) GMathVec4iBasicArray____class_destructor__ = _base.GMathVec4iBasicArray____class_destructor__ class GMathVec4iArray(GMathVec4iBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4iBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4iArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec4iBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4iArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4iArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4iArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec4iArray_append(self, *args) def get_count(self): return _base.GMathVec4iArray_get_count(self) def remove_all(self): return _base.GMathVec4iArray_remove_all(self) def resize(self, *args): return _base.GMathVec4iArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec4iArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4iArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4iArray_get_list(self, list) def set_list(self, list): return _base.GMathVec4iArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec4iArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec4iArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4iArray_class_info) else: class_info = _base.GMathVec4iArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4iArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4iArray____class_destructor__ GMathVec4iArray_swigregister = _base.GMathVec4iArray_swigregister GMathVec4iArray_swigregister(GMathVec4iArray) def GMathVec4iArray_class_info(): return _base.GMathVec4iArray_class_info() GMathVec4iArray_class_info = _base.GMathVec4iArray_class_info def GMathVec4iArray____class_destructor__(instance, is_array): return _base.GMathVec4iArray____class_destructor__(instance, is_array) GMathVec4iArray____class_destructor__ = _base.GMathVec4iArray____class_destructor__ class GMathVec4iVector(GMathVec4iBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4iBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4iVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec4iBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4iVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4iVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4iVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec4iVector_append(self, *args) def add(self, element): return _base.GMathVec4iVector_add(self, element) def insert(self, element, index): return _base.GMathVec4iVector_insert(self, element, index) def remove_last(self): return _base.GMathVec4iVector_remove_last(self) def empty(self): return _base.GMathVec4iVector_empty(self) def remove_all(self): return _base.GMathVec4iVector_remove_all(self) def clear(self, *args): return _base.GMathVec4iVector_clear(self, *args) def remove(self, *args): return _base.GMathVec4iVector_remove(self, *args) def is_empty(self): return _base.GMathVec4iVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec4iVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec4iVector_remove_items(self, item) def get_count(self): return _base.GMathVec4iVector_get_count(self) def get_capacity(self): return _base.GMathVec4iVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec4iVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec4iVector_set_capacity(self, *args) def refit(self): return _base.GMathVec4iVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec4iVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec4iVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec4iVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec4iVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4iVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4iVector_get_list(self, list) def set_list(self, list): return _base.GMathVec4iVector_set_list(self, list) def get_array(self, array): return _base.GMathVec4iVector_get_array(self, array) def set_array(self, array): return _base.GMathVec4iVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec4iVector_move(self, arg2, to) def item(self, index): return _base.GMathVec4iVector_item(self, index) def get_memory_size(self): return _base.GMathVec4iVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec4iVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4iVector_class_info) else: class_info = _base.GMathVec4iVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4iVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec4iVector____class_destructor__ GMathVec4iVector_swigregister = _base.GMathVec4iVector_swigregister GMathVec4iVector_swigregister(GMathVec4iVector) def GMathVec4iVector_class_info(): return _base.GMathVec4iVector_class_info() GMathVec4iVector_class_info = _base.GMathVec4iVector_class_info def GMathVec4iVector____class_destructor__(instance, is_array): return _base.GMathVec4iVector____class_destructor__(instance, is_array) GMathVec4iVector____class_destructor__ = _base.GMathVec4iVector____class_destructor__ class GMathVec4iSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4iSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4iSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4iSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec4iSet_get_count(self) def exists(self, *args): return _base.GMathVec4iSet_exists(self, *args) def is_empty(self): return _base.GMathVec4iSet_is_empty(self) def is_included(self, set): return _base.GMathVec4iSet_is_included(self, set) def get_items(self): return _base.GMathVec4iSet_get_items(self) def get_item(self, index): return _base.GMathVec4iSet_get_item(self, index) def back(self, *args): return _base.GMathVec4iSet_back(self, *args) def get_array(self, array): return _base.GMathVec4iSet_get_array(self, array) def get_list(self, list): return _base.GMathVec4iSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec4iSet_get_vector(self, vector) def to_array(self): return _base.GMathVec4iSet_to_array(self) def add(self, *args): return _base.GMathVec4iSet_add(self, *args) def remove(self, index): return _base.GMathVec4iSet_remove(self, index) def remove_item(self, item): return _base.GMathVec4iSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec4iSet_remove_set(self, set) def remove_all(self): return _base.GMathVec4iSet_remove_all(self) def toggle(self, item): return _base.GMathVec4iSet_toggle(self, item) def unite(self, set): return _base.GMathVec4iSet_unite(self, set) def intersect(self, set): return _base.GMathVec4iSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec4iSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec4iSet___ne__(self, set) def begin(self, *args): return _base.GMathVec4iSet_begin(self, *args) def end(self, *args): return _base.GMathVec4iSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec4iSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec4iSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec4iSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec4iSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec4iSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4iSet __del__ = lambda self: None GMathVec4iSet_swigregister = _base.GMathVec4iSet_swigregister GMathVec4iSet_swigregister(GMathVec4iSet) def GMathVec4iSet_get_linear_search_threshold(): return _base.GMathVec4iSet_get_linear_search_threshold() GMathVec4iSet_get_linear_search_threshold = _base.GMathVec4iSet_get_linear_search_threshold class GMathVec2ui(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2ui, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2ui, name) def __init__(self, *args): this = _base.new_GMathVec2ui(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec2ui_nullify(self) def get_value(self, index): return _base.GMathVec2ui_get_value(self, index) def set_value(self, index, value): return _base.GMathVec2ui_set_value(self, index, value) def get_width(self): return _base.GMathVec2ui_get_width(self) def set_width(self, width): return _base.GMathVec2ui_set_width(self, width) def get_height(self): return _base.GMathVec2ui_get_height(self) def set_height(self, height): return _base.GMathVec2ui_set_height(self, height) def get_x(self): return _base.GMathVec2ui_get_x(self) def set_x(self, x): return _base.GMathVec2ui_set_x(self, x) def get_y(self): return _base.GMathVec2ui_get_y(self) def set_y(self, y): return _base.GMathVec2ui_set_y(self, y) def get_red(self): return _base.GMathVec2ui_get_red(self) def get_u(self): return _base.GMathVec2ui_get_u(self) def set_u(self, u): return _base.GMathVec2ui_set_u(self, u) def get_v(self): return _base.GMathVec2ui_get_v(self) def set_v(self, v): return _base.GMathVec2ui_set_v(self, v) def sub(self, *args): return _base.GMathVec2ui_sub(self, *args) def absolute(self): return _base.GMathVec2ui_absolute(self) def get_sqr_length(self): return _base.GMathVec2ui_get_sqr_length(self) def get_length(self): return _base.GMathVec2ui_get_length(self) def get_max_norm_signed(self): return _base.GMathVec2ui_get_max_norm_signed(self) def get_max_norm(self): return _base.GMathVec2ui_get_max_norm(self) def normalize(self, *args): return _base.GMathVec2ui_normalize(self, *args) def get_copy(self): return _base.GMathVec2ui_get_copy(self) def copy_from(self, v): return _base.GMathVec2ui_copy_from(self, v) def copy_to(self, v): return _base.GMathVec2ui_copy_to(self, v) def is_null(self, *args): return _base.GMathVec2ui_is_null(self, *args) def is_finite(self): return _base.GMathVec2ui_is_finite(self) def __eq__(self, v): if not isinstance(obj, type(self)): return False return _base.GMathVec2ui___eq__(self, v) def __ne__(self, v): return _base.GMathVec2ui___ne__(self, v) def __iadd__(self, *args): return _base.GMathVec2ui___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec2ui___add__(self, *args) def __isub__(self, *args): return _base.GMathVec2ui___isub__(self, *args) def __neg__(self): return _base.GMathVec2ui___neg__(self) def __sub__(self, *args): return _base.GMathVec2ui___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec2ui___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec2ui___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec2ui___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec2ui___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec2ui_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2ui_class_info) else: class_info = _base.GMathVec2ui_class_info if _newclass: register_methods = staticmethod(_base.GMathVec2ui_register_methods) else: register_methods = _base.GMathVec2ui_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2ui____class_destructor__) else: ___class_destructor__ = _base.GMathVec2ui____class_destructor__ def __repr__(self): return _base.GMathVec2ui___repr__(self) def __setitem__(self, index, value): return _base.GMathVec2ui___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec2ui___getitem__(self, index) def __len__(self): return _base.GMathVec2ui___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2ui __del__ = lambda self: None GMathVec2ui_swigregister = _base.GMathVec2ui_swigregister GMathVec2ui_swigregister(GMathVec2ui) def GMathVec2ui_class_info(): return _base.GMathVec2ui_class_info() GMathVec2ui_class_info = _base.GMathVec2ui_class_info def GMathVec2ui_register_methods(arg2): return _base.GMathVec2ui_register_methods(arg2) GMathVec2ui_register_methods = _base.GMathVec2ui_register_methods def GMathVec2ui____class_destructor__(instance, is_array): return _base.GMathVec2ui____class_destructor__(instance, is_array) GMathVec2ui____class_destructor__ = _base.GMathVec2ui____class_destructor__ class GMathVec3ui(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3ui, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3ui, name) if _newclass: create_local_axis = staticmethod(_base.GMathVec3ui_create_local_axis) else: create_local_axis = _base.GMathVec3ui_create_local_axis def __init__(self, *args): this = _base.new_GMathVec3ui(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec3ui_nullify(self) def get_copy(self): return _base.GMathVec3ui_get_copy(self) def copy_from(self, u): return _base.GMathVec3ui_copy_from(self, u) def copy_to(self, u): return _base.GMathVec3ui_copy_to(self, u) def __ne__(self, *args): return _base.GMathVec3ui___ne__(self, *args) def __eq__(self, *args): if not isinstance(obj, type(self)): return False return _base.GMathVec3ui___eq__(self, *args) def __lt__(self, *args): return _base.GMathVec3ui___lt__(self, *args) def __gt__(self, *args): return _base.GMathVec3ui___gt__(self, *args) def __le__(self, *args): return _base.GMathVec3ui___le__(self, *args) def __ge__(self, *args): return _base.GMathVec3ui___ge__(self, *args) def absolute(self): return _base.GMathVec3ui_absolute(self) def get_sqr_norm(self, *args): return _base.GMathVec3ui_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec3ui_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec3ui_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec3ui_get_length(self, *args) def get_l1_norm_signed(self, *args): return _base.GMathVec3ui_get_l1_norm_signed(self, *args) def get_l1_norm(self, *args): return _base.GMathVec3ui_get_l1_norm(self, *args) def get_max_norm_signed(self, *args): return _base.GMathVec3ui_get_max_norm_signed(self, *args) def get_max_norm(self, *args): return _base.GMathVec3ui_get_max_norm(self, *args) def get_min_norm_signed(self, *args): return _base.GMathVec3ui_get_min_norm_signed(self, *args) def get_min_norm(self, *args): return _base.GMathVec3ui_get_min_norm(self, *args) def scale(self, s): return _base.GMathVec3ui_scale(self, s) def get_main_axis(self): return _base.GMathVec3ui_get_main_axis(self) def normalize(self, *args): return _base.GMathVec3ui_normalize(self, *args) def is_null(self, *args): return _base.GMathVec3ui_is_null(self, *args) def is_finite(self): return _base.GMathVec3ui_is_finite(self) def get_data(self, *args): return _base.GMathVec3ui_get_data(self, *args) def __iadd__(self, *args): return _base.GMathVec3ui___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec3ui___add__(self, *args) def __isub__(self, *args): return _base.GMathVec3ui___isub__(self, *args) def __neg__(self): return _base.GMathVec3ui___neg__(self) def __sub__(self, *args): return _base.GMathVec3ui___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec3ui___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec3ui___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec3ui___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec3ui___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec3ui_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3ui_class_info) else: class_info = _base.GMathVec3ui_class_info if _newclass: register_methods = staticmethod(_base.GMathVec3ui_register_methods) else: register_methods = _base.GMathVec3ui_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3ui____class_destructor__) else: ___class_destructor__ = _base.GMathVec3ui____class_destructor__ def __repr__(self): return _base.GMathVec3ui___repr__(self) def __setitem__(self, index, value): return _base.GMathVec3ui___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec3ui___getitem__(self, index) def __len__(self): return _base.GMathVec3ui___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3ui __del__ = lambda self: None GMathVec3ui_swigregister = _base.GMathVec3ui_swigregister GMathVec3ui_swigregister(GMathVec3ui) def GMathVec3ui_create_local_axis(v1, v2, v3): return _base.GMathVec3ui_create_local_axis(v1, v2, v3) GMathVec3ui_create_local_axis = _base.GMathVec3ui_create_local_axis def GMathVec3ui_class_info(): return _base.GMathVec3ui_class_info() GMathVec3ui_class_info = _base.GMathVec3ui_class_info def GMathVec3ui_register_methods(cls): return _base.GMathVec3ui_register_methods(cls) GMathVec3ui_register_methods = _base.GMathVec3ui_register_methods def GMathVec3ui____class_destructor__(instance, is_array): return _base.GMathVec3ui____class_destructor__(instance, is_array) GMathVec3ui____class_destructor__ = _base.GMathVec3ui____class_destructor__ class GMathVec4ui(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4ui, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4ui, name) def __init__(self, *args): this = _base.new_GMathVec4ui(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec4ui_nullify(self) def get_copy(self): return _base.GMathVec4ui_get_copy(self) def copy_from(self, u): return _base.GMathVec4ui_copy_from(self, u) def copy_to(self, u): return _base.GMathVec4ui_copy_to(self, u) def get_value(self, index): return _base.GMathVec4ui_get_value(self, index) def set_value(self, index, value): return _base.GMathVec4ui_set_value(self, index, value) def get_x(self): return _base.GMathVec4ui_get_x(self) def set_x(self, x): return _base.GMathVec4ui_set_x(self, x) def get_y(self): return _base.GMathVec4ui_get_y(self) def set_y(self, y): return _base.GMathVec4ui_set_y(self, y) def get_z(self): return _base.GMathVec4ui_get_z(self) def set_z(self, z): return _base.GMathVec4ui_set_z(self, z) def get_w(self): return _base.GMathVec4ui_get_w(self) def set_w(self, w): return _base.GMathVec4ui_set_w(self, w) def get_red(self): return _base.GMathVec4ui_get_red(self) def set_red(self, red): return _base.GMathVec4ui_set_red(self, red) def get_green(self): return _base.GMathVec4ui_get_green(self) def set_green(self, green): return _base.GMathVec4ui_set_green(self, green) def get_blue(self): return _base.GMathVec4ui_get_blue(self) def set_blue(self, blue): return _base.GMathVec4ui_set_blue(self, blue) def get_alpha(self): return _base.GMathVec4ui_get_alpha(self) def set_alpha(self, alpha): return _base.GMathVec4ui_set_alpha(self, alpha) def get_sqr_norm(self, *args): return _base.GMathVec4ui_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec4ui_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec4ui_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec4ui_get_length(self, *args) def sub(self, *args): return _base.GMathVec4ui_sub(self, *args) def get_data(self, *args): return _base.GMathVec4ui_get_data(self, *args) def is_null(self, *args): return _base.GMathVec4ui_is_null(self, *args) def is_finite(self): return _base.GMathVec4ui_is_finite(self) def __iadd__(self, *args): return _base.GMathVec4ui___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec4ui___add__(self, *args) def __isub__(self, *args): return _base.GMathVec4ui___isub__(self, *args) def __neg__(self): return _base.GMathVec4ui___neg__(self) def __sub__(self, *args): return _base.GMathVec4ui___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec4ui___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec4ui___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec4ui___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec4ui___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec4ui_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4ui_class_info) else: class_info = _base.GMathVec4ui_class_info if _newclass: register_methods = staticmethod(_base.GMathVec4ui_register_methods) else: register_methods = _base.GMathVec4ui_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4ui____class_destructor__) else: ___class_destructor__ = _base.GMathVec4ui____class_destructor__ def __repr__(self): return _base.GMathVec4ui___repr__(self) def __setitem__(self, index, value): return _base.GMathVec4ui___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec4ui___getitem__(self, index) def __len__(self): return _base.GMathVec4ui___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4ui __del__ = lambda self: None GMathVec4ui_swigregister = _base.GMathVec4ui_swigregister GMathVec4ui_swigregister(GMathVec4ui) def GMathVec4ui_class_info(): return _base.GMathVec4ui_class_info() GMathVec4ui_class_info = _base.GMathVec4ui_class_info def GMathVec4ui_register_methods(cls): return _base.GMathVec4ui_register_methods(cls) GMathVec4ui_register_methods = _base.GMathVec4ui_register_methods def GMathVec4ui____class_destructor__(instance, is_array): return _base.GMathVec4ui____class_destructor__(instance, is_array) GMathVec4ui____class_destructor__ = _base.GMathVec4ui____class_destructor__ class GMathVec2uiBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2uiBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2uiBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec2uiBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec2uiBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2uiBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec2uiBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec2uiBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec2uiBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec2uiBasicArray_front(self) def back(self): return _base.GMathVec2uiBasicArray_back(self) def exists(self, item): return _base.GMathVec2uiBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec2uiBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec2uiBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec2uiBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec2uiBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec2uiBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec2uiBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2uiBasicArray_class_info) else: class_info = _base.GMathVec2uiBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2uiBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2uiBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec2uiBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec2uiBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec2uiBasicArray_swigregister = _base.GMathVec2uiBasicArray_swigregister GMathVec2uiBasicArray_swigregister(GMathVec2uiBasicArray) def GMathVec2uiBasicArray_class_info(): return _base.GMathVec2uiBasicArray_class_info() GMathVec2uiBasicArray_class_info = _base.GMathVec2uiBasicArray_class_info def GMathVec2uiBasicArray____class_destructor__(instance, is_array): return _base.GMathVec2uiBasicArray____class_destructor__(instance, is_array) GMathVec2uiBasicArray____class_destructor__ = _base.GMathVec2uiBasicArray____class_destructor__ class GMathVec2uiArray(GMathVec2uiBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2uiBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2uiArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec2uiBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2uiArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2uiArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2uiArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec2uiArray_append(self, *args) def get_count(self): return _base.GMathVec2uiArray_get_count(self) def remove_all(self): return _base.GMathVec2uiArray_remove_all(self) def resize(self, *args): return _base.GMathVec2uiArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec2uiArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2uiArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2uiArray_get_list(self, list) def set_list(self, list): return _base.GMathVec2uiArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec2uiArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec2uiArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2uiArray_class_info) else: class_info = _base.GMathVec2uiArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2uiArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2uiArray____class_destructor__ GMathVec2uiArray_swigregister = _base.GMathVec2uiArray_swigregister GMathVec2uiArray_swigregister(GMathVec2uiArray) def GMathVec2uiArray_class_info(): return _base.GMathVec2uiArray_class_info() GMathVec2uiArray_class_info = _base.GMathVec2uiArray_class_info def GMathVec2uiArray____class_destructor__(instance, is_array): return _base.GMathVec2uiArray____class_destructor__(instance, is_array) GMathVec2uiArray____class_destructor__ = _base.GMathVec2uiArray____class_destructor__ class GMathVec2uiVector(GMathVec2uiBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2uiBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2uiVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec2uiBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2uiVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2uiVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2uiVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec2uiVector_append(self, *args) def add(self, element): return _base.GMathVec2uiVector_add(self, element) def insert(self, element, index): return _base.GMathVec2uiVector_insert(self, element, index) def remove_last(self): return _base.GMathVec2uiVector_remove_last(self) def empty(self): return _base.GMathVec2uiVector_empty(self) def remove_all(self): return _base.GMathVec2uiVector_remove_all(self) def clear(self, *args): return _base.GMathVec2uiVector_clear(self, *args) def remove(self, *args): return _base.GMathVec2uiVector_remove(self, *args) def is_empty(self): return _base.GMathVec2uiVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec2uiVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec2uiVector_remove_items(self, item) def get_count(self): return _base.GMathVec2uiVector_get_count(self) def get_capacity(self): return _base.GMathVec2uiVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec2uiVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec2uiVector_set_capacity(self, *args) def refit(self): return _base.GMathVec2uiVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec2uiVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec2uiVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec2uiVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec2uiVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2uiVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2uiVector_get_list(self, list) def set_list(self, list): return _base.GMathVec2uiVector_set_list(self, list) def get_array(self, array): return _base.GMathVec2uiVector_get_array(self, array) def set_array(self, array): return _base.GMathVec2uiVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec2uiVector_move(self, arg2, to) def item(self, index): return _base.GMathVec2uiVector_item(self, index) def get_memory_size(self): return _base.GMathVec2uiVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec2uiVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2uiVector_class_info) else: class_info = _base.GMathVec2uiVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2uiVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec2uiVector____class_destructor__ GMathVec2uiVector_swigregister = _base.GMathVec2uiVector_swigregister GMathVec2uiVector_swigregister(GMathVec2uiVector) def GMathVec2uiVector_class_info(): return _base.GMathVec2uiVector_class_info() GMathVec2uiVector_class_info = _base.GMathVec2uiVector_class_info def GMathVec2uiVector____class_destructor__(instance, is_array): return _base.GMathVec2uiVector____class_destructor__(instance, is_array) GMathVec2uiVector____class_destructor__ = _base.GMathVec2uiVector____class_destructor__ class GMathVec2uiSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2uiSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2uiSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2uiSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec2uiSet_get_count(self) def exists(self, *args): return _base.GMathVec2uiSet_exists(self, *args) def is_empty(self): return _base.GMathVec2uiSet_is_empty(self) def is_included(self, set): return _base.GMathVec2uiSet_is_included(self, set) def get_items(self): return _base.GMathVec2uiSet_get_items(self) def get_item(self, index): return _base.GMathVec2uiSet_get_item(self, index) def back(self, *args): return _base.GMathVec2uiSet_back(self, *args) def get_array(self, array): return _base.GMathVec2uiSet_get_array(self, array) def get_list(self, list): return _base.GMathVec2uiSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec2uiSet_get_vector(self, vector) def to_array(self): return _base.GMathVec2uiSet_to_array(self) def add(self, *args): return _base.GMathVec2uiSet_add(self, *args) def remove(self, index): return _base.GMathVec2uiSet_remove(self, index) def remove_item(self, item): return _base.GMathVec2uiSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec2uiSet_remove_set(self, set) def remove_all(self): return _base.GMathVec2uiSet_remove_all(self) def toggle(self, item): return _base.GMathVec2uiSet_toggle(self, item) def unite(self, set): return _base.GMathVec2uiSet_unite(self, set) def intersect(self, set): return _base.GMathVec2uiSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec2uiSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec2uiSet___ne__(self, set) def begin(self, *args): return _base.GMathVec2uiSet_begin(self, *args) def end(self, *args): return _base.GMathVec2uiSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec2uiSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec2uiSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec2uiSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec2uiSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec2uiSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2uiSet __del__ = lambda self: None GMathVec2uiSet_swigregister = _base.GMathVec2uiSet_swigregister GMathVec2uiSet_swigregister(GMathVec2uiSet) def GMathVec2uiSet_get_linear_search_threshold(): return _base.GMathVec2uiSet_get_linear_search_threshold() GMathVec2uiSet_get_linear_search_threshold = _base.GMathVec2uiSet_get_linear_search_threshold class GMathVec3uiBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3uiBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3uiBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec3uiBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec3uiBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3uiBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec3uiBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec3uiBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec3uiBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec3uiBasicArray_front(self) def back(self): return _base.GMathVec3uiBasicArray_back(self) def exists(self, item): return _base.GMathVec3uiBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec3uiBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec3uiBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec3uiBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec3uiBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec3uiBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec3uiBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3uiBasicArray_class_info) else: class_info = _base.GMathVec3uiBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3uiBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3uiBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec3uiBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec3uiBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec3uiBasicArray_swigregister = _base.GMathVec3uiBasicArray_swigregister GMathVec3uiBasicArray_swigregister(GMathVec3uiBasicArray) def GMathVec3uiBasicArray_class_info(): return _base.GMathVec3uiBasicArray_class_info() GMathVec3uiBasicArray_class_info = _base.GMathVec3uiBasicArray_class_info def GMathVec3uiBasicArray____class_destructor__(instance, is_array): return _base.GMathVec3uiBasicArray____class_destructor__(instance, is_array) GMathVec3uiBasicArray____class_destructor__ = _base.GMathVec3uiBasicArray____class_destructor__ class GMathVec3uiArray(GMathVec3uiBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3uiBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3uiArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec3uiBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3uiArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3uiArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3uiArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec3uiArray_append(self, *args) def get_count(self): return _base.GMathVec3uiArray_get_count(self) def remove_all(self): return _base.GMathVec3uiArray_remove_all(self) def resize(self, *args): return _base.GMathVec3uiArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec3uiArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3uiArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3uiArray_get_list(self, list) def set_list(self, list): return _base.GMathVec3uiArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec3uiArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec3uiArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3uiArray_class_info) else: class_info = _base.GMathVec3uiArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3uiArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3uiArray____class_destructor__ GMathVec3uiArray_swigregister = _base.GMathVec3uiArray_swigregister GMathVec3uiArray_swigregister(GMathVec3uiArray) def GMathVec3uiArray_class_info(): return _base.GMathVec3uiArray_class_info() GMathVec3uiArray_class_info = _base.GMathVec3uiArray_class_info def GMathVec3uiArray____class_destructor__(instance, is_array): return _base.GMathVec3uiArray____class_destructor__(instance, is_array) GMathVec3uiArray____class_destructor__ = _base.GMathVec3uiArray____class_destructor__ class GMathVec3uiVector(GMathVec3uiBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3uiBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3uiVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec3uiBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3uiVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3uiVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3uiVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec3uiVector_append(self, *args) def add(self, element): return _base.GMathVec3uiVector_add(self, element) def insert(self, element, index): return _base.GMathVec3uiVector_insert(self, element, index) def remove_last(self): return _base.GMathVec3uiVector_remove_last(self) def empty(self): return _base.GMathVec3uiVector_empty(self) def remove_all(self): return _base.GMathVec3uiVector_remove_all(self) def clear(self, *args): return _base.GMathVec3uiVector_clear(self, *args) def remove(self, *args): return _base.GMathVec3uiVector_remove(self, *args) def is_empty(self): return _base.GMathVec3uiVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec3uiVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec3uiVector_remove_items(self, item) def get_count(self): return _base.GMathVec3uiVector_get_count(self) def get_capacity(self): return _base.GMathVec3uiVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec3uiVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec3uiVector_set_capacity(self, *args) def refit(self): return _base.GMathVec3uiVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec3uiVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec3uiVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec3uiVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec3uiVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3uiVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3uiVector_get_list(self, list) def set_list(self, list): return _base.GMathVec3uiVector_set_list(self, list) def get_array(self, array): return _base.GMathVec3uiVector_get_array(self, array) def set_array(self, array): return _base.GMathVec3uiVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec3uiVector_move(self, arg2, to) def item(self, index): return _base.GMathVec3uiVector_item(self, index) def get_memory_size(self): return _base.GMathVec3uiVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec3uiVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3uiVector_class_info) else: class_info = _base.GMathVec3uiVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3uiVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec3uiVector____class_destructor__ GMathVec3uiVector_swigregister = _base.GMathVec3uiVector_swigregister GMathVec3uiVector_swigregister(GMathVec3uiVector) def GMathVec3uiVector_class_info(): return _base.GMathVec3uiVector_class_info() GMathVec3uiVector_class_info = _base.GMathVec3uiVector_class_info def GMathVec3uiVector____class_destructor__(instance, is_array): return _base.GMathVec3uiVector____class_destructor__(instance, is_array) GMathVec3uiVector____class_destructor__ = _base.GMathVec3uiVector____class_destructor__ class GMathVec3uiSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3uiSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3uiSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3uiSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec3uiSet_get_count(self) def exists(self, *args): return _base.GMathVec3uiSet_exists(self, *args) def is_empty(self): return _base.GMathVec3uiSet_is_empty(self) def is_included(self, set): return _base.GMathVec3uiSet_is_included(self, set) def get_items(self): return _base.GMathVec3uiSet_get_items(self) def get_item(self, index): return _base.GMathVec3uiSet_get_item(self, index) def back(self, *args): return _base.GMathVec3uiSet_back(self, *args) def get_array(self, array): return _base.GMathVec3uiSet_get_array(self, array) def get_list(self, list): return _base.GMathVec3uiSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec3uiSet_get_vector(self, vector) def to_array(self): return _base.GMathVec3uiSet_to_array(self) def add(self, *args): return _base.GMathVec3uiSet_add(self, *args) def remove(self, index): return _base.GMathVec3uiSet_remove(self, index) def remove_item(self, item): return _base.GMathVec3uiSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec3uiSet_remove_set(self, set) def remove_all(self): return _base.GMathVec3uiSet_remove_all(self) def toggle(self, item): return _base.GMathVec3uiSet_toggle(self, item) def unite(self, set): return _base.GMathVec3uiSet_unite(self, set) def intersect(self, set): return _base.GMathVec3uiSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec3uiSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec3uiSet___ne__(self, set) def begin(self, *args): return _base.GMathVec3uiSet_begin(self, *args) def end(self, *args): return _base.GMathVec3uiSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec3uiSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec3uiSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec3uiSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec3uiSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec3uiSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3uiSet __del__ = lambda self: None GMathVec3uiSet_swigregister = _base.GMathVec3uiSet_swigregister GMathVec3uiSet_swigregister(GMathVec3uiSet) def GMathVec3uiSet_get_linear_search_threshold(): return _base.GMathVec3uiSet_get_linear_search_threshold() GMathVec3uiSet_get_linear_search_threshold = _base.GMathVec3uiSet_get_linear_search_threshold class GMathVec4uiBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4uiBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4uiBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec4uiBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec4uiBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4uiBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec4uiBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec4uiBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec4uiBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec4uiBasicArray_front(self) def back(self): return _base.GMathVec4uiBasicArray_back(self) def exists(self, item): return _base.GMathVec4uiBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec4uiBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec4uiBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec4uiBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec4uiBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec4uiBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec4uiBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4uiBasicArray_class_info) else: class_info = _base.GMathVec4uiBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4uiBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4uiBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec4uiBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec4uiBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec4uiBasicArray_swigregister = _base.GMathVec4uiBasicArray_swigregister GMathVec4uiBasicArray_swigregister(GMathVec4uiBasicArray) def GMathVec4uiBasicArray_class_info(): return _base.GMathVec4uiBasicArray_class_info() GMathVec4uiBasicArray_class_info = _base.GMathVec4uiBasicArray_class_info def GMathVec4uiBasicArray____class_destructor__(instance, is_array): return _base.GMathVec4uiBasicArray____class_destructor__(instance, is_array) GMathVec4uiBasicArray____class_destructor__ = _base.GMathVec4uiBasicArray____class_destructor__ class GMathVec4uiArray(GMathVec4uiBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4uiBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4uiArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec4uiBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4uiArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4uiArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4uiArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec4uiArray_append(self, *args) def get_count(self): return _base.GMathVec4uiArray_get_count(self) def remove_all(self): return _base.GMathVec4uiArray_remove_all(self) def resize(self, *args): return _base.GMathVec4uiArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec4uiArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4uiArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4uiArray_get_list(self, list) def set_list(self, list): return _base.GMathVec4uiArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec4uiArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec4uiArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4uiArray_class_info) else: class_info = _base.GMathVec4uiArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4uiArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4uiArray____class_destructor__ GMathVec4uiArray_swigregister = _base.GMathVec4uiArray_swigregister GMathVec4uiArray_swigregister(GMathVec4uiArray) def GMathVec4uiArray_class_info(): return _base.GMathVec4uiArray_class_info() GMathVec4uiArray_class_info = _base.GMathVec4uiArray_class_info def GMathVec4uiArray____class_destructor__(instance, is_array): return _base.GMathVec4uiArray____class_destructor__(instance, is_array) GMathVec4uiArray____class_destructor__ = _base.GMathVec4uiArray____class_destructor__ class GMathVec4uiVector(GMathVec4uiBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4uiBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4uiVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec4uiBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4uiVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4uiVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4uiVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec4uiVector_append(self, *args) def add(self, element): return _base.GMathVec4uiVector_add(self, element) def insert(self, element, index): return _base.GMathVec4uiVector_insert(self, element, index) def remove_last(self): return _base.GMathVec4uiVector_remove_last(self) def empty(self): return _base.GMathVec4uiVector_empty(self) def remove_all(self): return _base.GMathVec4uiVector_remove_all(self) def clear(self, *args): return _base.GMathVec4uiVector_clear(self, *args) def remove(self, *args): return _base.GMathVec4uiVector_remove(self, *args) def is_empty(self): return _base.GMathVec4uiVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec4uiVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec4uiVector_remove_items(self, item) def get_count(self): return _base.GMathVec4uiVector_get_count(self) def get_capacity(self): return _base.GMathVec4uiVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec4uiVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec4uiVector_set_capacity(self, *args) def refit(self): return _base.GMathVec4uiVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec4uiVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec4uiVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec4uiVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec4uiVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4uiVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4uiVector_get_list(self, list) def set_list(self, list): return _base.GMathVec4uiVector_set_list(self, list) def get_array(self, array): return _base.GMathVec4uiVector_get_array(self, array) def set_array(self, array): return _base.GMathVec4uiVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec4uiVector_move(self, arg2, to) def item(self, index): return _base.GMathVec4uiVector_item(self, index) def get_memory_size(self): return _base.GMathVec4uiVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec4uiVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4uiVector_class_info) else: class_info = _base.GMathVec4uiVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4uiVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec4uiVector____class_destructor__ GMathVec4uiVector_swigregister = _base.GMathVec4uiVector_swigregister GMathVec4uiVector_swigregister(GMathVec4uiVector) def GMathVec4uiVector_class_info(): return _base.GMathVec4uiVector_class_info() GMathVec4uiVector_class_info = _base.GMathVec4uiVector_class_info def GMathVec4uiVector____class_destructor__(instance, is_array): return _base.GMathVec4uiVector____class_destructor__(instance, is_array) GMathVec4uiVector____class_destructor__ = _base.GMathVec4uiVector____class_destructor__ class GMathVec4uiSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4uiSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4uiSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4uiSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec4uiSet_get_count(self) def exists(self, *args): return _base.GMathVec4uiSet_exists(self, *args) def is_empty(self): return _base.GMathVec4uiSet_is_empty(self) def is_included(self, set): return _base.GMathVec4uiSet_is_included(self, set) def get_items(self): return _base.GMathVec4uiSet_get_items(self) def get_item(self, index): return _base.GMathVec4uiSet_get_item(self, index) def back(self, *args): return _base.GMathVec4uiSet_back(self, *args) def get_array(self, array): return _base.GMathVec4uiSet_get_array(self, array) def get_list(self, list): return _base.GMathVec4uiSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec4uiSet_get_vector(self, vector) def to_array(self): return _base.GMathVec4uiSet_to_array(self) def add(self, *args): return _base.GMathVec4uiSet_add(self, *args) def remove(self, index): return _base.GMathVec4uiSet_remove(self, index) def remove_item(self, item): return _base.GMathVec4uiSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec4uiSet_remove_set(self, set) def remove_all(self): return _base.GMathVec4uiSet_remove_all(self) def toggle(self, item): return _base.GMathVec4uiSet_toggle(self, item) def unite(self, set): return _base.GMathVec4uiSet_unite(self, set) def intersect(self, set): return _base.GMathVec4uiSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec4uiSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec4uiSet___ne__(self, set) def begin(self, *args): return _base.GMathVec4uiSet_begin(self, *args) def end(self, *args): return _base.GMathVec4uiSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec4uiSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec4uiSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec4uiSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec4uiSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec4uiSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4uiSet __del__ = lambda self: None GMathVec4uiSet_swigregister = _base.GMathVec4uiSet_swigregister GMathVec4uiSet_swigregister(GMathVec4uiSet) def GMathVec4uiSet_get_linear_search_threshold(): return _base.GMathVec4uiSet_get_linear_search_threshold() GMathVec4uiSet_get_linear_search_threshold = _base.GMathVec4uiSet_get_linear_search_threshold class GMathVec2f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2f, name) def __init__(self, *args): this = _base.new_GMathVec2f(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec2f_nullify(self) def get_value(self, index): return _base.GMathVec2f_get_value(self, index) def set_value(self, index, value): return _base.GMathVec2f_set_value(self, index, value) def get_width(self): return _base.GMathVec2f_get_width(self) def set_width(self, width): return _base.GMathVec2f_set_width(self, width) def get_height(self): return _base.GMathVec2f_get_height(self) def set_height(self, height): return _base.GMathVec2f_set_height(self, height) def get_x(self): return _base.GMathVec2f_get_x(self) def set_x(self, x): return _base.GMathVec2f_set_x(self, x) def get_y(self): return _base.GMathVec2f_get_y(self) def set_y(self, y): return _base.GMathVec2f_set_y(self, y) def get_red(self): return _base.GMathVec2f_get_red(self) def get_u(self): return _base.GMathVec2f_get_u(self) def set_u(self, u): return _base.GMathVec2f_set_u(self, u) def get_v(self): return _base.GMathVec2f_get_v(self) def set_v(self, v): return _base.GMathVec2f_set_v(self, v) def sub(self, *args): return _base.GMathVec2f_sub(self, *args) def absolute(self): return _base.GMathVec2f_absolute(self) def get_sqr_length(self): return _base.GMathVec2f_get_sqr_length(self) def get_length(self): return _base.GMathVec2f_get_length(self) def get_max_norm_signed(self): return _base.GMathVec2f_get_max_norm_signed(self) def get_max_norm(self): return _base.GMathVec2f_get_max_norm(self) def normalize(self, *args): return _base.GMathVec2f_normalize(self, *args) def get_copy(self): return _base.GMathVec2f_get_copy(self) def copy_from(self, v): return _base.GMathVec2f_copy_from(self, v) def copy_to(self, v): return _base.GMathVec2f_copy_to(self, v) def is_null(self, *args): return _base.GMathVec2f_is_null(self, *args) def is_finite(self): return _base.GMathVec2f_is_finite(self) def __eq__(self, v): if not isinstance(obj, type(self)): return False return _base.GMathVec2f___eq__(self, v) def __ne__(self, v): return _base.GMathVec2f___ne__(self, v) def __iadd__(self, *args): return _base.GMathVec2f___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec2f___add__(self, *args) def __isub__(self, *args): return _base.GMathVec2f___isub__(self, *args) def __neg__(self): return _base.GMathVec2f___neg__(self) def __sub__(self, *args): return _base.GMathVec2f___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec2f___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec2f___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec2f___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec2f___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec2f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2f_class_info) else: class_info = _base.GMathVec2f_class_info if _newclass: register_methods = staticmethod(_base.GMathVec2f_register_methods) else: register_methods = _base.GMathVec2f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2f____class_destructor__) else: ___class_destructor__ = _base.GMathVec2f____class_destructor__ def __repr__(self): return _base.GMathVec2f___repr__(self) def __setitem__(self, index, value): return _base.GMathVec2f___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec2f___getitem__(self, index) def __len__(self): return _base.GMathVec2f___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2f __del__ = lambda self: None GMathVec2f_swigregister = _base.GMathVec2f_swigregister GMathVec2f_swigregister(GMathVec2f) def GMathVec2f_class_info(): return _base.GMathVec2f_class_info() GMathVec2f_class_info = _base.GMathVec2f_class_info def GMathVec2f_register_methods(arg2): return _base.GMathVec2f_register_methods(arg2) GMathVec2f_register_methods = _base.GMathVec2f_register_methods def GMathVec2f____class_destructor__(instance, is_array): return _base.GMathVec2f____class_destructor__(instance, is_array) GMathVec2f____class_destructor__ = _base.GMathVec2f____class_destructor__ class GMathVec3f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3f, name) if _newclass: create_local_axis = staticmethod(_base.GMathVec3f_create_local_axis) else: create_local_axis = _base.GMathVec3f_create_local_axis def __init__(self, *args): this = _base.new_GMathVec3f(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec3f_nullify(self) def get_copy(self): return _base.GMathVec3f_get_copy(self) def copy_from(self, u): return _base.GMathVec3f_copy_from(self, u) def copy_to(self, u): return _base.GMathVec3f_copy_to(self, u) def __ne__(self, *args): return _base.GMathVec3f___ne__(self, *args) def __eq__(self, *args): if not isinstance(obj, type(self)): return False return _base.GMathVec3f___eq__(self, *args) def __lt__(self, *args): return _base.GMathVec3f___lt__(self, *args) def __gt__(self, *args): return _base.GMathVec3f___gt__(self, *args) def __le__(self, *args): return _base.GMathVec3f___le__(self, *args) def __ge__(self, *args): return _base.GMathVec3f___ge__(self, *args) def absolute(self): return _base.GMathVec3f_absolute(self) def get_sqr_norm(self, *args): return _base.GMathVec3f_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec3f_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec3f_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec3f_get_length(self, *args) def get_l1_norm_signed(self, *args): return _base.GMathVec3f_get_l1_norm_signed(self, *args) def get_l1_norm(self, *args): return _base.GMathVec3f_get_l1_norm(self, *args) def get_max_norm_signed(self, *args): return _base.GMathVec3f_get_max_norm_signed(self, *args) def get_max_norm(self, *args): return _base.GMathVec3f_get_max_norm(self, *args) def get_min_norm_signed(self, *args): return _base.GMathVec3f_get_min_norm_signed(self, *args) def get_min_norm(self, *args): return _base.GMathVec3f_get_min_norm(self, *args) def scale(self, s): return _base.GMathVec3f_scale(self, s) def get_main_axis(self): return _base.GMathVec3f_get_main_axis(self) def normalize(self, *args): return _base.GMathVec3f_normalize(self, *args) def is_null(self, *args): return _base.GMathVec3f_is_null(self, *args) def is_finite(self): return _base.GMathVec3f_is_finite(self) def get_data(self, *args): return _base.GMathVec3f_get_data(self, *args) def __iadd__(self, *args): return _base.GMathVec3f___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec3f___add__(self, *args) def __isub__(self, *args): return _base.GMathVec3f___isub__(self, *args) def __neg__(self): return _base.GMathVec3f___neg__(self) def __sub__(self, *args): return _base.GMathVec3f___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec3f___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec3f___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec3f___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec3f___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec3f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3f_class_info) else: class_info = _base.GMathVec3f_class_info if _newclass: register_methods = staticmethod(_base.GMathVec3f_register_methods) else: register_methods = _base.GMathVec3f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3f____class_destructor__) else: ___class_destructor__ = _base.GMathVec3f____class_destructor__ def __repr__(self): return _base.GMathVec3f___repr__(self) def __setitem__(self, index, value): return _base.GMathVec3f___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec3f___getitem__(self, index) def __len__(self): return _base.GMathVec3f___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3f __del__ = lambda self: None GMathVec3f_swigregister = _base.GMathVec3f_swigregister GMathVec3f_swigregister(GMathVec3f) def GMathVec3f_create_local_axis(v1, v2, v3): return _base.GMathVec3f_create_local_axis(v1, v2, v3) GMathVec3f_create_local_axis = _base.GMathVec3f_create_local_axis def GMathVec3f_class_info(): return _base.GMathVec3f_class_info() GMathVec3f_class_info = _base.GMathVec3f_class_info def GMathVec3f_register_methods(cls): return _base.GMathVec3f_register_methods(cls) GMathVec3f_register_methods = _base.GMathVec3f_register_methods def GMathVec3f____class_destructor__(instance, is_array): return _base.GMathVec3f____class_destructor__(instance, is_array) GMathVec3f____class_destructor__ = _base.GMathVec3f____class_destructor__ class GMathVec4f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4f, name) def __init__(self, *args): this = _base.new_GMathVec4f(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec4f_nullify(self) def get_copy(self): return _base.GMathVec4f_get_copy(self) def copy_from(self, u): return _base.GMathVec4f_copy_from(self, u) def copy_to(self, u): return _base.GMathVec4f_copy_to(self, u) def get_value(self, index): return _base.GMathVec4f_get_value(self, index) def set_value(self, index, value): return _base.GMathVec4f_set_value(self, index, value) def get_x(self): return _base.GMathVec4f_get_x(self) def set_x(self, x): return _base.GMathVec4f_set_x(self, x) def get_y(self): return _base.GMathVec4f_get_y(self) def set_y(self, y): return _base.GMathVec4f_set_y(self, y) def get_z(self): return _base.GMathVec4f_get_z(self) def set_z(self, z): return _base.GMathVec4f_set_z(self, z) def get_w(self): return _base.GMathVec4f_get_w(self) def set_w(self, w): return _base.GMathVec4f_set_w(self, w) def get_red(self): return _base.GMathVec4f_get_red(self) def set_red(self, red): return _base.GMathVec4f_set_red(self, red) def get_green(self): return _base.GMathVec4f_get_green(self) def set_green(self, green): return _base.GMathVec4f_set_green(self, green) def get_blue(self): return _base.GMathVec4f_get_blue(self) def set_blue(self, blue): return _base.GMathVec4f_set_blue(self, blue) def get_alpha(self): return _base.GMathVec4f_get_alpha(self) def set_alpha(self, alpha): return _base.GMathVec4f_set_alpha(self, alpha) def get_sqr_norm(self, *args): return _base.GMathVec4f_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec4f_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec4f_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec4f_get_length(self, *args) def sub(self, *args): return _base.GMathVec4f_sub(self, *args) def get_data(self, *args): return _base.GMathVec4f_get_data(self, *args) def is_null(self, *args): return _base.GMathVec4f_is_null(self, *args) def is_finite(self): return _base.GMathVec4f_is_finite(self) def __iadd__(self, *args): return _base.GMathVec4f___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec4f___add__(self, *args) def __isub__(self, *args): return _base.GMathVec4f___isub__(self, *args) def __neg__(self): return _base.GMathVec4f___neg__(self) def __sub__(self, *args): return _base.GMathVec4f___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec4f___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec4f___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec4f___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec4f___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec4f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4f_class_info) else: class_info = _base.GMathVec4f_class_info if _newclass: register_methods = staticmethod(_base.GMathVec4f_register_methods) else: register_methods = _base.GMathVec4f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4f____class_destructor__) else: ___class_destructor__ = _base.GMathVec4f____class_destructor__ def __repr__(self): return _base.GMathVec4f___repr__(self) def __setitem__(self, index, value): return _base.GMathVec4f___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec4f___getitem__(self, index) def __len__(self): return _base.GMathVec4f___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4f __del__ = lambda self: None GMathVec4f_swigregister = _base.GMathVec4f_swigregister GMathVec4f_swigregister(GMathVec4f) def GMathVec4f_class_info(): return _base.GMathVec4f_class_info() GMathVec4f_class_info = _base.GMathVec4f_class_info def GMathVec4f_register_methods(cls): return _base.GMathVec4f_register_methods(cls) GMathVec4f_register_methods = _base.GMathVec4f_register_methods def GMathVec4f____class_destructor__(instance, is_array): return _base.GMathVec4f____class_destructor__(instance, is_array) GMathVec4f____class_destructor__ = _base.GMathVec4f____class_destructor__ class GMathVec2fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec2fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec2fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec2fBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec2fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec2fBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec2fBasicArray_front(self) def back(self): return _base.GMathVec2fBasicArray_back(self) def exists(self, item): return _base.GMathVec2fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec2fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec2fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec2fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec2fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec2fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec2fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2fBasicArray_class_info) else: class_info = _base.GMathVec2fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec2fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec2fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec2fBasicArray_swigregister = _base.GMathVec2fBasicArray_swigregister GMathVec2fBasicArray_swigregister(GMathVec2fBasicArray) def GMathVec2fBasicArray_class_info(): return _base.GMathVec2fBasicArray_class_info() GMathVec2fBasicArray_class_info = _base.GMathVec2fBasicArray_class_info def GMathVec2fBasicArray____class_destructor__(instance, is_array): return _base.GMathVec2fBasicArray____class_destructor__(instance, is_array) GMathVec2fBasicArray____class_destructor__ = _base.GMathVec2fBasicArray____class_destructor__ class GMathVec2fArray(GMathVec2fBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2fArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec2fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2fArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec2fArray_append(self, *args) def get_count(self): return _base.GMathVec2fArray_get_count(self) def remove_all(self): return _base.GMathVec2fArray_remove_all(self) def resize(self, *args): return _base.GMathVec2fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec2fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2fArray_get_list(self, list) def set_list(self, list): return _base.GMathVec2fArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec2fArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec2fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2fArray_class_info) else: class_info = _base.GMathVec2fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2fArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2fArray____class_destructor__ GMathVec2fArray_swigregister = _base.GMathVec2fArray_swigregister GMathVec2fArray_swigregister(GMathVec2fArray) def GMathVec2fArray_class_info(): return _base.GMathVec2fArray_class_info() GMathVec2fArray_class_info = _base.GMathVec2fArray_class_info def GMathVec2fArray____class_destructor__(instance, is_array): return _base.GMathVec2fArray____class_destructor__(instance, is_array) GMathVec2fArray____class_destructor__ = _base.GMathVec2fArray____class_destructor__ class GMathVec2fVector(GMathVec2fBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2fVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec2fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2fVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec2fVector_append(self, *args) def add(self, element): return _base.GMathVec2fVector_add(self, element) def insert(self, element, index): return _base.GMathVec2fVector_insert(self, element, index) def remove_last(self): return _base.GMathVec2fVector_remove_last(self) def empty(self): return _base.GMathVec2fVector_empty(self) def remove_all(self): return _base.GMathVec2fVector_remove_all(self) def clear(self, *args): return _base.GMathVec2fVector_clear(self, *args) def remove(self, *args): return _base.GMathVec2fVector_remove(self, *args) def is_empty(self): return _base.GMathVec2fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec2fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec2fVector_remove_items(self, item) def get_count(self): return _base.GMathVec2fVector_get_count(self) def get_capacity(self): return _base.GMathVec2fVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec2fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec2fVector_set_capacity(self, *args) def refit(self): return _base.GMathVec2fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec2fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec2fVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec2fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec2fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2fVector_get_list(self, list) def set_list(self, list): return _base.GMathVec2fVector_set_list(self, list) def get_array(self, array): return _base.GMathVec2fVector_get_array(self, array) def set_array(self, array): return _base.GMathVec2fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec2fVector_move(self, arg2, to) def item(self, index): return _base.GMathVec2fVector_item(self, index) def get_memory_size(self): return _base.GMathVec2fVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec2fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2fVector_class_info) else: class_info = _base.GMathVec2fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2fVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec2fVector____class_destructor__ GMathVec2fVector_swigregister = _base.GMathVec2fVector_swigregister GMathVec2fVector_swigregister(GMathVec2fVector) def GMathVec2fVector_class_info(): return _base.GMathVec2fVector_class_info() GMathVec2fVector_class_info = _base.GMathVec2fVector_class_info def GMathVec2fVector____class_destructor__(instance, is_array): return _base.GMathVec2fVector____class_destructor__(instance, is_array) GMathVec2fVector____class_destructor__ = _base.GMathVec2fVector____class_destructor__ class GMathVec2fSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2fSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2fSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2fSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec2fSet_get_count(self) def exists(self, *args): return _base.GMathVec2fSet_exists(self, *args) def is_empty(self): return _base.GMathVec2fSet_is_empty(self) def is_included(self, set): return _base.GMathVec2fSet_is_included(self, set) def get_items(self): return _base.GMathVec2fSet_get_items(self) def get_item(self, index): return _base.GMathVec2fSet_get_item(self, index) def back(self, *args): return _base.GMathVec2fSet_back(self, *args) def get_array(self, array): return _base.GMathVec2fSet_get_array(self, array) def get_list(self, list): return _base.GMathVec2fSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec2fSet_get_vector(self, vector) def to_array(self): return _base.GMathVec2fSet_to_array(self) def add(self, *args): return _base.GMathVec2fSet_add(self, *args) def remove(self, index): return _base.GMathVec2fSet_remove(self, index) def remove_item(self, item): return _base.GMathVec2fSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec2fSet_remove_set(self, set) def remove_all(self): return _base.GMathVec2fSet_remove_all(self) def toggle(self, item): return _base.GMathVec2fSet_toggle(self, item) def unite(self, set): return _base.GMathVec2fSet_unite(self, set) def intersect(self, set): return _base.GMathVec2fSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec2fSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec2fSet___ne__(self, set) def begin(self, *args): return _base.GMathVec2fSet_begin(self, *args) def end(self, *args): return _base.GMathVec2fSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec2fSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec2fSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec2fSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec2fSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec2fSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2fSet __del__ = lambda self: None GMathVec2fSet_swigregister = _base.GMathVec2fSet_swigregister GMathVec2fSet_swigregister(GMathVec2fSet) def GMathVec2fSet_get_linear_search_threshold(): return _base.GMathVec2fSet_get_linear_search_threshold() GMathVec2fSet_get_linear_search_threshold = _base.GMathVec2fSet_get_linear_search_threshold class GMathVec3fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec3fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec3fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec3fBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec3fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec3fBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec3fBasicArray_front(self) def back(self): return _base.GMathVec3fBasicArray_back(self) def exists(self, item): return _base.GMathVec3fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec3fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec3fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec3fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec3fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec3fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec3fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3fBasicArray_class_info) else: class_info = _base.GMathVec3fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec3fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec3fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec3fBasicArray_swigregister = _base.GMathVec3fBasicArray_swigregister GMathVec3fBasicArray_swigregister(GMathVec3fBasicArray) def GMathVec3fBasicArray_class_info(): return _base.GMathVec3fBasicArray_class_info() GMathVec3fBasicArray_class_info = _base.GMathVec3fBasicArray_class_info def GMathVec3fBasicArray____class_destructor__(instance, is_array): return _base.GMathVec3fBasicArray____class_destructor__(instance, is_array) GMathVec3fBasicArray____class_destructor__ = _base.GMathVec3fBasicArray____class_destructor__ class GMathVec3fArray(GMathVec3fBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3fArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec3fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3fArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec3fArray_append(self, *args) def get_count(self): return _base.GMathVec3fArray_get_count(self) def remove_all(self): return _base.GMathVec3fArray_remove_all(self) def resize(self, *args): return _base.GMathVec3fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec3fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3fArray_get_list(self, list) def set_list(self, list): return _base.GMathVec3fArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec3fArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec3fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3fArray_class_info) else: class_info = _base.GMathVec3fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3fArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3fArray____class_destructor__ GMathVec3fArray_swigregister = _base.GMathVec3fArray_swigregister GMathVec3fArray_swigregister(GMathVec3fArray) def GMathVec3fArray_class_info(): return _base.GMathVec3fArray_class_info() GMathVec3fArray_class_info = _base.GMathVec3fArray_class_info def GMathVec3fArray____class_destructor__(instance, is_array): return _base.GMathVec3fArray____class_destructor__(instance, is_array) GMathVec3fArray____class_destructor__ = _base.GMathVec3fArray____class_destructor__ class GMathVec3fVector(GMathVec3fBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3fVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec3fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3fVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec3fVector_append(self, *args) def add(self, element): return _base.GMathVec3fVector_add(self, element) def insert(self, element, index): return _base.GMathVec3fVector_insert(self, element, index) def remove_last(self): return _base.GMathVec3fVector_remove_last(self) def empty(self): return _base.GMathVec3fVector_empty(self) def remove_all(self): return _base.GMathVec3fVector_remove_all(self) def clear(self, *args): return _base.GMathVec3fVector_clear(self, *args) def remove(self, *args): return _base.GMathVec3fVector_remove(self, *args) def is_empty(self): return _base.GMathVec3fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec3fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec3fVector_remove_items(self, item) def get_count(self): return _base.GMathVec3fVector_get_count(self) def get_capacity(self): return _base.GMathVec3fVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec3fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec3fVector_set_capacity(self, *args) def refit(self): return _base.GMathVec3fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec3fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec3fVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec3fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec3fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3fVector_get_list(self, list) def set_list(self, list): return _base.GMathVec3fVector_set_list(self, list) def get_array(self, array): return _base.GMathVec3fVector_get_array(self, array) def set_array(self, array): return _base.GMathVec3fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec3fVector_move(self, arg2, to) def item(self, index): return _base.GMathVec3fVector_item(self, index) def get_memory_size(self): return _base.GMathVec3fVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec3fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3fVector_class_info) else: class_info = _base.GMathVec3fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3fVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec3fVector____class_destructor__ GMathVec3fVector_swigregister = _base.GMathVec3fVector_swigregister GMathVec3fVector_swigregister(GMathVec3fVector) def GMathVec3fVector_class_info(): return _base.GMathVec3fVector_class_info() GMathVec3fVector_class_info = _base.GMathVec3fVector_class_info def GMathVec3fVector____class_destructor__(instance, is_array): return _base.GMathVec3fVector____class_destructor__(instance, is_array) GMathVec3fVector____class_destructor__ = _base.GMathVec3fVector____class_destructor__ class GMathVec3fSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3fSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3fSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3fSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec3fSet_get_count(self) def exists(self, *args): return _base.GMathVec3fSet_exists(self, *args) def is_empty(self): return _base.GMathVec3fSet_is_empty(self) def is_included(self, set): return _base.GMathVec3fSet_is_included(self, set) def get_items(self): return _base.GMathVec3fSet_get_items(self) def get_item(self, index): return _base.GMathVec3fSet_get_item(self, index) def back(self, *args): return _base.GMathVec3fSet_back(self, *args) def get_array(self, array): return _base.GMathVec3fSet_get_array(self, array) def get_list(self, list): return _base.GMathVec3fSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec3fSet_get_vector(self, vector) def to_array(self): return _base.GMathVec3fSet_to_array(self) def add(self, *args): return _base.GMathVec3fSet_add(self, *args) def remove(self, index): return _base.GMathVec3fSet_remove(self, index) def remove_item(self, item): return _base.GMathVec3fSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec3fSet_remove_set(self, set) def remove_all(self): return _base.GMathVec3fSet_remove_all(self) def toggle(self, item): return _base.GMathVec3fSet_toggle(self, item) def unite(self, set): return _base.GMathVec3fSet_unite(self, set) def intersect(self, set): return _base.GMathVec3fSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec3fSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec3fSet___ne__(self, set) def begin(self, *args): return _base.GMathVec3fSet_begin(self, *args) def end(self, *args): return _base.GMathVec3fSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec3fSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec3fSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec3fSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec3fSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec3fSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3fSet __del__ = lambda self: None GMathVec3fSet_swigregister = _base.GMathVec3fSet_swigregister GMathVec3fSet_swigregister(GMathVec3fSet) def GMathVec3fSet_get_linear_search_threshold(): return _base.GMathVec3fSet_get_linear_search_threshold() GMathVec3fSet_get_linear_search_threshold = _base.GMathVec3fSet_get_linear_search_threshold class GMathVec4fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec4fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec4fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec4fBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec4fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec4fBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec4fBasicArray_front(self) def back(self): return _base.GMathVec4fBasicArray_back(self) def exists(self, item): return _base.GMathVec4fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec4fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec4fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec4fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec4fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec4fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec4fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4fBasicArray_class_info) else: class_info = _base.GMathVec4fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec4fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec4fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec4fBasicArray_swigregister = _base.GMathVec4fBasicArray_swigregister GMathVec4fBasicArray_swigregister(GMathVec4fBasicArray) def GMathVec4fBasicArray_class_info(): return _base.GMathVec4fBasicArray_class_info() GMathVec4fBasicArray_class_info = _base.GMathVec4fBasicArray_class_info def GMathVec4fBasicArray____class_destructor__(instance, is_array): return _base.GMathVec4fBasicArray____class_destructor__(instance, is_array) GMathVec4fBasicArray____class_destructor__ = _base.GMathVec4fBasicArray____class_destructor__ class GMathVec4fArray(GMathVec4fBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4fArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec4fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4fArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec4fArray_append(self, *args) def get_count(self): return _base.GMathVec4fArray_get_count(self) def remove_all(self): return _base.GMathVec4fArray_remove_all(self) def resize(self, *args): return _base.GMathVec4fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec4fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4fArray_get_list(self, list) def set_list(self, list): return _base.GMathVec4fArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec4fArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec4fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4fArray_class_info) else: class_info = _base.GMathVec4fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4fArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4fArray____class_destructor__ GMathVec4fArray_swigregister = _base.GMathVec4fArray_swigregister GMathVec4fArray_swigregister(GMathVec4fArray) def GMathVec4fArray_class_info(): return _base.GMathVec4fArray_class_info() GMathVec4fArray_class_info = _base.GMathVec4fArray_class_info def GMathVec4fArray____class_destructor__(instance, is_array): return _base.GMathVec4fArray____class_destructor__(instance, is_array) GMathVec4fArray____class_destructor__ = _base.GMathVec4fArray____class_destructor__ class GMathVec4fVector(GMathVec4fBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4fVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec4fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4fVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec4fVector_append(self, *args) def add(self, element): return _base.GMathVec4fVector_add(self, element) def insert(self, element, index): return _base.GMathVec4fVector_insert(self, element, index) def remove_last(self): return _base.GMathVec4fVector_remove_last(self) def empty(self): return _base.GMathVec4fVector_empty(self) def remove_all(self): return _base.GMathVec4fVector_remove_all(self) def clear(self, *args): return _base.GMathVec4fVector_clear(self, *args) def remove(self, *args): return _base.GMathVec4fVector_remove(self, *args) def is_empty(self): return _base.GMathVec4fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec4fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec4fVector_remove_items(self, item) def get_count(self): return _base.GMathVec4fVector_get_count(self) def get_capacity(self): return _base.GMathVec4fVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec4fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec4fVector_set_capacity(self, *args) def refit(self): return _base.GMathVec4fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec4fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec4fVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec4fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec4fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4fVector_get_list(self, list) def set_list(self, list): return _base.GMathVec4fVector_set_list(self, list) def get_array(self, array): return _base.GMathVec4fVector_get_array(self, array) def set_array(self, array): return _base.GMathVec4fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec4fVector_move(self, arg2, to) def item(self, index): return _base.GMathVec4fVector_item(self, index) def get_memory_size(self): return _base.GMathVec4fVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec4fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4fVector_class_info) else: class_info = _base.GMathVec4fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4fVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec4fVector____class_destructor__ GMathVec4fVector_swigregister = _base.GMathVec4fVector_swigregister GMathVec4fVector_swigregister(GMathVec4fVector) def GMathVec4fVector_class_info(): return _base.GMathVec4fVector_class_info() GMathVec4fVector_class_info = _base.GMathVec4fVector_class_info def GMathVec4fVector____class_destructor__(instance, is_array): return _base.GMathVec4fVector____class_destructor__(instance, is_array) GMathVec4fVector____class_destructor__ = _base.GMathVec4fVector____class_destructor__ class GMathVec4fSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4fSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4fSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4fSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec4fSet_get_count(self) def exists(self, *args): return _base.GMathVec4fSet_exists(self, *args) def is_empty(self): return _base.GMathVec4fSet_is_empty(self) def is_included(self, set): return _base.GMathVec4fSet_is_included(self, set) def get_items(self): return _base.GMathVec4fSet_get_items(self) def get_item(self, index): return _base.GMathVec4fSet_get_item(self, index) def back(self, *args): return _base.GMathVec4fSet_back(self, *args) def get_array(self, array): return _base.GMathVec4fSet_get_array(self, array) def get_list(self, list): return _base.GMathVec4fSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec4fSet_get_vector(self, vector) def to_array(self): return _base.GMathVec4fSet_to_array(self) def add(self, *args): return _base.GMathVec4fSet_add(self, *args) def remove(self, index): return _base.GMathVec4fSet_remove(self, index) def remove_item(self, item): return _base.GMathVec4fSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec4fSet_remove_set(self, set) def remove_all(self): return _base.GMathVec4fSet_remove_all(self) def toggle(self, item): return _base.GMathVec4fSet_toggle(self, item) def unite(self, set): return _base.GMathVec4fSet_unite(self, set) def intersect(self, set): return _base.GMathVec4fSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec4fSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec4fSet___ne__(self, set) def begin(self, *args): return _base.GMathVec4fSet_begin(self, *args) def end(self, *args): return _base.GMathVec4fSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec4fSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec4fSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec4fSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec4fSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec4fSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4fSet __del__ = lambda self: None GMathVec4fSet_swigregister = _base.GMathVec4fSet_swigregister GMathVec4fSet_swigregister(GMathVec4fSet) def GMathVec4fSet_get_linear_search_threshold(): return _base.GMathVec4fSet_get_linear_search_threshold() GMathVec4fSet_get_linear_search_threshold = _base.GMathVec4fSet_get_linear_search_threshold class GMathVec2d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2d, name) def __init__(self, *args): this = _base.new_GMathVec2d(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec2d_nullify(self) def get_value(self, index): return _base.GMathVec2d_get_value(self, index) def set_value(self, index, value): return _base.GMathVec2d_set_value(self, index, value) def get_width(self): return _base.GMathVec2d_get_width(self) def set_width(self, width): return _base.GMathVec2d_set_width(self, width) def get_height(self): return _base.GMathVec2d_get_height(self) def set_height(self, height): return _base.GMathVec2d_set_height(self, height) def get_x(self): return _base.GMathVec2d_get_x(self) def set_x(self, x): return _base.GMathVec2d_set_x(self, x) def get_y(self): return _base.GMathVec2d_get_y(self) def set_y(self, y): return _base.GMathVec2d_set_y(self, y) def get_red(self): return _base.GMathVec2d_get_red(self) def get_u(self): return _base.GMathVec2d_get_u(self) def set_u(self, u): return _base.GMathVec2d_set_u(self, u) def get_v(self): return _base.GMathVec2d_get_v(self) def set_v(self, v): return _base.GMathVec2d_set_v(self, v) def sub(self, *args): return _base.GMathVec2d_sub(self, *args) def absolute(self): return _base.GMathVec2d_absolute(self) def get_sqr_length(self): return _base.GMathVec2d_get_sqr_length(self) def get_length(self): return _base.GMathVec2d_get_length(self) def get_max_norm_signed(self): return _base.GMathVec2d_get_max_norm_signed(self) def get_max_norm(self): return _base.GMathVec2d_get_max_norm(self) def normalize(self, *args): return _base.GMathVec2d_normalize(self, *args) def get_copy(self): return _base.GMathVec2d_get_copy(self) def copy_from(self, v): return _base.GMathVec2d_copy_from(self, v) def copy_to(self, v): return _base.GMathVec2d_copy_to(self, v) def is_null(self, *args): return _base.GMathVec2d_is_null(self, *args) def is_finite(self): return _base.GMathVec2d_is_finite(self) def __eq__(self, v): if not isinstance(obj, type(self)): return False return _base.GMathVec2d___eq__(self, v) def __ne__(self, v): return _base.GMathVec2d___ne__(self, v) def __iadd__(self, *args): return _base.GMathVec2d___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec2d___add__(self, *args) def __isub__(self, *args): return _base.GMathVec2d___isub__(self, *args) def __neg__(self): return _base.GMathVec2d___neg__(self) def __sub__(self, *args): return _base.GMathVec2d___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec2d___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec2d___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec2d___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec2d___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec2d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2d_class_info) else: class_info = _base.GMathVec2d_class_info if _newclass: register_methods = staticmethod(_base.GMathVec2d_register_methods) else: register_methods = _base.GMathVec2d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2d____class_destructor__) else: ___class_destructor__ = _base.GMathVec2d____class_destructor__ def __repr__(self): return _base.GMathVec2d___repr__(self) def __setitem__(self, index, value): return _base.GMathVec2d___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec2d___getitem__(self, index) def __len__(self): return _base.GMathVec2d___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2d __del__ = lambda self: None GMathVec2d_swigregister = _base.GMathVec2d_swigregister GMathVec2d_swigregister(GMathVec2d) def GMathVec2d_class_info(): return _base.GMathVec2d_class_info() GMathVec2d_class_info = _base.GMathVec2d_class_info def GMathVec2d_register_methods(arg2): return _base.GMathVec2d_register_methods(arg2) GMathVec2d_register_methods = _base.GMathVec2d_register_methods def GMathVec2d____class_destructor__(instance, is_array): return _base.GMathVec2d____class_destructor__(instance, is_array) GMathVec2d____class_destructor__ = _base.GMathVec2d____class_destructor__ class GMathVec3d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3d, name) if _newclass: create_local_axis = staticmethod(_base.GMathVec3d_create_local_axis) else: create_local_axis = _base.GMathVec3d_create_local_axis def __init__(self, *args): this = _base.new_GMathVec3d(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec3d_nullify(self) def get_copy(self): return _base.GMathVec3d_get_copy(self) def copy_from(self, u): return _base.GMathVec3d_copy_from(self, u) def copy_to(self, u): return _base.GMathVec3d_copy_to(self, u) def __ne__(self, *args): return _base.GMathVec3d___ne__(self, *args) def __eq__(self, *args): if not isinstance(obj, type(self)): return False return _base.GMathVec3d___eq__(self, *args) def __lt__(self, *args): return _base.GMathVec3d___lt__(self, *args) def __gt__(self, *args): return _base.GMathVec3d___gt__(self, *args) def __le__(self, *args): return _base.GMathVec3d___le__(self, *args) def __ge__(self, *args): return _base.GMathVec3d___ge__(self, *args) def absolute(self): return _base.GMathVec3d_absolute(self) def get_sqr_norm(self, *args): return _base.GMathVec3d_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec3d_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec3d_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec3d_get_length(self, *args) def get_l1_norm_signed(self, *args): return _base.GMathVec3d_get_l1_norm_signed(self, *args) def get_l1_norm(self, *args): return _base.GMathVec3d_get_l1_norm(self, *args) def get_max_norm_signed(self, *args): return _base.GMathVec3d_get_max_norm_signed(self, *args) def get_max_norm(self, *args): return _base.GMathVec3d_get_max_norm(self, *args) def get_min_norm_signed(self, *args): return _base.GMathVec3d_get_min_norm_signed(self, *args) def get_min_norm(self, *args): return _base.GMathVec3d_get_min_norm(self, *args) def scale(self, s): return _base.GMathVec3d_scale(self, s) def get_main_axis(self): return _base.GMathVec3d_get_main_axis(self) def normalize(self, *args): return _base.GMathVec3d_normalize(self, *args) def is_null(self, *args): return _base.GMathVec3d_is_null(self, *args) def is_finite(self): return _base.GMathVec3d_is_finite(self) def get_data(self, *args): return _base.GMathVec3d_get_data(self, *args) def __iadd__(self, *args): return _base.GMathVec3d___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec3d___add__(self, *args) def __isub__(self, *args): return _base.GMathVec3d___isub__(self, *args) def __neg__(self): return _base.GMathVec3d___neg__(self) def __sub__(self, *args): return _base.GMathVec3d___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec3d___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec3d___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec3d___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec3d___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec3d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3d_class_info) else: class_info = _base.GMathVec3d_class_info if _newclass: register_methods = staticmethod(_base.GMathVec3d_register_methods) else: register_methods = _base.GMathVec3d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3d____class_destructor__) else: ___class_destructor__ = _base.GMathVec3d____class_destructor__ def __repr__(self): return _base.GMathVec3d___repr__(self) def __setitem__(self, index, value): return _base.GMathVec3d___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec3d___getitem__(self, index) def __len__(self): return _base.GMathVec3d___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3d __del__ = lambda self: None GMathVec3d_swigregister = _base.GMathVec3d_swigregister GMathVec3d_swigregister(GMathVec3d) def GMathVec3d_create_local_axis(v1, v2, v3): return _base.GMathVec3d_create_local_axis(v1, v2, v3) GMathVec3d_create_local_axis = _base.GMathVec3d_create_local_axis def GMathVec3d_class_info(): return _base.GMathVec3d_class_info() GMathVec3d_class_info = _base.GMathVec3d_class_info def GMathVec3d_register_methods(cls): return _base.GMathVec3d_register_methods(cls) GMathVec3d_register_methods = _base.GMathVec3d_register_methods def GMathVec3d____class_destructor__(instance, is_array): return _base.GMathVec3d____class_destructor__(instance, is_array) GMathVec3d____class_destructor__ = _base.GMathVec3d____class_destructor__ class GMathVec4d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4d, name) def __init__(self, *args): this = _base.new_GMathVec4d(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def nullify(self): return _base.GMathVec4d_nullify(self) def get_copy(self): return _base.GMathVec4d_get_copy(self) def copy_from(self, u): return _base.GMathVec4d_copy_from(self, u) def copy_to(self, u): return _base.GMathVec4d_copy_to(self, u) def get_value(self, index): return _base.GMathVec4d_get_value(self, index) def set_value(self, index, value): return _base.GMathVec4d_set_value(self, index, value) def get_x(self): return _base.GMathVec4d_get_x(self) def set_x(self, x): return _base.GMathVec4d_set_x(self, x) def get_y(self): return _base.GMathVec4d_get_y(self) def set_y(self, y): return _base.GMathVec4d_set_y(self, y) def get_z(self): return _base.GMathVec4d_get_z(self) def set_z(self, z): return _base.GMathVec4d_set_z(self, z) def get_w(self): return _base.GMathVec4d_get_w(self) def set_w(self, w): return _base.GMathVec4d_set_w(self, w) def get_red(self): return _base.GMathVec4d_get_red(self) def set_red(self, red): return _base.GMathVec4d_set_red(self, red) def get_green(self): return _base.GMathVec4d_get_green(self) def set_green(self, green): return _base.GMathVec4d_set_green(self, green) def get_blue(self): return _base.GMathVec4d_get_blue(self) def set_blue(self, blue): return _base.GMathVec4d_set_blue(self, blue) def get_alpha(self): return _base.GMathVec4d_get_alpha(self) def set_alpha(self, alpha): return _base.GMathVec4d_set_alpha(self, alpha) def get_sqr_norm(self, *args): return _base.GMathVec4d_get_sqr_norm(self, *args) def get_sqr_length(self, *args): return _base.GMathVec4d_get_sqr_length(self, *args) def get_norm(self, *args): return _base.GMathVec4d_get_norm(self, *args) def get_length(self, *args): return _base.GMathVec4d_get_length(self, *args) def sub(self, *args): return _base.GMathVec4d_sub(self, *args) def get_data(self, *args): return _base.GMathVec4d_get_data(self, *args) def is_null(self, *args): return _base.GMathVec4d_is_null(self, *args) def is_finite(self): return _base.GMathVec4d_is_finite(self) def __iadd__(self, *args): return _base.GMathVec4d___iadd__(self, *args) def __add__(self, *args): return _base.GMathVec4d___add__(self, *args) def __isub__(self, *args): return _base.GMathVec4d___isub__(self, *args) def __neg__(self): return _base.GMathVec4d___neg__(self) def __sub__(self, *args): return _base.GMathVec4d___sub__(self, *args) def __imul__(self, *args): return _base.GMathVec4d___imul__(self, *args) def __mul__(self, *args): return _base.GMathVec4d___mul__(self, *args) def __itruediv__(self, *args): return _base.GMathVec4d___itruediv__(self, *args) __idiv__ = __itruediv__ def __truediv__(self, *args): return _base.GMathVec4d___truediv__(self, *args) __div__ = __truediv__ def get_class_info(self): return _base.GMathVec4d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4d_class_info) else: class_info = _base.GMathVec4d_class_info if _newclass: register_methods = staticmethod(_base.GMathVec4d_register_methods) else: register_methods = _base.GMathVec4d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4d____class_destructor__) else: ___class_destructor__ = _base.GMathVec4d____class_destructor__ def __repr__(self): return _base.GMathVec4d___repr__(self) def __setitem__(self, index, value): return _base.GMathVec4d___setitem__(self, index, value) def __getitem__(self, index): return _base.GMathVec4d___getitem__(self, index) def __len__(self): return _base.GMathVec4d___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4d __del__ = lambda self: None GMathVec4d_swigregister = _base.GMathVec4d_swigregister GMathVec4d_swigregister(GMathVec4d) def GMathVec4d_class_info(): return _base.GMathVec4d_class_info() GMathVec4d_class_info = _base.GMathVec4d_class_info def GMathVec4d_register_methods(cls): return _base.GMathVec4d_register_methods(cls) GMathVec4d_register_methods = _base.GMathVec4d_register_methods def GMathVec4d____class_destructor__(instance, is_array): return _base.GMathVec4d____class_destructor__(instance, is_array) GMathVec4d____class_destructor__ = _base.GMathVec4d____class_destructor__ class GMathVec2dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec2dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec2dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec2dBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec2dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec2dBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec2dBasicArray_front(self) def back(self): return _base.GMathVec2dBasicArray_back(self) def exists(self, item): return _base.GMathVec2dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec2dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec2dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec2dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec2dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec2dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec2dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2dBasicArray_class_info) else: class_info = _base.GMathVec2dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec2dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec2dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec2dBasicArray_swigregister = _base.GMathVec2dBasicArray_swigregister GMathVec2dBasicArray_swigregister(GMathVec2dBasicArray) def GMathVec2dBasicArray_class_info(): return _base.GMathVec2dBasicArray_class_info() GMathVec2dBasicArray_class_info = _base.GMathVec2dBasicArray_class_info def GMathVec2dBasicArray____class_destructor__(instance, is_array): return _base.GMathVec2dBasicArray____class_destructor__(instance, is_array) GMathVec2dBasicArray____class_destructor__ = _base.GMathVec2dBasicArray____class_destructor__ class GMathVec2dArray(GMathVec2dBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2dArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec2dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2dArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec2dArray_append(self, *args) def get_count(self): return _base.GMathVec2dArray_get_count(self) def remove_all(self): return _base.GMathVec2dArray_remove_all(self) def resize(self, *args): return _base.GMathVec2dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec2dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2dArray_get_list(self, list) def set_list(self, list): return _base.GMathVec2dArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec2dArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec2dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2dArray_class_info) else: class_info = _base.GMathVec2dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2dArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec2dArray____class_destructor__ GMathVec2dArray_swigregister = _base.GMathVec2dArray_swigregister GMathVec2dArray_swigregister(GMathVec2dArray) def GMathVec2dArray_class_info(): return _base.GMathVec2dArray_class_info() GMathVec2dArray_class_info = _base.GMathVec2dArray_class_info def GMathVec2dArray____class_destructor__(instance, is_array): return _base.GMathVec2dArray____class_destructor__(instance, is_array) GMathVec2dArray____class_destructor__ = _base.GMathVec2dArray____class_destructor__ class GMathVec2dVector(GMathVec2dBasicArray): __swig_setmethods__ = {} for _s in [GMathVec2dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2dVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec2dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec2dVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec2dVector_append(self, *args) def add(self, element): return _base.GMathVec2dVector_add(self, element) def insert(self, element, index): return _base.GMathVec2dVector_insert(self, element, index) def remove_last(self): return _base.GMathVec2dVector_remove_last(self) def empty(self): return _base.GMathVec2dVector_empty(self) def remove_all(self): return _base.GMathVec2dVector_remove_all(self) def clear(self, *args): return _base.GMathVec2dVector_clear(self, *args) def remove(self, *args): return _base.GMathVec2dVector_remove(self, *args) def is_empty(self): return _base.GMathVec2dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec2dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec2dVector_remove_items(self, item) def get_count(self): return _base.GMathVec2dVector_get_count(self) def get_capacity(self): return _base.GMathVec2dVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec2dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec2dVector_set_capacity(self, *args) def refit(self): return _base.GMathVec2dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec2dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec2dVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec2dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec2dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec2dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec2dVector_get_list(self, list) def set_list(self, list): return _base.GMathVec2dVector_set_list(self, list) def get_array(self, array): return _base.GMathVec2dVector_get_array(self, array) def set_array(self, array): return _base.GMathVec2dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec2dVector_move(self, arg2, to) def item(self, index): return _base.GMathVec2dVector_item(self, index) def get_memory_size(self): return _base.GMathVec2dVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec2dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec2dVector_class_info) else: class_info = _base.GMathVec2dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec2dVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec2dVector____class_destructor__ GMathVec2dVector_swigregister = _base.GMathVec2dVector_swigregister GMathVec2dVector_swigregister(GMathVec2dVector) def GMathVec2dVector_class_info(): return _base.GMathVec2dVector_class_info() GMathVec2dVector_class_info = _base.GMathVec2dVector_class_info def GMathVec2dVector____class_destructor__(instance, is_array): return _base.GMathVec2dVector____class_destructor__(instance, is_array) GMathVec2dVector____class_destructor__ = _base.GMathVec2dVector____class_destructor__ class GMathVec2dSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec2dSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec2dSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec2dSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec2dSet_get_count(self) def exists(self, *args): return _base.GMathVec2dSet_exists(self, *args) def is_empty(self): return _base.GMathVec2dSet_is_empty(self) def is_included(self, set): return _base.GMathVec2dSet_is_included(self, set) def get_items(self): return _base.GMathVec2dSet_get_items(self) def get_item(self, index): return _base.GMathVec2dSet_get_item(self, index) def back(self, *args): return _base.GMathVec2dSet_back(self, *args) def get_array(self, array): return _base.GMathVec2dSet_get_array(self, array) def get_list(self, list): return _base.GMathVec2dSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec2dSet_get_vector(self, vector) def to_array(self): return _base.GMathVec2dSet_to_array(self) def add(self, *args): return _base.GMathVec2dSet_add(self, *args) def remove(self, index): return _base.GMathVec2dSet_remove(self, index) def remove_item(self, item): return _base.GMathVec2dSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec2dSet_remove_set(self, set) def remove_all(self): return _base.GMathVec2dSet_remove_all(self) def toggle(self, item): return _base.GMathVec2dSet_toggle(self, item) def unite(self, set): return _base.GMathVec2dSet_unite(self, set) def intersect(self, set): return _base.GMathVec2dSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec2dSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec2dSet___ne__(self, set) def begin(self, *args): return _base.GMathVec2dSet_begin(self, *args) def end(self, *args): return _base.GMathVec2dSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec2dSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec2dSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec2dSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec2dSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec2dSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec2dSet __del__ = lambda self: None GMathVec2dSet_swigregister = _base.GMathVec2dSet_swigregister GMathVec2dSet_swigregister(GMathVec2dSet) def GMathVec2dSet_get_linear_search_threshold(): return _base.GMathVec2dSet_get_linear_search_threshold() GMathVec2dSet_get_linear_search_threshold = _base.GMathVec2dSet_get_linear_search_threshold class GMathVec3dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec3dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec3dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec3dBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec3dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec3dBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec3dBasicArray_front(self) def back(self): return _base.GMathVec3dBasicArray_back(self) def exists(self, item): return _base.GMathVec3dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec3dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec3dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec3dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec3dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec3dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec3dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3dBasicArray_class_info) else: class_info = _base.GMathVec3dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec3dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec3dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec3dBasicArray_swigregister = _base.GMathVec3dBasicArray_swigregister GMathVec3dBasicArray_swigregister(GMathVec3dBasicArray) def GMathVec3dBasicArray_class_info(): return _base.GMathVec3dBasicArray_class_info() GMathVec3dBasicArray_class_info = _base.GMathVec3dBasicArray_class_info def GMathVec3dBasicArray____class_destructor__(instance, is_array): return _base.GMathVec3dBasicArray____class_destructor__(instance, is_array) GMathVec3dBasicArray____class_destructor__ = _base.GMathVec3dBasicArray____class_destructor__ class GMathVec3dArray(GMathVec3dBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3dArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec3dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3dArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec3dArray_append(self, *args) def get_count(self): return _base.GMathVec3dArray_get_count(self) def remove_all(self): return _base.GMathVec3dArray_remove_all(self) def resize(self, *args): return _base.GMathVec3dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec3dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3dArray_get_list(self, list) def set_list(self, list): return _base.GMathVec3dArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec3dArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec3dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3dArray_class_info) else: class_info = _base.GMathVec3dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3dArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec3dArray____class_destructor__ GMathVec3dArray_swigregister = _base.GMathVec3dArray_swigregister GMathVec3dArray_swigregister(GMathVec3dArray) def GMathVec3dArray_class_info(): return _base.GMathVec3dArray_class_info() GMathVec3dArray_class_info = _base.GMathVec3dArray_class_info def GMathVec3dArray____class_destructor__(instance, is_array): return _base.GMathVec3dArray____class_destructor__(instance, is_array) GMathVec3dArray____class_destructor__ = _base.GMathVec3dArray____class_destructor__ class GMathVec3dVector(GMathVec3dBasicArray): __swig_setmethods__ = {} for _s in [GMathVec3dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3dVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec3dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec3dVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec3dVector_append(self, *args) def add(self, element): return _base.GMathVec3dVector_add(self, element) def insert(self, element, index): return _base.GMathVec3dVector_insert(self, element, index) def remove_last(self): return _base.GMathVec3dVector_remove_last(self) def empty(self): return _base.GMathVec3dVector_empty(self) def remove_all(self): return _base.GMathVec3dVector_remove_all(self) def clear(self, *args): return _base.GMathVec3dVector_clear(self, *args) def remove(self, *args): return _base.GMathVec3dVector_remove(self, *args) def is_empty(self): return _base.GMathVec3dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec3dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec3dVector_remove_items(self, item) def get_count(self): return _base.GMathVec3dVector_get_count(self) def get_capacity(self): return _base.GMathVec3dVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec3dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec3dVector_set_capacity(self, *args) def refit(self): return _base.GMathVec3dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec3dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec3dVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec3dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec3dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec3dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec3dVector_get_list(self, list) def set_list(self, list): return _base.GMathVec3dVector_set_list(self, list) def get_array(self, array): return _base.GMathVec3dVector_get_array(self, array) def set_array(self, array): return _base.GMathVec3dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec3dVector_move(self, arg2, to) def item(self, index): return _base.GMathVec3dVector_item(self, index) def get_memory_size(self): return _base.GMathVec3dVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec3dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec3dVector_class_info) else: class_info = _base.GMathVec3dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec3dVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec3dVector____class_destructor__ GMathVec3dVector_swigregister = _base.GMathVec3dVector_swigregister GMathVec3dVector_swigregister(GMathVec3dVector) def GMathVec3dVector_class_info(): return _base.GMathVec3dVector_class_info() GMathVec3dVector_class_info = _base.GMathVec3dVector_class_info def GMathVec3dVector____class_destructor__(instance, is_array): return _base.GMathVec3dVector____class_destructor__(instance, is_array) GMathVec3dVector____class_destructor__ = _base.GMathVec3dVector____class_destructor__ class GMathVec3dSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec3dSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec3dSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec3dSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec3dSet_get_count(self) def exists(self, *args): return _base.GMathVec3dSet_exists(self, *args) def is_empty(self): return _base.GMathVec3dSet_is_empty(self) def is_included(self, set): return _base.GMathVec3dSet_is_included(self, set) def get_items(self): return _base.GMathVec3dSet_get_items(self) def get_item(self, index): return _base.GMathVec3dSet_get_item(self, index) def back(self, *args): return _base.GMathVec3dSet_back(self, *args) def get_array(self, array): return _base.GMathVec3dSet_get_array(self, array) def get_list(self, list): return _base.GMathVec3dSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec3dSet_get_vector(self, vector) def to_array(self): return _base.GMathVec3dSet_to_array(self) def add(self, *args): return _base.GMathVec3dSet_add(self, *args) def remove(self, index): return _base.GMathVec3dSet_remove(self, index) def remove_item(self, item): return _base.GMathVec3dSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec3dSet_remove_set(self, set) def remove_all(self): return _base.GMathVec3dSet_remove_all(self) def toggle(self, item): return _base.GMathVec3dSet_toggle(self, item) def unite(self, set): return _base.GMathVec3dSet_unite(self, set) def intersect(self, set): return _base.GMathVec3dSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec3dSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec3dSet___ne__(self, set) def begin(self, *args): return _base.GMathVec3dSet_begin(self, *args) def end(self, *args): return _base.GMathVec3dSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec3dSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec3dSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec3dSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec3dSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec3dSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec3dSet __del__ = lambda self: None GMathVec3dSet_swigregister = _base.GMathVec3dSet_swigregister GMathVec3dSet_swigregister(GMathVec3dSet) def GMathVec3dSet_get_linear_search_threshold(): return _base.GMathVec3dSet_get_linear_search_threshold() GMathVec3dSet_get_linear_search_threshold = _base.GMathVec3dSet_get_linear_search_threshold class GMathVec4dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathVec4dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathVec4dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathVec4dBasicArray_get_count(self) def get_item(self, index): return _base.GMathVec4dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathVec4dBasicArray_set_item(self, index, item) def front(self): return _base.GMathVec4dBasicArray_front(self) def back(self): return _base.GMathVec4dBasicArray_back(self) def exists(self, item): return _base.GMathVec4dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathVec4dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathVec4dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathVec4dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathVec4dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathVec4dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathVec4dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4dBasicArray_class_info) else: class_info = _base.GMathVec4dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathVec4dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathVec4dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathVec4dBasicArray_swigregister = _base.GMathVec4dBasicArray_swigregister GMathVec4dBasicArray_swigregister(GMathVec4dBasicArray) def GMathVec4dBasicArray_class_info(): return _base.GMathVec4dBasicArray_class_info() GMathVec4dBasicArray_class_info = _base.GMathVec4dBasicArray_class_info def GMathVec4dBasicArray____class_destructor__(instance, is_array): return _base.GMathVec4dBasicArray____class_destructor__(instance, is_array) GMathVec4dBasicArray____class_destructor__ = _base.GMathVec4dBasicArray____class_destructor__ class GMathVec4dArray(GMathVec4dBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4dArray, name, value) __swig_getmethods__ = {} for _s in [GMathVec4dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4dArray __del__ = lambda self: None def append(self, *args): return _base.GMathVec4dArray_append(self, *args) def get_count(self): return _base.GMathVec4dArray_get_count(self) def remove_all(self): return _base.GMathVec4dArray_remove_all(self) def resize(self, *args): return _base.GMathVec4dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathVec4dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4dArray_get_list(self, list) def set_list(self, list): return _base.GMathVec4dArray_set_list(self, list) def get_memory_size(self): return _base.GMathVec4dArray_get_memory_size(self) def get_class_info(self): return _base.GMathVec4dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4dArray_class_info) else: class_info = _base.GMathVec4dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4dArray____class_destructor__) else: ___class_destructor__ = _base.GMathVec4dArray____class_destructor__ GMathVec4dArray_swigregister = _base.GMathVec4dArray_swigregister GMathVec4dArray_swigregister(GMathVec4dArray) def GMathVec4dArray_class_info(): return _base.GMathVec4dArray_class_info() GMathVec4dArray_class_info = _base.GMathVec4dArray_class_info def GMathVec4dArray____class_destructor__(instance, is_array): return _base.GMathVec4dArray____class_destructor__(instance, is_array) GMathVec4dArray____class_destructor__ = _base.GMathVec4dArray____class_destructor__ class GMathVec4dVector(GMathVec4dBasicArray): __swig_setmethods__ = {} for _s in [GMathVec4dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4dVector, name, value) __swig_getmethods__ = {} for _s in [GMathVec4dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathVec4dVector __del__ = lambda self: None def append(self, *args): return _base.GMathVec4dVector_append(self, *args) def add(self, element): return _base.GMathVec4dVector_add(self, element) def insert(self, element, index): return _base.GMathVec4dVector_insert(self, element, index) def remove_last(self): return _base.GMathVec4dVector_remove_last(self) def empty(self): return _base.GMathVec4dVector_empty(self) def remove_all(self): return _base.GMathVec4dVector_remove_all(self) def clear(self, *args): return _base.GMathVec4dVector_clear(self, *args) def remove(self, *args): return _base.GMathVec4dVector_remove(self, *args) def is_empty(self): return _base.GMathVec4dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathVec4dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathVec4dVector_remove_items(self, item) def get_count(self): return _base.GMathVec4dVector_get_count(self) def get_capacity(self): return _base.GMathVec4dVector_get_capacity(self) def set_count(self, *args): return _base.GMathVec4dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathVec4dVector_set_capacity(self, *args) def refit(self): return _base.GMathVec4dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathVec4dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathVec4dVector_resize(self, *args) def reserve(self, *args): return _base.GMathVec4dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathVec4dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathVec4dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathVec4dVector_get_list(self, list) def set_list(self, list): return _base.GMathVec4dVector_set_list(self, list) def get_array(self, array): return _base.GMathVec4dVector_get_array(self, array) def set_array(self, array): return _base.GMathVec4dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathVec4dVector_move(self, arg2, to) def item(self, index): return _base.GMathVec4dVector_item(self, index) def get_memory_size(self): return _base.GMathVec4dVector_get_memory_size(self) def get_class_info(self): return _base.GMathVec4dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathVec4dVector_class_info) else: class_info = _base.GMathVec4dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathVec4dVector____class_destructor__) else: ___class_destructor__ = _base.GMathVec4dVector____class_destructor__ GMathVec4dVector_swigregister = _base.GMathVec4dVector_swigregister GMathVec4dVector_swigregister(GMathVec4dVector) def GMathVec4dVector_class_info(): return _base.GMathVec4dVector_class_info() GMathVec4dVector_class_info = _base.GMathVec4dVector_class_info def GMathVec4dVector____class_destructor__(instance, is_array): return _base.GMathVec4dVector____class_destructor__(instance, is_array) GMathVec4dVector____class_destructor__ = _base.GMathVec4dVector____class_destructor__ class GMathVec4dSet(CoreBaseObject): __swig_setmethods__ = {} for _s in [CoreBaseObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathVec4dSet, name, value) __swig_getmethods__ = {} for _s in [CoreBaseObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathVec4dSet, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathVec4dSet(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_count(self): return _base.GMathVec4dSet_get_count(self) def exists(self, *args): return _base.GMathVec4dSet_exists(self, *args) def is_empty(self): return _base.GMathVec4dSet_is_empty(self) def is_included(self, set): return _base.GMathVec4dSet_is_included(self, set) def get_items(self): return _base.GMathVec4dSet_get_items(self) def get_item(self, index): return _base.GMathVec4dSet_get_item(self, index) def back(self, *args): return _base.GMathVec4dSet_back(self, *args) def get_array(self, array): return _base.GMathVec4dSet_get_array(self, array) def get_list(self, list): return _base.GMathVec4dSet_get_list(self, list) def get_vector(self, vector): return _base.GMathVec4dSet_get_vector(self, vector) def to_array(self): return _base.GMathVec4dSet_to_array(self) def add(self, *args): return _base.GMathVec4dSet_add(self, *args) def remove(self, index): return _base.GMathVec4dSet_remove(self, index) def remove_item(self, item): return _base.GMathVec4dSet_remove_item(self, item) def remove_set(self, set): return _base.GMathVec4dSet_remove_set(self, set) def remove_all(self): return _base.GMathVec4dSet_remove_all(self) def toggle(self, item): return _base.GMathVec4dSet_toggle(self, item) def unite(self, set): return _base.GMathVec4dSet_unite(self, set) def intersect(self, set): return _base.GMathVec4dSet_intersect(self, set) def __eq__(self, set): if not isinstance(obj, type(self)): return False return _base.GMathVec4dSet___eq__(self, set) def __ne__(self, set): return _base.GMathVec4dSet___ne__(self, set) def begin(self, *args): return _base.GMathVec4dSet_begin(self, *args) def end(self, *args): return _base.GMathVec4dSet_end(self, *args) if _newclass: get_linear_search_threshold = staticmethod(_base.GMathVec4dSet_get_linear_search_threshold) else: get_linear_search_threshold = _base.GMathVec4dSet_get_linear_search_threshold def get_memory_size(self): return _base.GMathVec4dSet_get_memory_size(self) def __setitem__(self, index, value): return _base.GMathVec4dSet___setitem__(self, index, value) def __len__(self): return _base.GMathVec4dSet___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathVec4dSet __del__ = lambda self: None GMathVec4dSet_swigregister = _base.GMathVec4dSet_swigregister GMathVec4dSet_swigregister(GMathVec4dSet) def GMathVec4dSet_get_linear_search_threshold(): return _base.GMathVec4dSet_get_linear_search_threshold() GMathVec4dSet_get_linear_search_threshold = _base.GMathVec4dSet_get_linear_search_threshold class GMathBbox2f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2f, name) def __init__(self, *args): this = _base.new_GMathBbox2f(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_copy(self): return _base.GMathBbox2f_get_copy(self) def copy_from(self, bbox): return _base.GMathBbox2f_copy_from(self, bbox) def copy_to(self, bbox): return _base.GMathBbox2f_copy_to(self, bbox) def get_center(self): return _base.GMathBbox2f_get_center(self) def intersect(self, *args): return _base.GMathBbox2f_intersect(self, *args) def compute_interpolated_bbox(self, time, start_bbox, end_bbox): return _base.GMathBbox2f_compute_interpolated_bbox(self, time, start_bbox, end_bbox) def get_corner_vertices(self, vertices): return _base.GMathBbox2f_get_corner_vertices(self, vertices) def compute_area(self): return _base.GMathBbox2f_compute_area(self) def is_empty(self): return _base.GMathBbox2f_is_empty(self) def get_item(self, x, y): return _base.GMathBbox2f_get_item(self, x, y) def set_item(self, x, y, value): return _base.GMathBbox2f_set_item(self, x, y, value) def get_class_info(self): return _base.GMathBbox2f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2f_class_info) else: class_info = _base.GMathBbox2f_class_info if _newclass: register_methods = staticmethod(_base.GMathBbox2f_register_methods) else: register_methods = _base.GMathBbox2f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2f____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2f____class_destructor__ def __repr__(self): return _base.GMathBbox2f___repr__(self) def __getitem__(self, index): return _base.GMathBbox2f___getitem__(self, index) def __len__(self): return _base.GMathBbox2f___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathBbox2f __del__ = lambda self: None GMathBbox2f_swigregister = _base.GMathBbox2f_swigregister GMathBbox2f_swigregister(GMathBbox2f) def GMathBbox2f_class_info(): return _base.GMathBbox2f_class_info() GMathBbox2f_class_info = _base.GMathBbox2f_class_info def GMathBbox2f_register_methods(cls): return _base.GMathBbox2f_register_methods(cls) GMathBbox2f_register_methods = _base.GMathBbox2f_register_methods def GMathBbox2f____class_destructor__(instance, is_array): return _base.GMathBbox2f____class_destructor__(instance, is_array) GMathBbox2f____class_destructor__ = _base.GMathBbox2f____class_destructor__ class GMathBbox3f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3f, name) def __init__(self): this = _base.new_GMathBbox3f() try: self.this.append(this) except __builtin__.Exception: self.this = this def get_copy(self): return _base.GMathBbox3f_get_copy(self) def copy_from(self, bbox): return _base.GMathBbox3f_copy_from(self, bbox) def copy_to(self, bbox): return _base.GMathBbox3f_copy_to(self, bbox) def get_center(self): return _base.GMathBbox3f_get_center(self) def intersect(self, *args): return _base.GMathBbox3f_intersect(self, *args) def compute_interpolated_bbox(self, time, start_bbox, end_bbox): return _base.GMathBbox3f_compute_interpolated_bbox(self, time, start_bbox, end_bbox) def get_corner_vertices(self, vertices): return _base.GMathBbox3f_get_corner_vertices(self, vertices) def transform_bbox_and_get_bbox(self, matrix, result): return _base.GMathBbox3f_transform_bbox_and_get_bbox(self, matrix, result) def compute_volume(self): return _base.GMathBbox3f_compute_volume(self) def compute_area(self): return _base.GMathBbox3f_compute_area(self) def compute_surface_area(self): return _base.GMathBbox3f_compute_surface_area(self) def get_min(self, *args): return _base.GMathBbox3f_get_min(self, *args) def get_max(self, *args): return _base.GMathBbox3f_get_max(self, *args) def is_empty(self): return _base.GMathBbox3f_is_empty(self) def is_finite(self): return _base.GMathBbox3f_is_finite(self) def get_maximum_extent(self): return _base.GMathBbox3f_get_maximum_extent(self) def get_item(self, x, y): return _base.GMathBbox3f_get_item(self, x, y) def set_item(self, x, y, value): return _base.GMathBbox3f_set_item(self, x, y, value) def get_class_info(self): return _base.GMathBbox3f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3f_class_info) else: class_info = _base.GMathBbox3f_class_info if _newclass: register_methods = staticmethod(_base.GMathBbox3f_register_methods) else: register_methods = _base.GMathBbox3f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3f____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3f____class_destructor__ def __repr__(self): return _base.GMathBbox3f___repr__(self) def __getitem__(self, index): return _base.GMathBbox3f___getitem__(self, index) def __len__(self): return _base.GMathBbox3f___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathBbox3f __del__ = lambda self: None GMathBbox3f_swigregister = _base.GMathBbox3f_swigregister GMathBbox3f_swigregister(GMathBbox3f) GMathBbox3f.s_empty_box = _base.cvar.GMathBbox3f_s_empty_box def GMathBbox3f_class_info(): return _base.GMathBbox3f_class_info() GMathBbox3f_class_info = _base.GMathBbox3f_class_info def GMathBbox3f_register_methods(cls): return _base.GMathBbox3f_register_methods(cls) GMathBbox3f_register_methods = _base.GMathBbox3f_register_methods def GMathBbox3f____class_destructor__(instance, is_array): return _base.GMathBbox3f____class_destructor__(instance, is_array) GMathBbox3f____class_destructor__ = _base.GMathBbox3f____class_destructor__ class GMathBbox2fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathBbox2fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathBbox2fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox2fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathBbox2fBasicArray_get_count(self) def get_item(self, index): return _base.GMathBbox2fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathBbox2fBasicArray_set_item(self, index, item) def front(self): return _base.GMathBbox2fBasicArray_front(self) def back(self): return _base.GMathBbox2fBasicArray_back(self) def exists(self, item): return _base.GMathBbox2fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathBbox2fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathBbox2fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathBbox2fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathBbox2fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathBbox2fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathBbox2fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2fBasicArray_class_info) else: class_info = _base.GMathBbox2fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathBbox2fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathBbox2fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathBbox2fBasicArray_swigregister = _base.GMathBbox2fBasicArray_swigregister GMathBbox2fBasicArray_swigregister(GMathBbox2fBasicArray) def GMathBbox2fBasicArray_class_info(): return _base.GMathBbox2fBasicArray_class_info() GMathBbox2fBasicArray_class_info = _base.GMathBbox2fBasicArray_class_info def GMathBbox2fBasicArray____class_destructor__(instance, is_array): return _base.GMathBbox2fBasicArray____class_destructor__(instance, is_array) GMathBbox2fBasicArray____class_destructor__ = _base.GMathBbox2fBasicArray____class_destructor__ class GMathBbox2fArray(GMathBbox2fBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox2fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2fArray, name, value) __swig_getmethods__ = {} for _s in [GMathBbox2fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox2fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox2fArray __del__ = lambda self: None def append(self, *args): return _base.GMathBbox2fArray_append(self, *args) def get_count(self): return _base.GMathBbox2fArray_get_count(self) def remove_all(self): return _base.GMathBbox2fArray_remove_all(self) def resize(self, *args): return _base.GMathBbox2fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathBbox2fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox2fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox2fArray_get_list(self, list) def set_list(self, list): return _base.GMathBbox2fArray_set_list(self, list) def get_memory_size(self): return _base.GMathBbox2fArray_get_memory_size(self) def get_class_info(self): return _base.GMathBbox2fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2fArray_class_info) else: class_info = _base.GMathBbox2fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2fArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2fArray____class_destructor__ GMathBbox2fArray_swigregister = _base.GMathBbox2fArray_swigregister GMathBbox2fArray_swigregister(GMathBbox2fArray) def GMathBbox2fArray_class_info(): return _base.GMathBbox2fArray_class_info() GMathBbox2fArray_class_info = _base.GMathBbox2fArray_class_info def GMathBbox2fArray____class_destructor__(instance, is_array): return _base.GMathBbox2fArray____class_destructor__(instance, is_array) GMathBbox2fArray____class_destructor__ = _base.GMathBbox2fArray____class_destructor__ class GMathBbox2fVector(GMathBbox2fBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox2fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2fVector, name, value) __swig_getmethods__ = {} for _s in [GMathBbox2fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox2fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox2fVector __del__ = lambda self: None def append(self, *args): return _base.GMathBbox2fVector_append(self, *args) def add(self, element): return _base.GMathBbox2fVector_add(self, element) def insert(self, element, index): return _base.GMathBbox2fVector_insert(self, element, index) def remove_last(self): return _base.GMathBbox2fVector_remove_last(self) def empty(self): return _base.GMathBbox2fVector_empty(self) def remove_all(self): return _base.GMathBbox2fVector_remove_all(self) def clear(self, *args): return _base.GMathBbox2fVector_clear(self, *args) def remove(self, *args): return _base.GMathBbox2fVector_remove(self, *args) def is_empty(self): return _base.GMathBbox2fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathBbox2fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathBbox2fVector_remove_items(self, item) def get_count(self): return _base.GMathBbox2fVector_get_count(self) def get_capacity(self): return _base.GMathBbox2fVector_get_capacity(self) def set_count(self, *args): return _base.GMathBbox2fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathBbox2fVector_set_capacity(self, *args) def refit(self): return _base.GMathBbox2fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathBbox2fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathBbox2fVector_resize(self, *args) def reserve(self, *args): return _base.GMathBbox2fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathBbox2fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox2fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox2fVector_get_list(self, list) def set_list(self, list): return _base.GMathBbox2fVector_set_list(self, list) def get_array(self, array): return _base.GMathBbox2fVector_get_array(self, array) def set_array(self, array): return _base.GMathBbox2fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathBbox2fVector_move(self, arg2, to) def item(self, index): return _base.GMathBbox2fVector_item(self, index) def get_memory_size(self): return _base.GMathBbox2fVector_get_memory_size(self) def get_class_info(self): return _base.GMathBbox2fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2fVector_class_info) else: class_info = _base.GMathBbox2fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2fVector____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2fVector____class_destructor__ GMathBbox2fVector_swigregister = _base.GMathBbox2fVector_swigregister GMathBbox2fVector_swigregister(GMathBbox2fVector) def GMathBbox2fVector_class_info(): return _base.GMathBbox2fVector_class_info() GMathBbox2fVector_class_info = _base.GMathBbox2fVector_class_info def GMathBbox2fVector____class_destructor__(instance, is_array): return _base.GMathBbox2fVector____class_destructor__(instance, is_array) GMathBbox2fVector____class_destructor__ = _base.GMathBbox2fVector____class_destructor__ class GMathBbox3fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathBbox3fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathBbox3fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox3fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathBbox3fBasicArray_get_count(self) def get_item(self, index): return _base.GMathBbox3fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathBbox3fBasicArray_set_item(self, index, item) def front(self): return _base.GMathBbox3fBasicArray_front(self) def back(self): return _base.GMathBbox3fBasicArray_back(self) def exists(self, item): return _base.GMathBbox3fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathBbox3fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathBbox3fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathBbox3fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathBbox3fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathBbox3fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathBbox3fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3fBasicArray_class_info) else: class_info = _base.GMathBbox3fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathBbox3fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathBbox3fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathBbox3fBasicArray_swigregister = _base.GMathBbox3fBasicArray_swigregister GMathBbox3fBasicArray_swigregister(GMathBbox3fBasicArray) def GMathBbox3fBasicArray_class_info(): return _base.GMathBbox3fBasicArray_class_info() GMathBbox3fBasicArray_class_info = _base.GMathBbox3fBasicArray_class_info def GMathBbox3fBasicArray____class_destructor__(instance, is_array): return _base.GMathBbox3fBasicArray____class_destructor__(instance, is_array) GMathBbox3fBasicArray____class_destructor__ = _base.GMathBbox3fBasicArray____class_destructor__ class GMathBbox3fArray(GMathBbox3fBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox3fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3fArray, name, value) __swig_getmethods__ = {} for _s in [GMathBbox3fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox3fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox3fArray __del__ = lambda self: None def append(self, *args): return _base.GMathBbox3fArray_append(self, *args) def get_count(self): return _base.GMathBbox3fArray_get_count(self) def remove_all(self): return _base.GMathBbox3fArray_remove_all(self) def resize(self, *args): return _base.GMathBbox3fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathBbox3fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox3fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox3fArray_get_list(self, list) def set_list(self, list): return _base.GMathBbox3fArray_set_list(self, list) def get_memory_size(self): return _base.GMathBbox3fArray_get_memory_size(self) def get_class_info(self): return _base.GMathBbox3fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3fArray_class_info) else: class_info = _base.GMathBbox3fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3fArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3fArray____class_destructor__ GMathBbox3fArray_swigregister = _base.GMathBbox3fArray_swigregister GMathBbox3fArray_swigregister(GMathBbox3fArray) def GMathBbox3fArray_class_info(): return _base.GMathBbox3fArray_class_info() GMathBbox3fArray_class_info = _base.GMathBbox3fArray_class_info def GMathBbox3fArray____class_destructor__(instance, is_array): return _base.GMathBbox3fArray____class_destructor__(instance, is_array) GMathBbox3fArray____class_destructor__ = _base.GMathBbox3fArray____class_destructor__ class GMathBbox3fVector(GMathBbox3fBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox3fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3fVector, name, value) __swig_getmethods__ = {} for _s in [GMathBbox3fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox3fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox3fVector __del__ = lambda self: None def append(self, *args): return _base.GMathBbox3fVector_append(self, *args) def add(self, element): return _base.GMathBbox3fVector_add(self, element) def insert(self, element, index): return _base.GMathBbox3fVector_insert(self, element, index) def remove_last(self): return _base.GMathBbox3fVector_remove_last(self) def empty(self): return _base.GMathBbox3fVector_empty(self) def remove_all(self): return _base.GMathBbox3fVector_remove_all(self) def clear(self, *args): return _base.GMathBbox3fVector_clear(self, *args) def remove(self, *args): return _base.GMathBbox3fVector_remove(self, *args) def is_empty(self): return _base.GMathBbox3fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathBbox3fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathBbox3fVector_remove_items(self, item) def get_count(self): return _base.GMathBbox3fVector_get_count(self) def get_capacity(self): return _base.GMathBbox3fVector_get_capacity(self) def set_count(self, *args): return _base.GMathBbox3fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathBbox3fVector_set_capacity(self, *args) def refit(self): return _base.GMathBbox3fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathBbox3fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathBbox3fVector_resize(self, *args) def reserve(self, *args): return _base.GMathBbox3fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathBbox3fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox3fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox3fVector_get_list(self, list) def set_list(self, list): return _base.GMathBbox3fVector_set_list(self, list) def get_array(self, array): return _base.GMathBbox3fVector_get_array(self, array) def set_array(self, array): return _base.GMathBbox3fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathBbox3fVector_move(self, arg2, to) def item(self, index): return _base.GMathBbox3fVector_item(self, index) def get_memory_size(self): return _base.GMathBbox3fVector_get_memory_size(self) def get_class_info(self): return _base.GMathBbox3fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3fVector_class_info) else: class_info = _base.GMathBbox3fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3fVector____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3fVector____class_destructor__ GMathBbox3fVector_swigregister = _base.GMathBbox3fVector_swigregister GMathBbox3fVector_swigregister(GMathBbox3fVector) def GMathBbox3fVector_class_info(): return _base.GMathBbox3fVector_class_info() GMathBbox3fVector_class_info = _base.GMathBbox3fVector_class_info def GMathBbox3fVector____class_destructor__(instance, is_array): return _base.GMathBbox3fVector____class_destructor__(instance, is_array) GMathBbox3fVector____class_destructor__ = _base.GMathBbox3fVector____class_destructor__ class GMathBbox2d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2d, name) def __init__(self, *args): this = _base.new_GMathBbox2d(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this def get_copy(self): return _base.GMathBbox2d_get_copy(self) def copy_from(self, bbox): return _base.GMathBbox2d_copy_from(self, bbox) def copy_to(self, bbox): return _base.GMathBbox2d_copy_to(self, bbox) def get_center(self): return _base.GMathBbox2d_get_center(self) def intersect(self, *args): return _base.GMathBbox2d_intersect(self, *args) def compute_interpolated_bbox(self, time, start_bbox, end_bbox): return _base.GMathBbox2d_compute_interpolated_bbox(self, time, start_bbox, end_bbox) def get_corner_vertices(self, vertices): return _base.GMathBbox2d_get_corner_vertices(self, vertices) def compute_area(self): return _base.GMathBbox2d_compute_area(self) def is_empty(self): return _base.GMathBbox2d_is_empty(self) def get_item(self, x, y): return _base.GMathBbox2d_get_item(self, x, y) def set_item(self, x, y, value): return _base.GMathBbox2d_set_item(self, x, y, value) def get_class_info(self): return _base.GMathBbox2d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2d_class_info) else: class_info = _base.GMathBbox2d_class_info if _newclass: register_methods = staticmethod(_base.GMathBbox2d_register_methods) else: register_methods = _base.GMathBbox2d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2d____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2d____class_destructor__ def __repr__(self): return _base.GMathBbox2d___repr__(self) def __getitem__(self, index): return _base.GMathBbox2d___getitem__(self, index) def __len__(self): return _base.GMathBbox2d___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathBbox2d __del__ = lambda self: None GMathBbox2d_swigregister = _base.GMathBbox2d_swigregister GMathBbox2d_swigregister(GMathBbox2d) def GMathBbox2d_class_info(): return _base.GMathBbox2d_class_info() GMathBbox2d_class_info = _base.GMathBbox2d_class_info def GMathBbox2d_register_methods(cls): return _base.GMathBbox2d_register_methods(cls) GMathBbox2d_register_methods = _base.GMathBbox2d_register_methods def GMathBbox2d____class_destructor__(instance, is_array): return _base.GMathBbox2d____class_destructor__(instance, is_array) GMathBbox2d____class_destructor__ = _base.GMathBbox2d____class_destructor__ class GMathBbox3d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3d, name) def __init__(self): this = _base.new_GMathBbox3d() try: self.this.append(this) except __builtin__.Exception: self.this = this def get_copy(self): return _base.GMathBbox3d_get_copy(self) def copy_from(self, bbox): return _base.GMathBbox3d_copy_from(self, bbox) def copy_to(self, bbox): return _base.GMathBbox3d_copy_to(self, bbox) def get_center(self): return _base.GMathBbox3d_get_center(self) def intersect(self, *args): return _base.GMathBbox3d_intersect(self, *args) def compute_interpolated_bbox(self, time, start_bbox, end_bbox): return _base.GMathBbox3d_compute_interpolated_bbox(self, time, start_bbox, end_bbox) def get_corner_vertices(self, vertices): return _base.GMathBbox3d_get_corner_vertices(self, vertices) def transform_bbox_and_get_bbox(self, matrix, result): return _base.GMathBbox3d_transform_bbox_and_get_bbox(self, matrix, result) def compute_volume(self): return _base.GMathBbox3d_compute_volume(self) def compute_area(self): return _base.GMathBbox3d_compute_area(self) def compute_surface_area(self): return _base.GMathBbox3d_compute_surface_area(self) def get_min(self, *args): return _base.GMathBbox3d_get_min(self, *args) def get_max(self, *args): return _base.GMathBbox3d_get_max(self, *args) def is_empty(self): return _base.GMathBbox3d_is_empty(self) def is_finite(self): return _base.GMathBbox3d_is_finite(self) def get_maximum_extent(self): return _base.GMathBbox3d_get_maximum_extent(self) def get_item(self, x, y): return _base.GMathBbox3d_get_item(self, x, y) def set_item(self, x, y, value): return _base.GMathBbox3d_set_item(self, x, y, value) def get_class_info(self): return _base.GMathBbox3d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3d_class_info) else: class_info = _base.GMathBbox3d_class_info if _newclass: register_methods = staticmethod(_base.GMathBbox3d_register_methods) else: register_methods = _base.GMathBbox3d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3d____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3d____class_destructor__ def __repr__(self): return _base.GMathBbox3d___repr__(self) def __getitem__(self, index): return _base.GMathBbox3d___getitem__(self, index) def __len__(self): return _base.GMathBbox3d___len__(self) def __nonzero__(self): return True __swig_destroy__ = _base.delete_GMathBbox3d __del__ = lambda self: None GMathBbox3d_swigregister = _base.GMathBbox3d_swigregister GMathBbox3d_swigregister(GMathBbox3d) GMathBbox3d.s_empty_box = _base.cvar.GMathBbox3d_s_empty_box def GMathBbox3d_class_info(): return _base.GMathBbox3d_class_info() GMathBbox3d_class_info = _base.GMathBbox3d_class_info def GMathBbox3d_register_methods(cls): return _base.GMathBbox3d_register_methods(cls) GMathBbox3d_register_methods = _base.GMathBbox3d_register_methods def GMathBbox3d____class_destructor__(instance, is_array): return _base.GMathBbox3d____class_destructor__(instance, is_array) GMathBbox3d____class_destructor__ = _base.GMathBbox3d____class_destructor__ class GMathBbox2dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathBbox2dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathBbox2dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox2dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathBbox2dBasicArray_get_count(self) def get_item(self, index): return _base.GMathBbox2dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathBbox2dBasicArray_set_item(self, index, item) def front(self): return _base.GMathBbox2dBasicArray_front(self) def back(self): return _base.GMathBbox2dBasicArray_back(self) def exists(self, item): return _base.GMathBbox2dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathBbox2dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathBbox2dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathBbox2dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathBbox2dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathBbox2dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathBbox2dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2dBasicArray_class_info) else: class_info = _base.GMathBbox2dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathBbox2dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathBbox2dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathBbox2dBasicArray_swigregister = _base.GMathBbox2dBasicArray_swigregister GMathBbox2dBasicArray_swigregister(GMathBbox2dBasicArray) def GMathBbox2dBasicArray_class_info(): return _base.GMathBbox2dBasicArray_class_info() GMathBbox2dBasicArray_class_info = _base.GMathBbox2dBasicArray_class_info def GMathBbox2dBasicArray____class_destructor__(instance, is_array): return _base.GMathBbox2dBasicArray____class_destructor__(instance, is_array) GMathBbox2dBasicArray____class_destructor__ = _base.GMathBbox2dBasicArray____class_destructor__ class GMathBbox2dArray(GMathBbox2dBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox2dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2dArray, name, value) __swig_getmethods__ = {} for _s in [GMathBbox2dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox2dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox2dArray __del__ = lambda self: None def append(self, *args): return _base.GMathBbox2dArray_append(self, *args) def get_count(self): return _base.GMathBbox2dArray_get_count(self) def remove_all(self): return _base.GMathBbox2dArray_remove_all(self) def resize(self, *args): return _base.GMathBbox2dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathBbox2dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox2dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox2dArray_get_list(self, list) def set_list(self, list): return _base.GMathBbox2dArray_set_list(self, list) def get_memory_size(self): return _base.GMathBbox2dArray_get_memory_size(self) def get_class_info(self): return _base.GMathBbox2dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2dArray_class_info) else: class_info = _base.GMathBbox2dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2dArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2dArray____class_destructor__ GMathBbox2dArray_swigregister = _base.GMathBbox2dArray_swigregister GMathBbox2dArray_swigregister(GMathBbox2dArray) def GMathBbox2dArray_class_info(): return _base.GMathBbox2dArray_class_info() GMathBbox2dArray_class_info = _base.GMathBbox2dArray_class_info def GMathBbox2dArray____class_destructor__(instance, is_array): return _base.GMathBbox2dArray____class_destructor__(instance, is_array) GMathBbox2dArray____class_destructor__ = _base.GMathBbox2dArray____class_destructor__ class GMathBbox2dVector(GMathBbox2dBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox2dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox2dVector, name, value) __swig_getmethods__ = {} for _s in [GMathBbox2dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox2dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox2dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox2dVector __del__ = lambda self: None def append(self, *args): return _base.GMathBbox2dVector_append(self, *args) def add(self, element): return _base.GMathBbox2dVector_add(self, element) def insert(self, element, index): return _base.GMathBbox2dVector_insert(self, element, index) def remove_last(self): return _base.GMathBbox2dVector_remove_last(self) def empty(self): return _base.GMathBbox2dVector_empty(self) def remove_all(self): return _base.GMathBbox2dVector_remove_all(self) def clear(self, *args): return _base.GMathBbox2dVector_clear(self, *args) def remove(self, *args): return _base.GMathBbox2dVector_remove(self, *args) def is_empty(self): return _base.GMathBbox2dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathBbox2dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathBbox2dVector_remove_items(self, item) def get_count(self): return _base.GMathBbox2dVector_get_count(self) def get_capacity(self): return _base.GMathBbox2dVector_get_capacity(self) def set_count(self, *args): return _base.GMathBbox2dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathBbox2dVector_set_capacity(self, *args) def refit(self): return _base.GMathBbox2dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathBbox2dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathBbox2dVector_resize(self, *args) def reserve(self, *args): return _base.GMathBbox2dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathBbox2dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox2dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox2dVector_get_list(self, list) def set_list(self, list): return _base.GMathBbox2dVector_set_list(self, list) def get_array(self, array): return _base.GMathBbox2dVector_get_array(self, array) def set_array(self, array): return _base.GMathBbox2dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathBbox2dVector_move(self, arg2, to) def item(self, index): return _base.GMathBbox2dVector_item(self, index) def get_memory_size(self): return _base.GMathBbox2dVector_get_memory_size(self) def get_class_info(self): return _base.GMathBbox2dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox2dVector_class_info) else: class_info = _base.GMathBbox2dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox2dVector____class_destructor__) else: ___class_destructor__ = _base.GMathBbox2dVector____class_destructor__ GMathBbox2dVector_swigregister = _base.GMathBbox2dVector_swigregister GMathBbox2dVector_swigregister(GMathBbox2dVector) def GMathBbox2dVector_class_info(): return _base.GMathBbox2dVector_class_info() GMathBbox2dVector_class_info = _base.GMathBbox2dVector_class_info def GMathBbox2dVector____class_destructor__(instance, is_array): return _base.GMathBbox2dVector____class_destructor__(instance, is_array) GMathBbox2dVector____class_destructor__ = _base.GMathBbox2dVector____class_destructor__ class GMathBbox3dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathBbox3dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathBbox3dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox3dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathBbox3dBasicArray_get_count(self) def get_item(self, index): return _base.GMathBbox3dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathBbox3dBasicArray_set_item(self, index, item) def front(self): return _base.GMathBbox3dBasicArray_front(self) def back(self): return _base.GMathBbox3dBasicArray_back(self) def exists(self, item): return _base.GMathBbox3dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathBbox3dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathBbox3dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathBbox3dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathBbox3dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathBbox3dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathBbox3dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3dBasicArray_class_info) else: class_info = _base.GMathBbox3dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathBbox3dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathBbox3dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathBbox3dBasicArray_swigregister = _base.GMathBbox3dBasicArray_swigregister GMathBbox3dBasicArray_swigregister(GMathBbox3dBasicArray) def GMathBbox3dBasicArray_class_info(): return _base.GMathBbox3dBasicArray_class_info() GMathBbox3dBasicArray_class_info = _base.GMathBbox3dBasicArray_class_info def GMathBbox3dBasicArray____class_destructor__(instance, is_array): return _base.GMathBbox3dBasicArray____class_destructor__(instance, is_array) GMathBbox3dBasicArray____class_destructor__ = _base.GMathBbox3dBasicArray____class_destructor__ class GMathBbox3dArray(GMathBbox3dBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox3dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3dArray, name, value) __swig_getmethods__ = {} for _s in [GMathBbox3dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox3dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox3dArray __del__ = lambda self: None def append(self, *args): return _base.GMathBbox3dArray_append(self, *args) def get_count(self): return _base.GMathBbox3dArray_get_count(self) def remove_all(self): return _base.GMathBbox3dArray_remove_all(self) def resize(self, *args): return _base.GMathBbox3dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathBbox3dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox3dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox3dArray_get_list(self, list) def set_list(self, list): return _base.GMathBbox3dArray_set_list(self, list) def get_memory_size(self): return _base.GMathBbox3dArray_get_memory_size(self) def get_class_info(self): return _base.GMathBbox3dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3dArray_class_info) else: class_info = _base.GMathBbox3dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3dArray____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3dArray____class_destructor__ GMathBbox3dArray_swigregister = _base.GMathBbox3dArray_swigregister GMathBbox3dArray_swigregister(GMathBbox3dArray) def GMathBbox3dArray_class_info(): return _base.GMathBbox3dArray_class_info() GMathBbox3dArray_class_info = _base.GMathBbox3dArray_class_info def GMathBbox3dArray____class_destructor__(instance, is_array): return _base.GMathBbox3dArray____class_destructor__(instance, is_array) GMathBbox3dArray____class_destructor__ = _base.GMathBbox3dArray____class_destructor__ class GMathBbox3dVector(GMathBbox3dBasicArray): __swig_setmethods__ = {} for _s in [GMathBbox3dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathBbox3dVector, name, value) __swig_getmethods__ = {} for _s in [GMathBbox3dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathBbox3dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathBbox3dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathBbox3dVector __del__ = lambda self: None def append(self, *args): return _base.GMathBbox3dVector_append(self, *args) def add(self, element): return _base.GMathBbox3dVector_add(self, element) def insert(self, element, index): return _base.GMathBbox3dVector_insert(self, element, index) def remove_last(self): return _base.GMathBbox3dVector_remove_last(self) def empty(self): return _base.GMathBbox3dVector_empty(self) def remove_all(self): return _base.GMathBbox3dVector_remove_all(self) def clear(self, *args): return _base.GMathBbox3dVector_clear(self, *args) def remove(self, *args): return _base.GMathBbox3dVector_remove(self, *args) def is_empty(self): return _base.GMathBbox3dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathBbox3dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathBbox3dVector_remove_items(self, item) def get_count(self): return _base.GMathBbox3dVector_get_count(self) def get_capacity(self): return _base.GMathBbox3dVector_get_capacity(self) def set_count(self, *args): return _base.GMathBbox3dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathBbox3dVector_set_capacity(self, *args) def refit(self): return _base.GMathBbox3dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathBbox3dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathBbox3dVector_resize(self, *args) def reserve(self, *args): return _base.GMathBbox3dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathBbox3dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathBbox3dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathBbox3dVector_get_list(self, list) def set_list(self, list): return _base.GMathBbox3dVector_set_list(self, list) def get_array(self, array): return _base.GMathBbox3dVector_get_array(self, array) def set_array(self, array): return _base.GMathBbox3dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathBbox3dVector_move(self, arg2, to) def item(self, index): return _base.GMathBbox3dVector_item(self, index) def get_memory_size(self): return _base.GMathBbox3dVector_get_memory_size(self) def get_class_info(self): return _base.GMathBbox3dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathBbox3dVector_class_info) else: class_info = _base.GMathBbox3dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathBbox3dVector____class_destructor__) else: ___class_destructor__ = _base.GMathBbox3dVector____class_destructor__ GMathBbox3dVector_swigregister = _base.GMathBbox3dVector_swigregister GMathBbox3dVector_swigregister(GMathBbox3dVector) def GMathBbox3dVector_class_info(): return _base.GMathBbox3dVector_class_info() GMathBbox3dVector_class_info = _base.GMathBbox3dVector_class_info def GMathBbox3dVector____class_destructor__(instance, is_array): return _base.GMathBbox3dVector____class_destructor__(instance, is_array) GMathBbox3dVector____class_destructor__ = _base.GMathBbox3dVector____class_destructor__ class GMathMatrix3x3f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3f, name) def __init__(self, *args): this = _base.new_GMathMatrix3x3f(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this if _newclass: get_identity = staticmethod(_base.GMathMatrix3x3f_get_identity) else: get_identity = _base.GMathMatrix3x3f_get_identity def get_copy(self): return _base.GMathMatrix3x3f_get_copy(self) def copy_from(self, m): return _base.GMathMatrix3x3f_copy_from(self, m) def copy_to(self, u): return _base.GMathMatrix3x3f_copy_to(self, u) def __eq__(self, m): if not isinstance(obj, type(self)): return False return _base.GMathMatrix3x3f___eq__(self, m) def __ne__(self, m): return _base.GMathMatrix3x3f___ne__(self, m) def nullify(self): return _base.GMathMatrix3x3f_nullify(self) def set_identity(self): return _base.GMathMatrix3x3f_set_identity(self) def set_frame(self, x, y, z): return _base.GMathMatrix3x3f_set_frame(self, x, y, z) def set_rotation(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix3x3f_set_rotation(self, r, order) def multiply_left(self, m): return _base.GMathMatrix3x3f_multiply_left(self, m) def multiply_right(self, m): return _base.GMathMatrix3x3f_multiply_right(self, m) def multiply_transpose_left(self, *args): return _base.GMathMatrix3x3f_multiply_transpose_left(self, *args) def multiply_transpose_right(self, *args): return _base.GMathMatrix3x3f_multiply_transpose_right(self, *args) def rotate(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix3x3f_rotate(self, r, order) def transpose(self, *args): return _base.GMathMatrix3x3f_transpose(self, *args) def compute_euler_angles(self, *args): return _base.GMathMatrix3x3f_compute_euler_angles(self, *args) def get_item(self, x, y): return _base.GMathMatrix3x3f_get_item(self, x, y) def set_item(self, x, y, value): return _base.GMathMatrix3x3f_set_item(self, x, y, value) def get_x_axis(self): return _base.GMathMatrix3x3f_get_x_axis(self) def get_y_axis(self): return _base.GMathMatrix3x3f_get_y_axis(self) def get_z_axis(self): return _base.GMathMatrix3x3f_get_z_axis(self) def fast_interpolate(self, *args): return _base.GMathMatrix3x3f_fast_interpolate(self, *args) def is_finite(self): return _base.GMathMatrix3x3f_is_finite(self) def get_class_info(self): return _base.GMathMatrix3x3f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3f_class_info) else: class_info = _base.GMathMatrix3x3f_class_info if _newclass: register_methods = staticmethod(_base.GMathMatrix3x3f_register_methods) else: register_methods = _base.GMathMatrix3x3f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3f____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3f____class_destructor__ if _newclass: multiply = staticmethod(_base.GMathMatrix3x3f_multiply) else: multiply = _base.GMathMatrix3x3f_multiply if _newclass: multiply_transpose = staticmethod(_base.GMathMatrix3x3f_multiply_transpose) else: multiply_transpose = _base.GMathMatrix3x3f_multiply_transpose def __repr__(self): return _base.GMathMatrix3x3f___repr__(self) __swig_destroy__ = _base.delete_GMathMatrix3x3f __del__ = lambda self: None GMathMatrix3x3f_swigregister = _base.GMathMatrix3x3f_swigregister GMathMatrix3x3f_swigregister(GMathMatrix3x3f) def GMathMatrix3x3f_get_identity(): return _base.GMathMatrix3x3f_get_identity() GMathMatrix3x3f_get_identity = _base.GMathMatrix3x3f_get_identity def GMathMatrix3x3f_class_info(): return _base.GMathMatrix3x3f_class_info() GMathMatrix3x3f_class_info = _base.GMathMatrix3x3f_class_info def GMathMatrix3x3f_register_methods(cls): return _base.GMathMatrix3x3f_register_methods(cls) GMathMatrix3x3f_register_methods = _base.GMathMatrix3x3f_register_methods def GMathMatrix3x3f____class_destructor__(instance, is_array): return _base.GMathMatrix3x3f____class_destructor__(instance, is_array) GMathMatrix3x3f____class_destructor__ = _base.GMathMatrix3x3f____class_destructor__ def GMathMatrix3x3f_multiply(*args): return _base.GMathMatrix3x3f_multiply(*args) GMathMatrix3x3f_multiply = _base.GMathMatrix3x3f_multiply def GMathMatrix3x3f_multiply_transpose(*args): return _base.GMathMatrix3x3f_multiply_transpose(*args) GMathMatrix3x3f_multiply_transpose = _base.GMathMatrix3x3f_multiply_transpose class GMathMatrix4x4f(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4f, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4f, name) def __init__(self, *args): this = _base.new_GMathMatrix4x4f(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this if _newclass: get_identity = staticmethod(_base.GMathMatrix4x4f_get_identity) else: get_identity = _base.GMathMatrix4x4f_get_identity def get_copy(self): return _base.GMathMatrix4x4f_get_copy(self) def copy_from(self, m): return _base.GMathMatrix4x4f_copy_from(self, m) def copy_to(self, m): return _base.GMathMatrix4x4f_copy_to(self, m) def __eq__(self, m): if not isinstance(obj, type(self)): return False return _base.GMathMatrix4x4f___eq__(self, m) def __ne__(self, m): return _base.GMathMatrix4x4f___ne__(self, m) def nullify(self): return _base.GMathMatrix4x4f_nullify(self) def set_identity(self): return _base.GMathMatrix4x4f_set_identity(self) def make_translation(self, *args): return _base.GMathMatrix4x4f_make_translation(self, *args) def make_inverse(self, t, r, s): return _base.GMathMatrix4x4f_make_inverse(self, t, r, s) def make_frame(self, x, y, z): return _base.GMathMatrix4x4f_make_frame(self, x, y, z) def make_rotation_Z(self, angle_radians): return _base.GMathMatrix4x4f_make_rotation_Z(self, angle_radians) def make_rotation(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix4x4f_make_rotation(self, r, order) def make_scaling(self, *args): return _base.GMathMatrix4x4f_make_scaling(self, *args) def make_shearing(self, *args): return _base.GMathMatrix4x4f_make_shearing(self, *args) def make_perspective(self, l, r, b, t, n, f): return _base.GMathMatrix4x4f_make_perspective(self, l, r, b, t, n, f) def compose(self, *args): return _base.GMathMatrix4x4f_compose(self, *args) def set_translation(self, t): return _base.GMathMatrix4x4f_set_translation(self, t) def set_frame(self, x, y, z): return _base.GMathMatrix4x4f_set_frame(self, x, y, z) def set_rotation(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix4x4f_set_rotation(self, r, order) def set_scaling(self, s): return _base.GMathMatrix4x4f_set_scaling(self, s) def multiply_left(self, m): return _base.GMathMatrix4x4f_multiply_left(self, m) def multiply_right(self, m): return _base.GMathMatrix4x4f_multiply_right(self, m) def multiply_transpose_left(self, *args): return _base.GMathMatrix4x4f_multiply_transpose_left(self, *args) def multiply_transpose_right(self, *args): return _base.GMathMatrix4x4f_multiply_transpose_right(self, *args) def rotate(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix4x4f_rotate(self, r, order) def scale(self, *args): return _base.GMathMatrix4x4f_scale(self, *args) def shear(self, *args): return _base.GMathMatrix4x4f_shear(self, *args) if _newclass: get_inverse = staticmethod(_base.GMathMatrix4x4f_get_inverse) else: get_inverse = _base.GMathMatrix4x4f_get_inverse def invert(self): return _base.GMathMatrix4x4f_invert(self) def transpose(self, *args): return _base.GMathMatrix4x4f_transpose(self, *args) def extract_translation(self, *args): return _base.GMathMatrix4x4f_extract_translation(self, *args) def compute_euler_angles(self, *args): return _base.GMathMatrix4x4f_compute_euler_angles(self, *args) def decompose(self, *args): return _base.GMathMatrix4x4f_decompose(self, *args) def extract_rotation(self, r): return _base.GMathMatrix4x4f_extract_rotation(self, r) def extract_frame(self, x, y, z): return _base.GMathMatrix4x4f_extract_frame(self, x, y, z) def extract_shearing(self, shear): return _base.GMathMatrix4x4f_extract_shearing(self, shear) def extract_scaling(self, scale): return _base.GMathMatrix4x4f_extract_scaling(self, scale) def make_orthonormal(self): return _base.GMathMatrix4x4f_make_orthonormal(self) if _newclass: get_determinant = staticmethod(_base.GMathMatrix4x4f_get_determinant) else: get_determinant = _base.GMathMatrix4x4f_get_determinant def set_item(self, x, y, value): return _base.GMathMatrix4x4f_set_item(self, x, y, value) def fast_interpolate(self, *args): return _base.GMathMatrix4x4f_fast_interpolate(self, *args) def equals(self, *args): return _base.GMathMatrix4x4f_equals(self, *args) def is_finite(self): return _base.GMathMatrix4x4f_is_finite(self) def get_class_info(self): return _base.GMathMatrix4x4f_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4f_class_info) else: class_info = _base.GMathMatrix4x4f_class_info if _newclass: register_methods = staticmethod(_base.GMathMatrix4x4f_register_methods) else: register_methods = _base.GMathMatrix4x4f_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4f____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4f____class_destructor__ if _newclass: multiply = staticmethod(_base.GMathMatrix4x4f_multiply) else: multiply = _base.GMathMatrix4x4f_multiply if _newclass: multiply_transpose = staticmethod(_base.GMathMatrix4x4f_multiply_transpose) else: multiply_transpose = _base.GMathMatrix4x4f_multiply_transpose def __repr__(self): return _base.GMathMatrix4x4f___repr__(self) def get_item(self, *args): return _base.GMathMatrix4x4f_get_item(self, *args) __swig_destroy__ = _base.delete_GMathMatrix4x4f __del__ = lambda self: None GMathMatrix4x4f_swigregister = _base.GMathMatrix4x4f_swigregister GMathMatrix4x4f_swigregister(GMathMatrix4x4f) def GMathMatrix4x4f_get_identity(): return _base.GMathMatrix4x4f_get_identity() GMathMatrix4x4f_get_identity = _base.GMathMatrix4x4f_get_identity def GMathMatrix4x4f_get_inverse(m, result): return _base.GMathMatrix4x4f_get_inverse(m, result) GMathMatrix4x4f_get_inverse = _base.GMathMatrix4x4f_get_inverse def GMathMatrix4x4f_get_determinant(*args): return _base.GMathMatrix4x4f_get_determinant(*args) GMathMatrix4x4f_get_determinant = _base.GMathMatrix4x4f_get_determinant def GMathMatrix4x4f_class_info(): return _base.GMathMatrix4x4f_class_info() GMathMatrix4x4f_class_info = _base.GMathMatrix4x4f_class_info def GMathMatrix4x4f_register_methods(cls): return _base.GMathMatrix4x4f_register_methods(cls) GMathMatrix4x4f_register_methods = _base.GMathMatrix4x4f_register_methods def GMathMatrix4x4f____class_destructor__(instance, is_array): return _base.GMathMatrix4x4f____class_destructor__(instance, is_array) GMathMatrix4x4f____class_destructor__ = _base.GMathMatrix4x4f____class_destructor__ def GMathMatrix4x4f_multiply(*args): return _base.GMathMatrix4x4f_multiply(*args) GMathMatrix4x4f_multiply = _base.GMathMatrix4x4f_multiply def GMathMatrix4x4f_multiply_transpose(*args): return _base.GMathMatrix4x4f_multiply_transpose(*args) GMathMatrix4x4f_multiply_transpose = _base.GMathMatrix4x4f_multiply_transpose class GMathMatrix3x3fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathMatrix3x3fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathMatrix3x3fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix3x3fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathMatrix3x3fBasicArray_get_count(self) def get_item(self, index): return _base.GMathMatrix3x3fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathMatrix3x3fBasicArray_set_item(self, index, item) def front(self): return _base.GMathMatrix3x3fBasicArray_front(self) def back(self): return _base.GMathMatrix3x3fBasicArray_back(self) def exists(self, item): return _base.GMathMatrix3x3fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathMatrix3x3fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathMatrix3x3fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathMatrix3x3fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathMatrix3x3fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathMatrix3x3fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathMatrix3x3fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3fBasicArray_class_info) else: class_info = _base.GMathMatrix3x3fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathMatrix3x3fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathMatrix3x3fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathMatrix3x3fBasicArray_swigregister = _base.GMathMatrix3x3fBasicArray_swigregister GMathMatrix3x3fBasicArray_swigregister(GMathMatrix3x3fBasicArray) def GMathMatrix3x3fBasicArray_class_info(): return _base.GMathMatrix3x3fBasicArray_class_info() GMathMatrix3x3fBasicArray_class_info = _base.GMathMatrix3x3fBasicArray_class_info def GMathMatrix3x3fBasicArray____class_destructor__(instance, is_array): return _base.GMathMatrix3x3fBasicArray____class_destructor__(instance, is_array) GMathMatrix3x3fBasicArray____class_destructor__ = _base.GMathMatrix3x3fBasicArray____class_destructor__ class GMathMatrix3x3fArray(GMathMatrix3x3fBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix3x3fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3fArray, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix3x3fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix3x3fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix3x3fArray __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix3x3fArray_append(self, *args) def get_count(self): return _base.GMathMatrix3x3fArray_get_count(self) def remove_all(self): return _base.GMathMatrix3x3fArray_remove_all(self) def resize(self, *args): return _base.GMathMatrix3x3fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathMatrix3x3fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix3x3fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix3x3fArray_get_list(self, list) def set_list(self, list): return _base.GMathMatrix3x3fArray_set_list(self, list) def get_memory_size(self): return _base.GMathMatrix3x3fArray_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix3x3fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3fArray_class_info) else: class_info = _base.GMathMatrix3x3fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3fArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3fArray____class_destructor__ GMathMatrix3x3fArray_swigregister = _base.GMathMatrix3x3fArray_swigregister GMathMatrix3x3fArray_swigregister(GMathMatrix3x3fArray) def GMathMatrix3x3fArray_class_info(): return _base.GMathMatrix3x3fArray_class_info() GMathMatrix3x3fArray_class_info = _base.GMathMatrix3x3fArray_class_info def GMathMatrix3x3fArray____class_destructor__(instance, is_array): return _base.GMathMatrix3x3fArray____class_destructor__(instance, is_array) GMathMatrix3x3fArray____class_destructor__ = _base.GMathMatrix3x3fArray____class_destructor__ class GMathMatrix3x3fVector(GMathMatrix3x3fBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix3x3fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3fVector, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix3x3fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix3x3fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix3x3fVector __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix3x3fVector_append(self, *args) def add(self, element): return _base.GMathMatrix3x3fVector_add(self, element) def insert(self, element, index): return _base.GMathMatrix3x3fVector_insert(self, element, index) def remove_last(self): return _base.GMathMatrix3x3fVector_remove_last(self) def empty(self): return _base.GMathMatrix3x3fVector_empty(self) def remove_all(self): return _base.GMathMatrix3x3fVector_remove_all(self) def clear(self, *args): return _base.GMathMatrix3x3fVector_clear(self, *args) def remove(self, *args): return _base.GMathMatrix3x3fVector_remove(self, *args) def is_empty(self): return _base.GMathMatrix3x3fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathMatrix3x3fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathMatrix3x3fVector_remove_items(self, item) def get_count(self): return _base.GMathMatrix3x3fVector_get_count(self) def get_capacity(self): return _base.GMathMatrix3x3fVector_get_capacity(self) def set_count(self, *args): return _base.GMathMatrix3x3fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathMatrix3x3fVector_set_capacity(self, *args) def refit(self): return _base.GMathMatrix3x3fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathMatrix3x3fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathMatrix3x3fVector_resize(self, *args) def reserve(self, *args): return _base.GMathMatrix3x3fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathMatrix3x3fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix3x3fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix3x3fVector_get_list(self, list) def set_list(self, list): return _base.GMathMatrix3x3fVector_set_list(self, list) def get_array(self, array): return _base.GMathMatrix3x3fVector_get_array(self, array) def set_array(self, array): return _base.GMathMatrix3x3fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathMatrix3x3fVector_move(self, arg2, to) def item(self, index): return _base.GMathMatrix3x3fVector_item(self, index) def get_memory_size(self): return _base.GMathMatrix3x3fVector_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix3x3fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3fVector_class_info) else: class_info = _base.GMathMatrix3x3fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3fVector____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3fVector____class_destructor__ GMathMatrix3x3fVector_swigregister = _base.GMathMatrix3x3fVector_swigregister GMathMatrix3x3fVector_swigregister(GMathMatrix3x3fVector) def GMathMatrix3x3fVector_class_info(): return _base.GMathMatrix3x3fVector_class_info() GMathMatrix3x3fVector_class_info = _base.GMathMatrix3x3fVector_class_info def GMathMatrix3x3fVector____class_destructor__(instance, is_array): return _base.GMathMatrix3x3fVector____class_destructor__(instance, is_array) GMathMatrix3x3fVector____class_destructor__ = _base.GMathMatrix3x3fVector____class_destructor__ class GMathMatrix4x4fBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4fBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4fBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathMatrix4x4fBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathMatrix4x4fBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix4x4fBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathMatrix4x4fBasicArray_get_count(self) def get_item(self, index): return _base.GMathMatrix4x4fBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathMatrix4x4fBasicArray_set_item(self, index, item) def front(self): return _base.GMathMatrix4x4fBasicArray_front(self) def back(self): return _base.GMathMatrix4x4fBasicArray_back(self) def exists(self, item): return _base.GMathMatrix4x4fBasicArray_exists(self, item) def get_index(self, item): return _base.GMathMatrix4x4fBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathMatrix4x4fBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathMatrix4x4fBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathMatrix4x4fBasicArray_begin(self, *args) def end(self, *args): return _base.GMathMatrix4x4fBasicArray_end(self, *args) def get_class_info(self): return _base.GMathMatrix4x4fBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4fBasicArray_class_info) else: class_info = _base.GMathMatrix4x4fBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4fBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4fBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathMatrix4x4fBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathMatrix4x4fBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathMatrix4x4fBasicArray_swigregister = _base.GMathMatrix4x4fBasicArray_swigregister GMathMatrix4x4fBasicArray_swigregister(GMathMatrix4x4fBasicArray) def GMathMatrix4x4fBasicArray_class_info(): return _base.GMathMatrix4x4fBasicArray_class_info() GMathMatrix4x4fBasicArray_class_info = _base.GMathMatrix4x4fBasicArray_class_info def GMathMatrix4x4fBasicArray____class_destructor__(instance, is_array): return _base.GMathMatrix4x4fBasicArray____class_destructor__(instance, is_array) GMathMatrix4x4fBasicArray____class_destructor__ = _base.GMathMatrix4x4fBasicArray____class_destructor__ class GMathMatrix4x4fArray(GMathMatrix4x4fBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix4x4fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4fArray, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix4x4fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4fArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix4x4fArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix4x4fArray __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix4x4fArray_append(self, *args) def get_count(self): return _base.GMathMatrix4x4fArray_get_count(self) def remove_all(self): return _base.GMathMatrix4x4fArray_remove_all(self) def resize(self, *args): return _base.GMathMatrix4x4fArray_resize(self, *args) def copy_from(self, *args): return _base.GMathMatrix4x4fArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix4x4fArray_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix4x4fArray_get_list(self, list) def set_list(self, list): return _base.GMathMatrix4x4fArray_set_list(self, list) def get_memory_size(self): return _base.GMathMatrix4x4fArray_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix4x4fArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4fArray_class_info) else: class_info = _base.GMathMatrix4x4fArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4fArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4fArray____class_destructor__ GMathMatrix4x4fArray_swigregister = _base.GMathMatrix4x4fArray_swigregister GMathMatrix4x4fArray_swigregister(GMathMatrix4x4fArray) def GMathMatrix4x4fArray_class_info(): return _base.GMathMatrix4x4fArray_class_info() GMathMatrix4x4fArray_class_info = _base.GMathMatrix4x4fArray_class_info def GMathMatrix4x4fArray____class_destructor__(instance, is_array): return _base.GMathMatrix4x4fArray____class_destructor__(instance, is_array) GMathMatrix4x4fArray____class_destructor__ = _base.GMathMatrix4x4fArray____class_destructor__ class GMathMatrix4x4fVector(GMathMatrix4x4fBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix4x4fBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4fVector, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix4x4fBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4fVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix4x4fVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix4x4fVector __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix4x4fVector_append(self, *args) def add(self, element): return _base.GMathMatrix4x4fVector_add(self, element) def insert(self, element, index): return _base.GMathMatrix4x4fVector_insert(self, element, index) def remove_last(self): return _base.GMathMatrix4x4fVector_remove_last(self) def empty(self): return _base.GMathMatrix4x4fVector_empty(self) def remove_all(self): return _base.GMathMatrix4x4fVector_remove_all(self) def clear(self, *args): return _base.GMathMatrix4x4fVector_clear(self, *args) def remove(self, *args): return _base.GMathMatrix4x4fVector_remove(self, *args) def is_empty(self): return _base.GMathMatrix4x4fVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathMatrix4x4fVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathMatrix4x4fVector_remove_items(self, item) def get_count(self): return _base.GMathMatrix4x4fVector_get_count(self) def get_capacity(self): return _base.GMathMatrix4x4fVector_get_capacity(self) def set_count(self, *args): return _base.GMathMatrix4x4fVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathMatrix4x4fVector_set_capacity(self, *args) def refit(self): return _base.GMathMatrix4x4fVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathMatrix4x4fVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathMatrix4x4fVector_resize(self, *args) def reserve(self, *args): return _base.GMathMatrix4x4fVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathMatrix4x4fVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix4x4fVector_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix4x4fVector_get_list(self, list) def set_list(self, list): return _base.GMathMatrix4x4fVector_set_list(self, list) def get_array(self, array): return _base.GMathMatrix4x4fVector_get_array(self, array) def set_array(self, array): return _base.GMathMatrix4x4fVector_set_array(self, array) def move(self, arg2, to): return _base.GMathMatrix4x4fVector_move(self, arg2, to) def item(self, index): return _base.GMathMatrix4x4fVector_item(self, index) def get_memory_size(self): return _base.GMathMatrix4x4fVector_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix4x4fVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4fVector_class_info) else: class_info = _base.GMathMatrix4x4fVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4fVector____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4fVector____class_destructor__ GMathMatrix4x4fVector_swigregister = _base.GMathMatrix4x4fVector_swigregister GMathMatrix4x4fVector_swigregister(GMathMatrix4x4fVector) def GMathMatrix4x4fVector_class_info(): return _base.GMathMatrix4x4fVector_class_info() GMathMatrix4x4fVector_class_info = _base.GMathMatrix4x4fVector_class_info def GMathMatrix4x4fVector____class_destructor__(instance, is_array): return _base.GMathMatrix4x4fVector____class_destructor__(instance, is_array) GMathMatrix4x4fVector____class_destructor__ = _base.GMathMatrix4x4fVector____class_destructor__ class GMathMatrix3x3d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3d, name) def __init__(self, *args): this = _base.new_GMathMatrix3x3d(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this if _newclass: get_identity = staticmethod(_base.GMathMatrix3x3d_get_identity) else: get_identity = _base.GMathMatrix3x3d_get_identity def get_copy(self): return _base.GMathMatrix3x3d_get_copy(self) def copy_from(self, m): return _base.GMathMatrix3x3d_copy_from(self, m) def copy_to(self, u): return _base.GMathMatrix3x3d_copy_to(self, u) def __eq__(self, m): if not isinstance(obj, type(self)): return False return _base.GMathMatrix3x3d___eq__(self, m) def __ne__(self, m): return _base.GMathMatrix3x3d___ne__(self, m) def nullify(self): return _base.GMathMatrix3x3d_nullify(self) def set_identity(self): return _base.GMathMatrix3x3d_set_identity(self) def set_frame(self, x, y, z): return _base.GMathMatrix3x3d_set_frame(self, x, y, z) def set_rotation(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix3x3d_set_rotation(self, r, order) def multiply_left(self, m): return _base.GMathMatrix3x3d_multiply_left(self, m) def multiply_right(self, m): return _base.GMathMatrix3x3d_multiply_right(self, m) def multiply_transpose_left(self, *args): return _base.GMathMatrix3x3d_multiply_transpose_left(self, *args) def multiply_transpose_right(self, *args): return _base.GMathMatrix3x3d_multiply_transpose_right(self, *args) def rotate(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix3x3d_rotate(self, r, order) def transpose(self, *args): return _base.GMathMatrix3x3d_transpose(self, *args) def compute_euler_angles(self, *args): return _base.GMathMatrix3x3d_compute_euler_angles(self, *args) def get_item(self, x, y): return _base.GMathMatrix3x3d_get_item(self, x, y) def set_item(self, x, y, value): return _base.GMathMatrix3x3d_set_item(self, x, y, value) def get_x_axis(self): return _base.GMathMatrix3x3d_get_x_axis(self) def get_y_axis(self): return _base.GMathMatrix3x3d_get_y_axis(self) def get_z_axis(self): return _base.GMathMatrix3x3d_get_z_axis(self) def fast_interpolate(self, *args): return _base.GMathMatrix3x3d_fast_interpolate(self, *args) def is_finite(self): return _base.GMathMatrix3x3d_is_finite(self) def get_class_info(self): return _base.GMathMatrix3x3d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3d_class_info) else: class_info = _base.GMathMatrix3x3d_class_info if _newclass: register_methods = staticmethod(_base.GMathMatrix3x3d_register_methods) else: register_methods = _base.GMathMatrix3x3d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3d____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3d____class_destructor__ if _newclass: multiply = staticmethod(_base.GMathMatrix3x3d_multiply) else: multiply = _base.GMathMatrix3x3d_multiply if _newclass: multiply_transpose = staticmethod(_base.GMathMatrix3x3d_multiply_transpose) else: multiply_transpose = _base.GMathMatrix3x3d_multiply_transpose def __repr__(self): return _base.GMathMatrix3x3d___repr__(self) __swig_destroy__ = _base.delete_GMathMatrix3x3d __del__ = lambda self: None GMathMatrix3x3d_swigregister = _base.GMathMatrix3x3d_swigregister GMathMatrix3x3d_swigregister(GMathMatrix3x3d) def GMathMatrix3x3d_get_identity(): return _base.GMathMatrix3x3d_get_identity() GMathMatrix3x3d_get_identity = _base.GMathMatrix3x3d_get_identity def GMathMatrix3x3d_class_info(): return _base.GMathMatrix3x3d_class_info() GMathMatrix3x3d_class_info = _base.GMathMatrix3x3d_class_info def GMathMatrix3x3d_register_methods(cls): return _base.GMathMatrix3x3d_register_methods(cls) GMathMatrix3x3d_register_methods = _base.GMathMatrix3x3d_register_methods def GMathMatrix3x3d____class_destructor__(instance, is_array): return _base.GMathMatrix3x3d____class_destructor__(instance, is_array) GMathMatrix3x3d____class_destructor__ = _base.GMathMatrix3x3d____class_destructor__ def GMathMatrix3x3d_multiply(*args): return _base.GMathMatrix3x3d_multiply(*args) GMathMatrix3x3d_multiply = _base.GMathMatrix3x3d_multiply def GMathMatrix3x3d_multiply_transpose(*args): return _base.GMathMatrix3x3d_multiply_transpose(*args) GMathMatrix3x3d_multiply_transpose = _base.GMathMatrix3x3d_multiply_transpose class GMathMatrix4x4d(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4d, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4d, name) def __init__(self, *args): this = _base.new_GMathMatrix4x4d(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this if _newclass: get_identity = staticmethod(_base.GMathMatrix4x4d_get_identity) else: get_identity = _base.GMathMatrix4x4d_get_identity def get_copy(self): return _base.GMathMatrix4x4d_get_copy(self) def copy_from(self, m): return _base.GMathMatrix4x4d_copy_from(self, m) def copy_to(self, m): return _base.GMathMatrix4x4d_copy_to(self, m) def __eq__(self, m): if not isinstance(obj, type(self)): return False return _base.GMathMatrix4x4d___eq__(self, m) def __ne__(self, m): return _base.GMathMatrix4x4d___ne__(self, m) def nullify(self): return _base.GMathMatrix4x4d_nullify(self) def set_identity(self): return _base.GMathMatrix4x4d_set_identity(self) def make_translation(self, *args): return _base.GMathMatrix4x4d_make_translation(self, *args) def make_inverse(self, t, r, s): return _base.GMathMatrix4x4d_make_inverse(self, t, r, s) def make_frame(self, x, y, z): return _base.GMathMatrix4x4d_make_frame(self, x, y, z) def make_rotation_Z(self, angle_radians): return _base.GMathMatrix4x4d_make_rotation_Z(self, angle_radians) def make_rotation(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix4x4d_make_rotation(self, r, order) def make_scaling(self, *args): return _base.GMathMatrix4x4d_make_scaling(self, *args) def make_shearing(self, *args): return _base.GMathMatrix4x4d_make_shearing(self, *args) def make_perspective(self, l, r, b, t, n, f): return _base.GMathMatrix4x4d_make_perspective(self, l, r, b, t, n, f) def compose(self, *args): return _base.GMathMatrix4x4d_compose(self, *args) def set_translation(self, t): return _base.GMathMatrix4x4d_set_translation(self, t) def set_frame(self, x, y, z): return _base.GMathMatrix4x4d_set_frame(self, x, y, z) def set_rotation(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix4x4d_set_rotation(self, r, order) def set_scaling(self, s): return _base.GMathMatrix4x4d_set_scaling(self, s) def multiply_left(self, m): return _base.GMathMatrix4x4d_multiply_left(self, m) def multiply_right(self, m): return _base.GMathMatrix4x4d_multiply_right(self, m) def multiply_transpose_left(self, *args): return _base.GMathMatrix4x4d_multiply_transpose_left(self, *args) def multiply_transpose_right(self, *args): return _base.GMathMatrix4x4d_multiply_transpose_right(self, *args) def rotate(self, r, order=GMATH_ROTATION_ORDER_ZXY): return _base.GMathMatrix4x4d_rotate(self, r, order) def scale(self, *args): return _base.GMathMatrix4x4d_scale(self, *args) def shear(self, *args): return _base.GMathMatrix4x4d_shear(self, *args) if _newclass: get_inverse = staticmethod(_base.GMathMatrix4x4d_get_inverse) else: get_inverse = _base.GMathMatrix4x4d_get_inverse def invert(self): return _base.GMathMatrix4x4d_invert(self) def transpose(self, *args): return _base.GMathMatrix4x4d_transpose(self, *args) def extract_translation(self, *args): return _base.GMathMatrix4x4d_extract_translation(self, *args) def compute_euler_angles(self, *args): return _base.GMathMatrix4x4d_compute_euler_angles(self, *args) def decompose(self, *args): return _base.GMathMatrix4x4d_decompose(self, *args) def extract_rotation(self, r): return _base.GMathMatrix4x4d_extract_rotation(self, r) def extract_frame(self, x, y, z): return _base.GMathMatrix4x4d_extract_frame(self, x, y, z) def extract_shearing(self, shear): return _base.GMathMatrix4x4d_extract_shearing(self, shear) def extract_scaling(self, scale): return _base.GMathMatrix4x4d_extract_scaling(self, scale) def make_orthonormal(self): return _base.GMathMatrix4x4d_make_orthonormal(self) if _newclass: get_determinant = staticmethod(_base.GMathMatrix4x4d_get_determinant) else: get_determinant = _base.GMathMatrix4x4d_get_determinant def set_item(self, x, y, value): return _base.GMathMatrix4x4d_set_item(self, x, y, value) def fast_interpolate(self, *args): return _base.GMathMatrix4x4d_fast_interpolate(self, *args) def equals(self, *args): return _base.GMathMatrix4x4d_equals(self, *args) def is_finite(self): return _base.GMathMatrix4x4d_is_finite(self) def get_class_info(self): return _base.GMathMatrix4x4d_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4d_class_info) else: class_info = _base.GMathMatrix4x4d_class_info if _newclass: register_methods = staticmethod(_base.GMathMatrix4x4d_register_methods) else: register_methods = _base.GMathMatrix4x4d_register_methods if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4d____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4d____class_destructor__ if _newclass: multiply = staticmethod(_base.GMathMatrix4x4d_multiply) else: multiply = _base.GMathMatrix4x4d_multiply if _newclass: multiply_transpose = staticmethod(_base.GMathMatrix4x4d_multiply_transpose) else: multiply_transpose = _base.GMathMatrix4x4d_multiply_transpose def __repr__(self): return _base.GMathMatrix4x4d___repr__(self) def get_item(self, *args): return _base.GMathMatrix4x4d_get_item(self, *args) __swig_destroy__ = _base.delete_GMathMatrix4x4d __del__ = lambda self: None GMathMatrix4x4d_swigregister = _base.GMathMatrix4x4d_swigregister GMathMatrix4x4d_swigregister(GMathMatrix4x4d) def GMathMatrix4x4d_get_identity(): return _base.GMathMatrix4x4d_get_identity() GMathMatrix4x4d_get_identity = _base.GMathMatrix4x4d_get_identity def GMathMatrix4x4d_get_inverse(m, result): return _base.GMathMatrix4x4d_get_inverse(m, result) GMathMatrix4x4d_get_inverse = _base.GMathMatrix4x4d_get_inverse def GMathMatrix4x4d_get_determinant(*args): return _base.GMathMatrix4x4d_get_determinant(*args) GMathMatrix4x4d_get_determinant = _base.GMathMatrix4x4d_get_determinant def GMathMatrix4x4d_class_info(): return _base.GMathMatrix4x4d_class_info() GMathMatrix4x4d_class_info = _base.GMathMatrix4x4d_class_info def GMathMatrix4x4d_register_methods(cls): return _base.GMathMatrix4x4d_register_methods(cls) GMathMatrix4x4d_register_methods = _base.GMathMatrix4x4d_register_methods def GMathMatrix4x4d____class_destructor__(instance, is_array): return _base.GMathMatrix4x4d____class_destructor__(instance, is_array) GMathMatrix4x4d____class_destructor__ = _base.GMathMatrix4x4d____class_destructor__ def GMathMatrix4x4d_multiply(*args): return _base.GMathMatrix4x4d_multiply(*args) GMathMatrix4x4d_multiply = _base.GMathMatrix4x4d_multiply def GMathMatrix4x4d_multiply_transpose(*args): return _base.GMathMatrix4x4d_multiply_transpose(*args) GMathMatrix4x4d_multiply_transpose = _base.GMathMatrix4x4d_multiply_transpose class GMathMatrix3x3dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathMatrix3x3dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathMatrix3x3dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix3x3dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathMatrix3x3dBasicArray_get_count(self) def get_item(self, index): return _base.GMathMatrix3x3dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathMatrix3x3dBasicArray_set_item(self, index, item) def front(self): return _base.GMathMatrix3x3dBasicArray_front(self) def back(self): return _base.GMathMatrix3x3dBasicArray_back(self) def exists(self, item): return _base.GMathMatrix3x3dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathMatrix3x3dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathMatrix3x3dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathMatrix3x3dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathMatrix3x3dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathMatrix3x3dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathMatrix3x3dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3dBasicArray_class_info) else: class_info = _base.GMathMatrix3x3dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathMatrix3x3dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathMatrix3x3dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathMatrix3x3dBasicArray_swigregister = _base.GMathMatrix3x3dBasicArray_swigregister GMathMatrix3x3dBasicArray_swigregister(GMathMatrix3x3dBasicArray) def GMathMatrix3x3dBasicArray_class_info(): return _base.GMathMatrix3x3dBasicArray_class_info() GMathMatrix3x3dBasicArray_class_info = _base.GMathMatrix3x3dBasicArray_class_info def GMathMatrix3x3dBasicArray____class_destructor__(instance, is_array): return _base.GMathMatrix3x3dBasicArray____class_destructor__(instance, is_array) GMathMatrix3x3dBasicArray____class_destructor__ = _base.GMathMatrix3x3dBasicArray____class_destructor__ class GMathMatrix3x3dArray(GMathMatrix3x3dBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix3x3dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3dArray, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix3x3dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix3x3dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix3x3dArray __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix3x3dArray_append(self, *args) def get_count(self): return _base.GMathMatrix3x3dArray_get_count(self) def remove_all(self): return _base.GMathMatrix3x3dArray_remove_all(self) def resize(self, *args): return _base.GMathMatrix3x3dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathMatrix3x3dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix3x3dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix3x3dArray_get_list(self, list) def set_list(self, list): return _base.GMathMatrix3x3dArray_set_list(self, list) def get_memory_size(self): return _base.GMathMatrix3x3dArray_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix3x3dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3dArray_class_info) else: class_info = _base.GMathMatrix3x3dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3dArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3dArray____class_destructor__ GMathMatrix3x3dArray_swigregister = _base.GMathMatrix3x3dArray_swigregister GMathMatrix3x3dArray_swigregister(GMathMatrix3x3dArray) def GMathMatrix3x3dArray_class_info(): return _base.GMathMatrix3x3dArray_class_info() GMathMatrix3x3dArray_class_info = _base.GMathMatrix3x3dArray_class_info def GMathMatrix3x3dArray____class_destructor__(instance, is_array): return _base.GMathMatrix3x3dArray____class_destructor__(instance, is_array) GMathMatrix3x3dArray____class_destructor__ = _base.GMathMatrix3x3dArray____class_destructor__ class GMathMatrix3x3dVector(GMathMatrix3x3dBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix3x3dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix3x3dVector, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix3x3dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix3x3dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix3x3dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix3x3dVector __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix3x3dVector_append(self, *args) def add(self, element): return _base.GMathMatrix3x3dVector_add(self, element) def insert(self, element, index): return _base.GMathMatrix3x3dVector_insert(self, element, index) def remove_last(self): return _base.GMathMatrix3x3dVector_remove_last(self) def empty(self): return _base.GMathMatrix3x3dVector_empty(self) def remove_all(self): return _base.GMathMatrix3x3dVector_remove_all(self) def clear(self, *args): return _base.GMathMatrix3x3dVector_clear(self, *args) def remove(self, *args): return _base.GMathMatrix3x3dVector_remove(self, *args) def is_empty(self): return _base.GMathMatrix3x3dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathMatrix3x3dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathMatrix3x3dVector_remove_items(self, item) def get_count(self): return _base.GMathMatrix3x3dVector_get_count(self) def get_capacity(self): return _base.GMathMatrix3x3dVector_get_capacity(self) def set_count(self, *args): return _base.GMathMatrix3x3dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathMatrix3x3dVector_set_capacity(self, *args) def refit(self): return _base.GMathMatrix3x3dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathMatrix3x3dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathMatrix3x3dVector_resize(self, *args) def reserve(self, *args): return _base.GMathMatrix3x3dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathMatrix3x3dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix3x3dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix3x3dVector_get_list(self, list) def set_list(self, list): return _base.GMathMatrix3x3dVector_set_list(self, list) def get_array(self, array): return _base.GMathMatrix3x3dVector_get_array(self, array) def set_array(self, array): return _base.GMathMatrix3x3dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathMatrix3x3dVector_move(self, arg2, to) def item(self, index): return _base.GMathMatrix3x3dVector_item(self, index) def get_memory_size(self): return _base.GMathMatrix3x3dVector_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix3x3dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix3x3dVector_class_info) else: class_info = _base.GMathMatrix3x3dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix3x3dVector____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix3x3dVector____class_destructor__ GMathMatrix3x3dVector_swigregister = _base.GMathMatrix3x3dVector_swigregister GMathMatrix3x3dVector_swigregister(GMathMatrix3x3dVector) def GMathMatrix3x3dVector_class_info(): return _base.GMathMatrix3x3dVector_class_info() GMathMatrix3x3dVector_class_info = _base.GMathMatrix3x3dVector_class_info def GMathMatrix3x3dVector____class_destructor__(instance, is_array): return _base.GMathMatrix3x3dVector____class_destructor__(instance, is_array) GMathMatrix3x3dVector____class_destructor__ = _base.GMathMatrix3x3dVector____class_destructor__ class GMathMatrix4x4dBasicArray(CoreBaseType): __swig_setmethods__ = {} for _s in [CoreBaseType]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4dBasicArray, name, value) __swig_getmethods__ = {} for _s in [CoreBaseType]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4dBasicArray, name) __repr__ = _swig_repr INVALID_INDEX = _base.GMathMatrix4x4dBasicArray_INVALID_INDEX def __init__(self, *args): this = _base.new_GMathMatrix4x4dBasicArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix4x4dBasicArray __del__ = lambda self: None def get_count(self): return _base.GMathMatrix4x4dBasicArray_get_count(self) def get_item(self, index): return _base.GMathMatrix4x4dBasicArray_get_item(self, index) def set_item(self, index, item): return _base.GMathMatrix4x4dBasicArray_set_item(self, index, item) def front(self): return _base.GMathMatrix4x4dBasicArray_front(self) def back(self): return _base.GMathMatrix4x4dBasicArray_back(self) def exists(self, item): return _base.GMathMatrix4x4dBasicArray_exists(self, item) def get_index(self, item): return _base.GMathMatrix4x4dBasicArray_get_index(self, item) def sub(self, index, count): return _base.GMathMatrix4x4dBasicArray_sub(self, index, count) def get_memory_size(self): return _base.GMathMatrix4x4dBasicArray_get_memory_size(self) def begin(self, *args): return _base.GMathMatrix4x4dBasicArray_begin(self, *args) def end(self, *args): return _base.GMathMatrix4x4dBasicArray_end(self, *args) def get_class_info(self): return _base.GMathMatrix4x4dBasicArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4dBasicArray_class_info) else: class_info = _base.GMathMatrix4x4dBasicArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4dBasicArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4dBasicArray____class_destructor__ def __setitem__(self, index, value): return _base.GMathMatrix4x4dBasicArray___setitem__(self, index, value) def __len__(self): return _base.GMathMatrix4x4dBasicArray___len__(self) def __getitem__(self, index): if (index < self.get_count()): return self.get_item(index) else: raise IndexError("The index (" + str(index) + ") is out of range") def __nonzero__(self): return True GMathMatrix4x4dBasicArray_swigregister = _base.GMathMatrix4x4dBasicArray_swigregister GMathMatrix4x4dBasicArray_swigregister(GMathMatrix4x4dBasicArray) def GMathMatrix4x4dBasicArray_class_info(): return _base.GMathMatrix4x4dBasicArray_class_info() GMathMatrix4x4dBasicArray_class_info = _base.GMathMatrix4x4dBasicArray_class_info def GMathMatrix4x4dBasicArray____class_destructor__(instance, is_array): return _base.GMathMatrix4x4dBasicArray____class_destructor__(instance, is_array) GMathMatrix4x4dBasicArray____class_destructor__ = _base.GMathMatrix4x4dBasicArray____class_destructor__ class GMathMatrix4x4dArray(GMathMatrix4x4dBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix4x4dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4dArray, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix4x4dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4dArray, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix4x4dArray(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix4x4dArray __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix4x4dArray_append(self, *args) def get_count(self): return _base.GMathMatrix4x4dArray_get_count(self) def remove_all(self): return _base.GMathMatrix4x4dArray_remove_all(self) def resize(self, *args): return _base.GMathMatrix4x4dArray_resize(self, *args) def copy_from(self, *args): return _base.GMathMatrix4x4dArray_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix4x4dArray_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix4x4dArray_get_list(self, list) def set_list(self, list): return _base.GMathMatrix4x4dArray_set_list(self, list) def get_memory_size(self): return _base.GMathMatrix4x4dArray_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix4x4dArray_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4dArray_class_info) else: class_info = _base.GMathMatrix4x4dArray_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4dArray____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4dArray____class_destructor__ GMathMatrix4x4dArray_swigregister = _base.GMathMatrix4x4dArray_swigregister GMathMatrix4x4dArray_swigregister(GMathMatrix4x4dArray) def GMathMatrix4x4dArray_class_info(): return _base.GMathMatrix4x4dArray_class_info() GMathMatrix4x4dArray_class_info = _base.GMathMatrix4x4dArray_class_info def GMathMatrix4x4dArray____class_destructor__(instance, is_array): return _base.GMathMatrix4x4dArray____class_destructor__(instance, is_array) GMathMatrix4x4dArray____class_destructor__ = _base.GMathMatrix4x4dArray____class_destructor__ class GMathMatrix4x4dVector(GMathMatrix4x4dBasicArray): __swig_setmethods__ = {} for _s in [GMathMatrix4x4dBasicArray]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, GMathMatrix4x4dVector, name, value) __swig_getmethods__ = {} for _s in [GMathMatrix4x4dBasicArray]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, GMathMatrix4x4dVector, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_GMathMatrix4x4dVector(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_GMathMatrix4x4dVector __del__ = lambda self: None def append(self, *args): return _base.GMathMatrix4x4dVector_append(self, *args) def add(self, element): return _base.GMathMatrix4x4dVector_add(self, element) def insert(self, element, index): return _base.GMathMatrix4x4dVector_insert(self, element, index) def remove_last(self): return _base.GMathMatrix4x4dVector_remove_last(self) def empty(self): return _base.GMathMatrix4x4dVector_empty(self) def remove_all(self): return _base.GMathMatrix4x4dVector_remove_all(self) def clear(self, *args): return _base.GMathMatrix4x4dVector_clear(self, *args) def remove(self, *args): return _base.GMathMatrix4x4dVector_remove(self, *args) def is_empty(self): return _base.GMathMatrix4x4dVector_is_empty(self) def remove_item(self, item, preserve_order): return _base.GMathMatrix4x4dVector_remove_item(self, item, preserve_order) def remove_items(self, item): return _base.GMathMatrix4x4dVector_remove_items(self, item) def get_count(self): return _base.GMathMatrix4x4dVector_get_count(self) def get_capacity(self): return _base.GMathMatrix4x4dVector_get_capacity(self) def set_count(self, *args): return _base.GMathMatrix4x4dVector_set_count(self, *args) def set_capacity(self, *args): return _base.GMathMatrix4x4dVector_set_capacity(self, *args) def refit(self): return _base.GMathMatrix4x4dVector_refit(self) def swap(self, swap_v1, swap_v2): return _base.GMathMatrix4x4dVector_swap(self, swap_v1, swap_v2) def resize(self, *args): return _base.GMathMatrix4x4dVector_resize(self, *args) def reserve(self, *args): return _base.GMathMatrix4x4dVector_reserve(self, *args) def copy_from(self, *args): return _base.GMathMatrix4x4dVector_copy_from(self, *args) def copy_to(self, dest): return _base.GMathMatrix4x4dVector_copy_to(self, dest) def get_list(self, list): return _base.GMathMatrix4x4dVector_get_list(self, list) def set_list(self, list): return _base.GMathMatrix4x4dVector_set_list(self, list) def get_array(self, array): return _base.GMathMatrix4x4dVector_get_array(self, array) def set_array(self, array): return _base.GMathMatrix4x4dVector_set_array(self, array) def move(self, arg2, to): return _base.GMathMatrix4x4dVector_move(self, arg2, to) def item(self, index): return _base.GMathMatrix4x4dVector_item(self, index) def get_memory_size(self): return _base.GMathMatrix4x4dVector_get_memory_size(self) def get_class_info(self): return _base.GMathMatrix4x4dVector_get_class_info(self) if _newclass: class_info = staticmethod(_base.GMathMatrix4x4dVector_class_info) else: class_info = _base.GMathMatrix4x4dVector_class_info if _newclass: ___class_destructor__ = staticmethod(_base.GMathMatrix4x4dVector____class_destructor__) else: ___class_destructor__ = _base.GMathMatrix4x4dVector____class_destructor__ GMathMatrix4x4dVector_swigregister = _base.GMathMatrix4x4dVector_swigregister GMathMatrix4x4dVector_swigregister(GMathMatrix4x4dVector) def GMathMatrix4x4dVector_class_info(): return _base.GMathMatrix4x4dVector_class_info() GMathMatrix4x4dVector_class_info = _base.GMathMatrix4x4dVector_class_info def GMathMatrix4x4dVector____class_destructor__(instance, is_array): return _base.GMathMatrix4x4dVector____class_destructor__(instance, is_array) GMathMatrix4x4dVector____class_destructor__ = _base.GMathMatrix4x4dVector____class_destructor__ class EventObject(CoreCustomData): __swig_setmethods__ = {} for _s in [CoreCustomData]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, EventObject, name, value) __swig_getmethods__ = {} for _s in [CoreCustomData]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, EventObject, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_EventObject(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_EventObject __del__ = lambda self: None def disconnect_all(self, *args): return _base.EventObject_disconnect_all(self, *args) def remove_all_connection(self): return _base.EventObject_remove_all_connection(self) def is_connected(self, sender, event_id, data): return _base.EventObject_is_connected(self, sender, event_id, data) def set_mute(self, mute): return _base.EventObject_set_mute(self, mute) def is_mute(self): return _base.EventObject_is_mute(self) if _newclass: raise_event = staticmethod(_base.EventObject_raise_event) else: raise_event = _base.EventObject_raise_event def disconnect(self, *args): return _base.EventObject_disconnect(self, *args) def get_sender_count(self): return _base.EventObject_get_sender_count(self) def get_receiver_count(self): return _base.EventObject_get_receiver_count(self) def get_memory_size(self): return _base.EventObject_get_memory_size(self) if _newclass: class_info = staticmethod(_base.EventObject_class_info) else: class_info = _base.EventObject_class_info if _newclass: ___class_destructor__ = staticmethod(_base.EventObject____class_destructor__) else: ___class_destructor__ = _base.EventObject____class_destructor__ def get_class_info(self): return _base.EventObject_get_class_info(self) def __event_object_callback_wrapper__(self, sender, evtid, method): return _base.EventObject___event_object_callback_wrapper__(self, sender, evtid, method) def connect(self, sender, eventid, method): if not issubclass(sender.__class__, EventObject): raise TypeError('The specified sender should inherit from EventObject.') if isinstance(eventid, basestring) == False: raise TypeError('The specified eventid should be a string.') if getattr(method, '__call__') == None or issubclass(getattr(method, 'im_class'), self.__class__) == False: raise TypeError('The specified method should be a method of class ' + self.__class__.__name__ + '.') if getattr(self.__class__, method.__name__).func_code.co_argcount != 3: raise TypeError('The specified method prototype mismatch, expecting:\ndef method(self, sender, eventid).') self.__event_object_callback_wrapper__(sender, eventid, method) EventObject_swigregister = _base.EventObject_swigregister EventObject_swigregister(EventObject) EVT_ID_DESTROY = cvar.EVT_ID_DESTROY def EventObject_raise_event(*args): return _base.EventObject_raise_event(*args) EventObject_raise_event = _base.EventObject_raise_event def EventObject_class_info(): return _base.EventObject_class_info() EventObject_class_info = _base.EventObject_class_info def EventObject____class_destructor__(instance, is_array): return _base.EventObject____class_destructor__(instance, is_array) EventObject____class_destructor__ = _base.EventObject____class_destructor__ class PyEventObjectHandler(EventObject): __swig_setmethods__ = {} for _s in [EventObject]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PyEventObjectHandler, name, value) __swig_getmethods__ = {} for _s in [EventObject]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PyEventObjectHandler, name) __repr__ = _swig_repr def __init__(self): this = _base.new_PyEventObjectHandler() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_PyEventObjectHandler __del__ = lambda self: None def cleanup(self): return _base.PyEventObjectHandler_cleanup(self) PyEventObjectHandler_swigregister = _base.PyEventObjectHandler_swigregister PyEventObjectHandler_swigregister(PyEventObjectHandler) class SysStatMemory(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatMemory, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatMemory, name) __repr__ = _swig_repr __swig_setmethods__["total"] = _base.SysStatMemory_total_set __swig_getmethods__["total"] = _base.SysStatMemory_total_get if _newclass: total = _swig_property(_base.SysStatMemory_total_get, _base.SysStatMemory_total_set) __swig_setmethods__["peak"] = _base.SysStatMemory_peak_set __swig_getmethods__["peak"] = _base.SysStatMemory_peak_get if _newclass: peak = _swig_property(_base.SysStatMemory_peak_get, _base.SysStatMemory_peak_set) __swig_setmethods__["unaccounted"] = _base.SysStatMemory_unaccounted_set __swig_getmethods__["unaccounted"] = _base.SysStatMemory_unaccounted_get if _newclass: unaccounted = _swig_property(_base.SysStatMemory_unaccounted_get, _base.SysStatMemory_unaccounted_set) __swig_setmethods__["free"] = _base.SysStatMemory_free_set __swig_getmethods__["free"] = _base.SysStatMemory_free_get if _newclass: free = _swig_property(_base.SysStatMemory_free_get, _base.SysStatMemory_free_set) def __init__(self): this = _base.new_SysStatMemory() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatMemory __del__ = lambda self: None SysStatMemory_swigregister = _base.SysStatMemory_swigregister SysStatMemory_swigregister(SysStatMemory) class SysStatApplication(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatApplication, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatApplication, name) __repr__ = _swig_repr __swig_setmethods__["core"] = _base.SysStatApplication_core_set __swig_getmethods__["core"] = _base.SysStatApplication_core_get if _newclass: core = _swig_property(_base.SysStatApplication_core_get, _base.SysStatApplication_core_set) __swig_setmethods__["image_history"] = _base.SysStatApplication_image_history_set __swig_getmethods__["image_history"] = _base.SysStatApplication_image_history_get if _newclass: image_history = _swig_property(_base.SysStatApplication_image_history_get, _base.SysStatApplication_image_history_set) __swig_setmethods__["widgets"] = _base.SysStatApplication_widgets_set __swig_getmethods__["widgets"] = _base.SysStatApplication_widgets_get if _newclass: widgets = _swig_property(_base.SysStatApplication_widgets_get, _base.SysStatApplication_widgets_set) __swig_setmethods__["total"] = _base.SysStatApplication_total_set __swig_getmethods__["total"] = _base.SysStatApplication_total_get if _newclass: total = _swig_property(_base.SysStatApplication_total_get, _base.SysStatApplication_total_set) def __init__(self): this = _base.new_SysStatApplication() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatApplication __del__ = lambda self: None SysStatApplication_swigregister = _base.SysStatApplication_swigregister SysStatApplication_swigregister(SysStatApplication) class SysStatSceneMemory(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatSceneMemory, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatSceneMemory, name) __repr__ = _swig_repr __swig_setmethods__["total"] = _base.SysStatSceneMemory_total_set __swig_getmethods__["total"] = _base.SysStatSceneMemory_total_get if _newclass: total = _swig_property(_base.SysStatSceneMemory_total_get, _base.SysStatSceneMemory_total_set) __swig_setmethods__["factory"] = _base.SysStatSceneMemory_factory_set __swig_getmethods__["factory"] = _base.SysStatSceneMemory_factory_get if _newclass: factory = _swig_property(_base.SysStatSceneMemory_factory_get, _base.SysStatSceneMemory_factory_set) __swig_setmethods__["objects"] = _base.SysStatSceneMemory_objects_set __swig_getmethods__["objects"] = _base.SysStatSceneMemory_objects_get if _newclass: objects = _swig_property(_base.SysStatSceneMemory_objects_get, _base.SysStatSceneMemory_objects_set) __swig_setmethods__["attributes"] = _base.SysStatSceneMemory_attributes_set __swig_getmethods__["attributes"] = _base.SysStatSceneMemory_attributes_get if _newclass: attributes = _swig_property(_base.SysStatSceneMemory_attributes_get, _base.SysStatSceneMemory_attributes_set) __swig_setmethods__["modules"] = _base.SysStatSceneMemory_modules_set __swig_getmethods__["modules"] = _base.SysStatSceneMemory_modules_get if _newclass: modules = _swig_property(_base.SysStatSceneMemory_modules_get, _base.SysStatSceneMemory_modules_set) def __init__(self): this = _base.new_SysStatSceneMemory() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatSceneMemory __del__ = lambda self: None SysStatSceneMemory_swigregister = _base.SysStatSceneMemory_swigregister SysStatSceneMemory_swigregister(SysStatSceneMemory) class SysStatSceneCount(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatSceneCount, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatSceneCount, name) __repr__ = _swig_repr __swig_setmethods__["objects"] = _base.SysStatSceneCount_objects_set __swig_getmethods__["objects"] = _base.SysStatSceneCount_objects_get if _newclass: objects = _swig_property(_base.SysStatSceneCount_objects_get, _base.SysStatSceneCount_objects_set) __swig_setmethods__["attributes"] = _base.SysStatSceneCount_attributes_set __swig_getmethods__["attributes"] = _base.SysStatSceneCount_attributes_get if _newclass: attributes = _swig_property(_base.SysStatSceneCount_attributes_get, _base.SysStatSceneCount_attributes_set) __swig_setmethods__["local_attributes"] = _base.SysStatSceneCount_local_attributes_set __swig_getmethods__["local_attributes"] = _base.SysStatSceneCount_local_attributes_get if _newclass: local_attributes = _swig_property(_base.SysStatSceneCount_local_attributes_get, _base.SysStatSceneCount_local_attributes_set) __swig_setmethods__["values"] = _base.SysStatSceneCount_values_set __swig_getmethods__["values"] = _base.SysStatSceneCount_values_get if _newclass: values = _swig_property(_base.SysStatSceneCount_values_get, _base.SysStatSceneCount_values_set) def __init__(self): this = _base.new_SysStatSceneCount() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatSceneCount __del__ = lambda self: None SysStatSceneCount_swigregister = _base.SysStatSceneCount_swigregister SysStatSceneCount_swigregister(SysStatSceneCount) class SysStatScene(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatScene, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatScene, name) __repr__ = _swig_repr __swig_setmethods__["memory"] = _base.SysStatScene_memory_set __swig_getmethods__["memory"] = _base.SysStatScene_memory_get if _newclass: memory = _swig_property(_base.SysStatScene_memory_get, _base.SysStatScene_memory_set) __swig_setmethods__["count"] = _base.SysStatScene_count_set __swig_getmethods__["count"] = _base.SysStatScene_count_get if _newclass: count = _swig_property(_base.SysStatScene_count_get, _base.SysStatScene_count_set) def __init__(self): this = _base.new_SysStatScene() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatScene __del__ = lambda self: None SysStatScene_swigregister = _base.SysStatScene_swigregister SysStatScene_swigregister(SysStatScene) class SysStatResourceMemory(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatResourceMemory, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatResourceMemory, name) __repr__ = _swig_repr __swig_setmethods__["total"] = _base.SysStatResourceMemory_total_set __swig_getmethods__["total"] = _base.SysStatResourceMemory_total_get if _newclass: total = _swig_property(_base.SysStatResourceMemory_total_get, _base.SysStatResourceMemory_total_set) __swig_setmethods__["texture_cache"] = _base.SysStatResourceMemory_texture_cache_set __swig_getmethods__["texture_cache"] = _base.SysStatResourceMemory_texture_cache_get if _newclass: texture_cache = _swig_property(_base.SysStatResourceMemory_texture_cache_get, _base.SysStatResourceMemory_texture_cache_set) __swig_setmethods__["streamed_texture_cache"] = _base.SysStatResourceMemory_streamed_texture_cache_set __swig_getmethods__["streamed_texture_cache"] = _base.SysStatResourceMemory_streamed_texture_cache_get if _newclass: streamed_texture_cache = _swig_property(_base.SysStatResourceMemory_streamed_texture_cache_get, _base.SysStatResourceMemory_streamed_texture_cache_set) __swig_setmethods__["geometries"] = _base.SysStatResourceMemory_geometries_set __swig_getmethods__["geometries"] = _base.SysStatResourceMemory_geometries_get if _newclass: geometries = _swig_property(_base.SysStatResourceMemory_geometries_get, _base.SysStatResourceMemory_geometries_set) __swig_setmethods__["accels"] = _base.SysStatResourceMemory_accels_set __swig_getmethods__["accels"] = _base.SysStatResourceMemory_accels_get if _newclass: accels = _swig_property(_base.SysStatResourceMemory_accels_get, _base.SysStatResourceMemory_accels_set) __swig_setmethods__["images"] = _base.SysStatResourceMemory_images_set __swig_getmethods__["images"] = _base.SysStatResourceMemory_images_get if _newclass: images = _swig_property(_base.SysStatResourceMemory_images_get, _base.SysStatResourceMemory_images_set) __swig_setmethods__["empty"] = _base.SysStatResourceMemory_empty_set __swig_getmethods__["empty"] = _base.SysStatResourceMemory_empty_get if _newclass: empty = _swig_property(_base.SysStatResourceMemory_empty_get, _base.SysStatResourceMemory_empty_set) __swig_setmethods__["misc"] = _base.SysStatResourceMemory_misc_set __swig_getmethods__["misc"] = _base.SysStatResourceMemory_misc_get if _newclass: misc = _swig_property(_base.SysStatResourceMemory_misc_get, _base.SysStatResourceMemory_misc_set) def __init__(self): this = _base.new_SysStatResourceMemory() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatResourceMemory __del__ = lambda self: None SysStatResourceMemory_swigregister = _base.SysStatResourceMemory_swigregister SysStatResourceMemory_swigregister(SysStatResourceMemory) class SysStatResourceCount(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatResourceCount, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatResourceCount, name) __repr__ = _swig_repr __swig_setmethods__["total"] = _base.SysStatResourceCount_total_set __swig_getmethods__["total"] = _base.SysStatResourceCount_total_get if _newclass: total = _swig_property(_base.SysStatResourceCount_total_get, _base.SysStatResourceCount_total_set) __swig_setmethods__["geometries"] = _base.SysStatResourceCount_geometries_set __swig_getmethods__["geometries"] = _base.SysStatResourceCount_geometries_get if _newclass: geometries = _swig_property(_base.SysStatResourceCount_geometries_get, _base.SysStatResourceCount_geometries_set) __swig_setmethods__["accels"] = _base.SysStatResourceCount_accels_set __swig_getmethods__["accels"] = _base.SysStatResourceCount_accels_get if _newclass: accels = _swig_property(_base.SysStatResourceCount_accels_get, _base.SysStatResourceCount_accels_set) __swig_setmethods__["images"] = _base.SysStatResourceCount_images_set __swig_getmethods__["images"] = _base.SysStatResourceCount_images_get if _newclass: images = _swig_property(_base.SysStatResourceCount_images_get, _base.SysStatResourceCount_images_set) __swig_setmethods__["empty"] = _base.SysStatResourceCount_empty_set __swig_getmethods__["empty"] = _base.SysStatResourceCount_empty_get if _newclass: empty = _swig_property(_base.SysStatResourceCount_empty_get, _base.SysStatResourceCount_empty_set) __swig_setmethods__["misc"] = _base.SysStatResourceCount_misc_set __swig_getmethods__["misc"] = _base.SysStatResourceCount_misc_get if _newclass: misc = _swig_property(_base.SysStatResourceCount_misc_get, _base.SysStatResourceCount_misc_set) def __init__(self): this = _base.new_SysStatResourceCount() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatResourceCount __del__ = lambda self: None SysStatResourceCount_swigregister = _base.SysStatResourceCount_swigregister SysStatResourceCount_swigregister(SysStatResourceCount) class SysStatResource(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatResource, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatResource, name) __repr__ = _swig_repr __swig_setmethods__["memory"] = _base.SysStatResource_memory_set __swig_getmethods__["memory"] = _base.SysStatResource_memory_get if _newclass: memory = _swig_property(_base.SysStatResource_memory_get, _base.SysStatResource_memory_set) __swig_setmethods__["count"] = _base.SysStatResource_count_set __swig_getmethods__["count"] = _base.SysStatResource_count_get if _newclass: count = _swig_property(_base.SysStatResource_count_get, _base.SysStatResource_count_set) def __init__(self): this = _base.new_SysStatResource() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatResource __del__ = lambda self: None SysStatResource_swigregister = _base.SysStatResource_swigregister SysStatResource_swigregister(SysStatResource) class SysStatLiteResource(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatLiteResource, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatLiteResource, name) __repr__ = _swig_repr __swig_setmethods__["memory"] = _base.SysStatLiteResource_memory_set __swig_getmethods__["memory"] = _base.SysStatLiteResource_memory_get if _newclass: memory = _swig_property(_base.SysStatLiteResource_memory_get, _base.SysStatLiteResource_memory_set) __swig_setmethods__["count"] = _base.SysStatLiteResource_count_set __swig_getmethods__["count"] = _base.SysStatLiteResource_count_get if _newclass: count = _swig_property(_base.SysStatLiteResource_count_get, _base.SysStatLiteResource_count_set) def __init__(self): this = _base.new_SysStatLiteResource() try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_SysStatLiteResource __del__ = lambda self: None SysStatLiteResource_swigregister = _base.SysStatLiteResource_swigregister SysStatLiteResource_swigregister(SysStatLiteResource) class SysStatistic(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SysStatistic, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SysStatistic, name) __repr__ = _swig_repr __swig_setmethods__["memory"] = _base.SysStatistic_memory_set __swig_getmethods__["memory"] = _base.SysStatistic_memory_get if _newclass: memory = _swig_property(_base.SysStatistic_memory_get, _base.SysStatistic_memory_set) __swig_setmethods__["application"] = _base.SysStatistic_application_set __swig_getmethods__["application"] = _base.SysStatistic_application_get if _newclass: application = _swig_property(_base.SysStatistic_application_get, _base.SysStatistic_application_set) __swig_setmethods__["scene"] = _base.SysStatistic_scene_set __swig_getmethods__["scene"] = _base.SysStatistic_scene_get if _newclass: scene = _swig_property(_base.SysStatistic_scene_get, _base.SysStatistic_scene_set) __swig_setmethods__["resource"] = _base.SysStatistic_resource_set __swig_getmethods__["resource"] = _base.SysStatistic_resource_get if _newclass: resource = _swig_property(_base.SysStatistic_resource_get, _base.SysStatistic_resource_set) __swig_setmethods__["lite_resource"] = _base.SysStatistic_lite_resource_set __swig_getmethods__["lite_resource"] = _base.SysStatistic_lite_resource_get if _newclass: lite_resource = _swig_property(_base.SysStatistic_lite_resource_get, _base.SysStatistic_lite_resource_set) def __init__(self): this = _base.new_SysStatistic() try: self.this.append(this) except __builtin__.Exception: self.this = this def get_digest(self): return _base.SysStatistic_get_digest(self) if _newclass: get_readable_size = staticmethod(_base.SysStatistic_get_readable_size) else: get_readable_size = _base.SysStatistic_get_readable_size __swig_destroy__ = _base.delete_SysStatistic __del__ = lambda self: None SysStatistic_swigregister = _base.SysStatistic_swigregister SysStatistic_swigregister(SysStatistic) def SysStatistic_get_readable_size(size): return _base.SysStatistic_get_readable_size(size) SysStatistic_get_readable_size = _base.SysStatistic_get_readable_size class ParserEntry(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ParserEntry, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ParserEntry, name) __repr__ = _swig_repr TYPE_REGULAR = _base.ParserEntry_TYPE_REGULAR TYPE_KEYWORD = _base.ParserEntry_TYPE_KEYWORD TYPE_FUNCTION = _base.ParserEntry_TYPE_FUNCTION TYPE_RAW_TEXT = _base.ParserEntry_TYPE_RAW_TEXT def __init__(self, *args): this = _base.new_ParserEntry(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ParserEntry __del__ = lambda self: None def copy_from(self, entry): return _base.ParserEntry_copy_from(self, entry) def get_name(self): return _base.ParserEntry_get_name(self) def rename(self, name): return _base.ParserEntry_rename(self, name) def get_line(self): return _base.ParserEntry_get_line(self) def get_column(self): return _base.ParserEntry_get_column(self) def get_value_count(self): return _base.ParserEntry_get_value_count(self) def get_value_type(self, index=0): return _base.ParserEntry_get_value_type(self, index) def reset(self): return _base.ParserEntry_reset(self) def is_group(self): return _base.ParserEntry_is_group(self) def get_type(self): return _base.ParserEntry_get_type(self) def is_array(self): return _base.ParserEntry_is_array(self) def set_array(self, flag, count=0): return _base.ParserEntry_set_array(self, flag, count) def get_array_count(self): return _base.ParserEntry_get_array_count(self) def is_template(self): return _base.ParserEntry_is_template(self) def set_template(self, type): return _base.ParserEntry_set_template(self, type) def get_template(self): return _base.ParserEntry_get_template(self) def set_as_raw_text(self, is_raw_text): return _base.ParserEntry_set_as_raw_text(self, is_raw_text) def is_value_bool(self, index=0): return _base.ParserEntry_is_value_bool(self, index) def is_value_char(self, index=0): return _base.ParserEntry_is_value_char(self, index) def is_value_int(self, index=0): return _base.ParserEntry_is_value_int(self, index) def is_value_double(self, index=0): return _base.ParserEntry_is_value_double(self, index) def is_value_string(self, index=0): return _base.ParserEntry_is_value_string(self, index) def is_value_group(self, index=0): return _base.ParserEntry_is_value_group(self, index) def add_bool(self, value): return _base.ParserEntry_add_bool(self, value) def add_char(self, value): return _base.ParserEntry_add_char(self, value) def add_int(self, value): return _base.ParserEntry_add_int(self, value) def add_double(self, value): return _base.ParserEntry_add_double(self, value) def add_vec2i(self, value): return _base.ParserEntry_add_vec2i(self, value) def add_vec2d(self, value): return _base.ParserEntry_add_vec2d(self, value) def add_vec3d(self, value): return _base.ParserEntry_add_vec3d(self, value) def add_vec4d(self, value): return _base.ParserEntry_add_vec4d(self, value) def add_string(self, value): return _base.ParserEntry_add_string(self, value) def add_binary_data(self, data, size): return _base.ParserEntry_add_binary_data(self, data, size) def add_word(self, *args): return _base.ParserEntry_add_word(self, *args) def add_group(self, group=None): return _base.ParserEntry_add_group(self, group) def remove_value(self, *args): return _base.ParserEntry_remove_value(self, *args) def move_value(self, arg2, to): return _base.ParserEntry_move_value(self, arg2, to) def has_value(self): return _base.ParserEntry_has_value(self) def get_bool(self, index=0): return _base.ParserEntry_get_bool(self, index) def get_char(self, index=0): return _base.ParserEntry_get_char(self, index) def get_int(self, index=0): return _base.ParserEntry_get_int(self, index) def get_double(self, index=0): return _base.ParserEntry_get_double(self, index) def get_vec2i(self, index=0): return _base.ParserEntry_get_vec2i(self, index) def get_vec2d(self, index=0): return _base.ParserEntry_get_vec2d(self, index) def get_vec3d(self, index=0): return _base.ParserEntry_get_vec3d(self, index) def get_vec4d(self, index=0): return _base.ParserEntry_get_vec4d(self, index) def get_string(self, index=0): return _base.ParserEntry_get_string(self, index) def get_binary_data(self, index=0): return _base.ParserEntry_get_binary_data(self, index) def get_binary_data_size(self, index=0): return _base.ParserEntry_get_binary_data_size(self, index) def get_word(self, index=0): return _base.ParserEntry_get_word(self, index) def get_group(self, index=0): return _base.ParserEntry_get_group(self, index) def set_bool(self, value, index=0): return _base.ParserEntry_set_bool(self, value, index) def set_int(self, value, index=0): return _base.ParserEntry_set_int(self, value, index) def set_double(self, value, index=0): return _base.ParserEntry_set_double(self, value, index) def set_string(self, value, index=0): return _base.ParserEntry_set_string(self, value, index) def set_binary_data(self, data, size, index=0): return _base.ParserEntry_set_binary_data(self, data, size, index) def get_text(self, text, multiline=False, offset=1): return _base.ParserEntry_get_text(self, text, multiline, offset) def get_value_text(self, text, multiline=False, offset=1): return _base.ParserEntry_get_value_text(self, text, multiline, offset) def get_encrypted_text(self, *args): return _base.ParserEntry_get_encrypted_text(self, *args) def get_binary(self): return _base.ParserEntry_get_binary(self) def set_binary(self, buffer, position): return _base.ParserEntry_set_binary(self, buffer, position) ParserEntry_swigregister = _base.ParserEntry_swigregister ParserEntry_swigregister(ParserEntry) class ParserFile(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ParserFile, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ParserFile, name) __repr__ = _swig_repr MODE_TEXT = _base.ParserFile_MODE_TEXT MODE_BINARY = _base.ParserFile_MODE_BINARY def __init__(self, *args): this = _base.new_ParserFile(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ParserFile __del__ = lambda self: None def get_filename(self): return _base.ParserFile_get_filename(self) def set_filename(self, filename): return _base.ParserFile_set_filename(self, filename) def get_root(self): return _base.ParserFile_get_root(self) def get_text(self, text): return _base.ParserFile_get_text(self, text) def get_binary(self): return _base.ParserFile_get_binary(self) def set_binary(self, buffer): return _base.ParserFile_set_binary(self, buffer) def read(self, *args): return _base.ParserFile_read(self, *args) def write(self, *args): return _base.ParserFile_write(self, *args) def clear(self): return _base.ParserFile_clear(self) def get_search_paths(self): return _base.ParserFile_get_search_paths(self) def set_search_paths(self, paths): return _base.ParserFile_set_search_paths(self, paths) def is_encrypted(self): return _base.ParserFile_is_encrypted(self) def get_serial_version(self): return _base.ParserFile_get_serial_version(self) def get_dependencies(self): return _base.ParserFile_get_dependencies(self) ParserFile_swigregister = _base.ParserFile_swigregister ParserFile_swigregister(ParserFile) class ParserGroup(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ParserGroup, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ParserGroup, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ParserGroup(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ParserGroup __del__ = lambda self: None def add_entry(self, name, line=0, column=0): return _base.ParserGroup_add_entry(self, name, line, column) def add_group(self, name): return _base.ParserGroup_add_group(self, name) def move_entry(self, *args): return _base.ParserGroup_move_entry(self, *args) def detach_entry(self, index): return _base.ParserGroup_detach_entry(self, index) def move_entries(self, group): return _base.ParserGroup_move_entries(self, group) def remove_entry(self, name): return _base.ParserGroup_remove_entry(self, name) def get_name(self): return _base.ParserGroup_get_name(self) def get_entry_count(self): return _base.ParserGroup_get_entry_count(self) def get_entry(self, *args): return _base.ParserGroup_get_entry(self, *args) def get_entries(self, entry_name): return _base.ParserGroup_get_entries(self, entry_name) def get_keyword(self, name): return _base.ParserGroup_get_keyword(self, name) def get_text(self, text, with_header, multiline=True, offset=1): return _base.ParserGroup_get_text(self, text, with_header, multiline, offset) def set_text(self, *args): return _base.ParserGroup_set_text(self, *args) def get_encrypted_text(self, *args): return _base.ParserGroup_get_encrypted_text(self, *args) def set_encrypted_text(self, *args): return _base.ParserGroup_set_encrypted_text(self, *args) def set_source_entry(self, entry): return _base.ParserGroup_set_source_entry(self, entry) def get_source_entry(self): return _base.ParserGroup_get_source_entry(self) def get_binary(self, named): return _base.ParserGroup_get_binary(self, named) def set_binary(self, buffer, position): return _base.ParserGroup_set_binary(self, buffer, position) def set(self, group): return _base.ParserGroup_set(self, group) def clear(self): return _base.ParserGroup_clear(self) ParserGroup_swigregister = _base.ParserGroup_swigregister ParserGroup_swigregister(ParserGroup) class ParserValue(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ParserValue, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ParserValue, name) __repr__ = _swig_repr TYPE_UNKNOWN = _base.ParserValue_TYPE_UNKNOWN TYPE_GROUP = _base.ParserValue_TYPE_GROUP TYPE_BOOL = _base.ParserValue_TYPE_BOOL TYPE_CHAR = _base.ParserValue_TYPE_CHAR TYPE_INT = _base.ParserValue_TYPE_INT TYPE_DOUBLE = _base.ParserValue_TYPE_DOUBLE TYPE_STRING = _base.ParserValue_TYPE_STRING TYPE_BINARY_DATA = _base.ParserValue_TYPE_BINARY_DATA TYPE_WORD = _base.ParserValue_TYPE_WORD if _newclass: get_type_name = staticmethod(_base.ParserValue_get_type_name) else: get_type_name = _base.ParserValue_get_type_name def __init__(self, *args): this = _base.new_ParserValue(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ParserValue __del__ = lambda self: None def set_bool(self, value): return _base.ParserValue_set_bool(self, value) def set_char(self, value): return _base.ParserValue_set_char(self, value) def set_int(self, value): return _base.ParserValue_set_int(self, value) def set_double(self, value): return _base.ParserValue_set_double(self, value) def set_string(self, value): return _base.ParserValue_set_string(self, value) def set_binary_data(self, data, size): return _base.ParserValue_set_binary_data(self, data, size) def get_as_bool(self): return _base.ParserValue_get_as_bool(self) def get_as_char(self): return _base.ParserValue_get_as_char(self) def get_as_int(self): return _base.ParserValue_get_as_int(self) def get_as_double(self): return _base.ParserValue_get_as_double(self) def get_as_binary_data(self, size): return _base.ParserValue_get_as_binary_data(self, size) def get_as_string(self): return _base.ParserValue_get_as_string(self) def get_text(self, text, multiline, offset): return _base.ParserValue_get_text(self, text, multiline, offset) __swig_setmethods__["m_type"] = _base.ParserValue_m_type_set __swig_getmethods__["m_type"] = _base.ParserValue_m_type_get if _newclass: m_type = _swig_property(_base.ParserValue_m_type_get, _base.ParserValue_m_type_set) __swig_setmethods__["m_has_value"] = _base.ParserValue_m_has_value_set __swig_getmethods__["m_has_value"] = _base.ParserValue_m_has_value_get if _newclass: m_has_value = _swig_property(_base.ParserValue_m_has_value_get, _base.ParserValue_m_has_value_set) __swig_setmethods__["m_has_data"] = _base.ParserValue_m_has_data_set __swig_getmethods__["m_has_data"] = _base.ParserValue_m_has_data_get if _newclass: m_has_data = _swig_property(_base.ParserValue_m_has_data_get, _base.ParserValue_m_has_data_set) def make_value(self): return _base.ParserValue_make_value(self) def get_binary(self, buffer, count, with_type): return _base.ParserValue_get_binary(self, buffer, count, with_type) if _newclass: bool_to_bin = staticmethod(_base.ParserValue_bool_to_bin) else: bool_to_bin = _base.ParserValue_bool_to_bin if _newclass: char_to_bin = staticmethod(_base.ParserValue_char_to_bin) else: char_to_bin = _base.ParserValue_char_to_bin if _newclass: int_to_bin = staticmethod(_base.ParserValue_int_to_bin) else: int_to_bin = _base.ParserValue_int_to_bin if _newclass: double_to_bin = staticmethod(_base.ParserValue_double_to_bin) else: double_to_bin = _base.ParserValue_double_to_bin if _newclass: string_to_bin = staticmethod(_base.ParserValue_string_to_bin) else: string_to_bin = _base.ParserValue_string_to_bin if _newclass: binary_data_to_bin = staticmethod(_base.ParserValue_binary_data_to_bin) else: binary_data_to_bin = _base.ParserValue_binary_data_to_bin if _newclass: group_to_bin = staticmethod(_base.ParserValue_group_to_bin) else: group_to_bin = _base.ParserValue_group_to_bin if _newclass: size_to_bin = staticmethod(_base.ParserValue_size_to_bin) else: size_to_bin = _base.ParserValue_size_to_bin if _newclass: bin_to_bool = staticmethod(_base.ParserValue_bin_to_bool) else: bin_to_bool = _base.ParserValue_bin_to_bool if _newclass: bin_to_char = staticmethod(_base.ParserValue_bin_to_char) else: bin_to_char = _base.ParserValue_bin_to_char if _newclass: bin_to_int = staticmethod(_base.ParserValue_bin_to_int) else: bin_to_int = _base.ParserValue_bin_to_int if _newclass: bin_to_double = staticmethod(_base.ParserValue_bin_to_double) else: bin_to_double = _base.ParserValue_bin_to_double if _newclass: bin_to_string = staticmethod(_base.ParserValue_bin_to_string) else: bin_to_string = _base.ParserValue_bin_to_string if _newclass: bin_to_binary_data = staticmethod(_base.ParserValue_bin_to_binary_data) else: bin_to_binary_data = _base.ParserValue_bin_to_binary_data if _newclass: bin_to_size = staticmethod(_base.ParserValue_bin_to_size) else: bin_to_size = _base.ParserValue_bin_to_size if _newclass: bin_to_value = staticmethod(_base.ParserValue_bin_to_value) else: bin_to_value = _base.ParserValue_bin_to_value if _newclass: word_to_binary_data = staticmethod(_base.ParserValue_word_to_binary_data) else: word_to_binary_data = _base.ParserValue_word_to_binary_data def clear(self): return _base.ParserValue_clear(self) ParserValue_swigregister = _base.ParserValue_swigregister ParserValue_swigregister(ParserValue) def ParserValue_get_type_name(type): return _base.ParserValue_get_type_name(type) ParserValue_get_type_name = _base.ParserValue_get_type_name def ParserValue_bool_to_bin(buffer, value): return _base.ParserValue_bool_to_bin(buffer, value) ParserValue_bool_to_bin = _base.ParserValue_bool_to_bin def ParserValue_char_to_bin(buffer, value): return _base.ParserValue_char_to_bin(buffer, value) ParserValue_char_to_bin = _base.ParserValue_char_to_bin def ParserValue_int_to_bin(buffer, value): return _base.ParserValue_int_to_bin(buffer, value) ParserValue_int_to_bin = _base.ParserValue_int_to_bin def ParserValue_double_to_bin(buffer, value): return _base.ParserValue_double_to_bin(buffer, value) ParserValue_double_to_bin = _base.ParserValue_double_to_bin def ParserValue_string_to_bin(buffer, value): return _base.ParserValue_string_to_bin(buffer, value) ParserValue_string_to_bin = _base.ParserValue_string_to_bin def ParserValue_binary_data_to_bin(buffer, data, size): return _base.ParserValue_binary_data_to_bin(buffer, data, size) ParserValue_binary_data_to_bin = _base.ParserValue_binary_data_to_bin def ParserValue_group_to_bin(buffer, group): return _base.ParserValue_group_to_bin(buffer, group) ParserValue_group_to_bin = _base.ParserValue_group_to_bin def ParserValue_size_to_bin(buffer, value): return _base.ParserValue_size_to_bin(buffer, value) ParserValue_size_to_bin = _base.ParserValue_size_to_bin def ParserValue_bin_to_bool(buffer, position): return _base.ParserValue_bin_to_bool(buffer, position) ParserValue_bin_to_bool = _base.ParserValue_bin_to_bool def ParserValue_bin_to_char(buffer, position): return _base.ParserValue_bin_to_char(buffer, position) ParserValue_bin_to_char = _base.ParserValue_bin_to_char def ParserValue_bin_to_int(buffer, position): return _base.ParserValue_bin_to_int(buffer, position) ParserValue_bin_to_int = _base.ParserValue_bin_to_int def ParserValue_bin_to_double(buffer, position): return _base.ParserValue_bin_to_double(buffer, position) ParserValue_bin_to_double = _base.ParserValue_bin_to_double def ParserValue_bin_to_string(buffer, position): return _base.ParserValue_bin_to_string(buffer, position) ParserValue_bin_to_string = _base.ParserValue_bin_to_string def ParserValue_bin_to_binary_data(buffer, position, size): return _base.ParserValue_bin_to_binary_data(buffer, position, size) ParserValue_bin_to_binary_data = _base.ParserValue_bin_to_binary_data def ParserValue_bin_to_size(buffer, position): return _base.ParserValue_bin_to_size(buffer, position) ParserValue_bin_to_size = _base.ParserValue_bin_to_size def ParserValue_bin_to_value(buffer, position): return _base.ParserValue_bin_to_value(buffer, position) ParserValue_bin_to_value = _base.ParserValue_bin_to_value def ParserValue_word_to_binary_data(data, size, word): return _base.ParserValue_word_to_binary_data(data, size, word) ParserValue_word_to_binary_data = _base.ParserValue_word_to_binary_data PARSER_SERIAL_VERSION_TOKEN = _base.PARSER_SERIAL_VERSION_TOKEN PARSER_SERIAL_VERSION = _base.PARSER_SERIAL_VERSION class ParserWord(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ParserWord, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ParserWord, name) __repr__ = _swig_repr def __init__(self, *args): this = _base.new_ParserWord(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this __swig_destroy__ = _base.delete_ParserWord __del__ = lambda self: None TYPE_IDENTIFIER = _base.ParserWord_TYPE_IDENTIFIER TYPE_OPERATOR = _base.ParserWord_TYPE_OPERATOR TYPE_SEPARATOR = _base.ParserWord_TYPE_SEPARATOR TYPE_KEYWORD = _base.ParserWord_TYPE_KEYWORD TYPE_BOOL = _base.ParserWord_TYPE_BOOL TYPE_BINARY_DATA = _base.ParserWord_TYPE_BINARY_DATA TYPE_BRACE = _base.ParserWord_TYPE_BRACE TYPE_INT = _base.ParserWord_TYPE_INT TYPE_DOUBLE = _base.ParserWord_TYPE_DOUBLE TYPE_STRING = _base.ParserWord_TYPE_STRING TYPE_EMPTY_TAG = _base.ParserWord_TYPE_EMPTY_TAG TYPE_SYNTAX_ERROR = _base.ParserWord_TYPE_SYNTAX_ERROR TYPE_COUNT = _base.ParserWord_TYPE_COUNT if _newclass: is_value_type = staticmethod(_base.ParserWord_is_value_type) else: is_value_type = _base.ParserWord_is_value_type def get_string(self): return _base.ParserWord_get_string(self) def get_string_0100(self, result): return _base.ParserWord_get_string_0100(self, result) def get_string_0110(self, result): return _base.ParserWord_get_string_0110(self, result) def __iadd__(self, i): return _base.ParserWord___iadd__(self, i) def __eq__(self, string): if not isinstance(obj, type(self)): return False return _base.ParserWord___eq__(self, string) def get_length(self): return _base.ParserWord_get_length(self) def clear(self): return _base.ParserWord_clear(self) def is_empty(self): return _base.ParserWord_is_empty(self) def set_brace(self, flag): return _base.ParserWord_set_brace(self, flag) def get_line(self): return _base.ParserWord_get_line(self) def get_column(self): return _base.ParserWord_get_column(self) def set_line(self, line): return _base.ParserWord_set_line(self, line) def set_column(self, column): return _base.ParserWord_set_column(self, column) def is_array(self): return _base.ParserWord_is_array(self) def get_array_count(self): return _base.ParserWord_get_array_count(self) def has_template(self): return _base.ParserWord_has_template(self) def get_template(self): return _base.ParserWord_get_template(self) def is_identifier(self): return _base.ParserWord_is_identifier(self) def is_operator(self): return _base.ParserWord_is_operator(self) def is_separator(self): return _base.ParserWord_is_separator(self) def is_keyword(self): return _base.ParserWord_is_keyword(self) def is_bool(self): return _base.ParserWord_is_bool(self) def is_binary_data(self): return _base.ParserWord_is_binary_data(self) def is_brace(self): return _base.ParserWord_is_brace(self) def is_int(self): return _base.ParserWord_is_int(self) def is_double(self): return _base.ParserWord_is_double(self) def is_string(self): return _base.ParserWord_is_string(self) def is_empty_tag(self): return _base.ParserWord_is_empty_tag(self) def is_value(self, type): return _base.ParserWord_is_value(self, type) def get_type(self): return _base.ParserWord_get_type(self) ParserWord_swigregister = _base.ParserWord_swigregister ParserWord_swigregister(ParserWord) def ParserWord_is_value_type(type): return _base.ParserWord_is_value_type(type) ParserWord_is_value_type = _base.ParserWord_is_value_type # This file is compatible with both classic and new-style classes.
34.007635
159
0.72685
88,246
770,613
5.729427
0.009009
0.093829
0.040981
0.037346
0.796906
0.71641
0.595988
0.563755
0.517976
0.430826
0
0.0101
0.191174
770,613
22,659
160
34.009135
0.801076
0.000383
0
0.486396
1
0
0.013622
0.000057
0
0
0
0
0
1
0.302474
false
0.000118
0.001178
0.281625
0.700942
0.000118
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
4d1b71a06ba408dd48c6894743c8690ed509e4b7
105
py
Python
zp/main_run.py
DYC2016/zhaopin
eb3920d05160a9e5570c958e08e9b950db660f64
[ "Apache-2.0" ]
null
null
null
zp/main_run.py
DYC2016/zhaopin
eb3920d05160a9e5570c958e08e9b950db660f64
[ "Apache-2.0" ]
null
null
null
zp/main_run.py
DYC2016/zhaopin
eb3920d05160a9e5570c958e08e9b950db660f64
[ "Apache-2.0" ]
null
null
null
#-*-coding:utf-8-*- from scrapy.cmdline import execute #调用命令行操作 execute('scrapy crawl zhaopin'.split())
21
43
0.733333
14
105
5.5
0.857143
0
0
0
0
0
0
0
0
0
0
0.010526
0.095238
105
4
44
26.25
0.8
0.238095
0
0
0
0
0.25641
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4d245729ec3bad076bfc9dc1b795e86ec505a217
363
py
Python
serv/core/events.py
jnhu76/ImageServ
222231ce361a7b29fb25318c8bc9fedc65f236ee
[ "MIT" ]
null
null
null
serv/core/events.py
jnhu76/ImageServ
222231ce361a7b29fb25318c8bc9fedc65f236ee
[ "MIT" ]
null
null
null
serv/core/events.py
jnhu76/ImageServ
222231ce361a7b29fb25318c8bc9fedc65f236ee
[ "MIT" ]
null
null
null
from typing import Callable from fastapi import FastAPI from loguru import logger def create_start_app_handler(app: FastAPI) -> Callable: def start_app() -> None: pass return start_app def create_stop_app_handler(app: FastAPI) -> Callable: @logger.catch def stop_app() -> None: pass return stop_app
17.285714
56
0.655647
46
363
4.956522
0.369565
0.105263
0.114035
0.175439
0.245614
0
0
0
0
0
0
0
0.278237
363
20
57
18.15
0.870229
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
4d2b438be00d897608539241d88266c7eb3f7477
490
py
Python
idea1/input-contracts/StorageTest.py
igormcoelho/neo-boa
c141b503183cab287744cd19be5dfd86d9bc8daf
[ "MIT" ]
1
2021-06-19T04:07:04.000Z
2021-06-19T04:07:04.000Z
idea1/input-contracts/StorageTest.py
igormcoelho/neo-boa
c141b503183cab287744cd19be5dfd86d9bc8daf
[ "MIT" ]
null
null
null
idea1/input-contracts/StorageTest.py
igormcoelho/neo-boa
c141b503183cab287744cd19be5dfd86d9bc8daf
[ "MIT" ]
null
null
null
from boa.blockchain.vm.Neo.Storage import GetContext, Put#, Get, Put, Delete, GetContext #from boa.blockchain.vm.Neo.Runtime import Notify def Main(): #""" # # :return: # """ #context = GetContext() #print("hello") #Notify(context) #item_key = 'hello' #item_val = 'hhhhhhh' #Notify(item_val) #Put(context, item_key, item_val) Put(GetContext(), 'Hello', 'World') #print("hhhh") #a = 1 #out = Get(context, item_key) #return out
18.846154
88
0.604082
60
490
4.833333
0.466667
0.113793
0.144828
0.131034
0.151724
0
0
0
0
0
0
0.002653
0.230612
490
25
89
19.6
0.766578
0.597959
0
0
0
0
0.055556
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
4
4d461166094636fbc59db44e84556697ff38a068
241
py
Python
doc/source/_local_ext.py
hfmark/mplcursors
5ce3369f66df5af16657975064722f76f2ea668d
[ "MIT" ]
78
2016-07-25T00:47:58.000Z
2022-03-28T15:45:29.000Z
doc/source/_local_ext.py
hfmark/mplcursors
5ce3369f66df5af16657975064722f76f2ea668d
[ "MIT" ]
48
2017-08-29T23:26:59.000Z
2022-03-25T07:52:57.000Z
doc/source/_local_ext.py
hfmark/mplcursors
5ce3369f66df5af16657975064722f76f2ea668d
[ "MIT" ]
16
2016-08-04T00:25:17.000Z
2022-02-07T21:45:35.000Z
from sphinx_gallery.sorting import ExampleTitleSortKey class CustomSortKey(ExampleTitleSortKey): def __call__(self, filename): return ("" if filename == "basic.py" # goes first else super().__call__(filename))
30.125
58
0.692946
24
241
6.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.211618
241
7
59
34.428571
0.831579
0.041494
0
0
0
0
0.034935
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
4d542cf7ff119886c0ccc81b0df5319cb2ae44b9
56
py
Python
run_example.py
pthom/imgui_datascience
a2c9d52afba41d21ead78968eafc1ebe59be8fcb
[ "Apache-2.0" ]
68
2018-04-23T00:38:19.000Z
2022-03-30T18:47:36.000Z
run_example.py
pthom/imgui_datascience
a2c9d52afba41d21ead78968eafc1ebe59be8fcb
[ "Apache-2.0" ]
36
2018-06-05T18:45:48.000Z
2019-02-12T16:15:08.000Z
run_example.py
pthom/imgui_datascience
a2c9d52afba41d21ead78968eafc1ebe59be8fcb
[ "Apache-2.0" ]
4
2019-05-17T03:19:33.000Z
2021-12-27T06:36:36.000Z
from imgui_datascience.example import example example()
18.666667
45
0.857143
7
56
6.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.089286
56
2
46
28
0.921569
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4d60828e2be9190463c35afb628495054fdb6b79
211
py
Python
codex-py/test/config/test_ci.py
egustafson/home-sensors
232b36fe6fa2a2e3bce1391a91dffa192f17b835
[ "Apache-2.0" ]
null
null
null
codex-py/test/config/test_ci.py
egustafson/home-sensors
232b36fe6fa2a2e3bce1391a91dffa192f17b835
[ "Apache-2.0" ]
null
null
null
codex-py/test/config/test_ci.py
egustafson/home-sensors
232b36fe6fa2a2e3bce1391a91dffa192f17b835
[ "Apache-2.0" ]
null
null
null
# *-* coding: utf-8 -*- """ UnitTest for ManagedObject (MO) """ import unittest from codex.config.ci import ConfigItem class TestCI(unittest.TestCase): def test_pass(self): self.assertTrue(True)
17.583333
39
0.682464
26
211
5.5
0.846154
0
0
0
0
0
0
0
0
0
0
0.00578
0.180095
211
11
40
19.181818
0.820809
0.260664
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0.2
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
4d61f36536bd6150303c5e3018e100bc575c9592
228
py
Python
Lista 1 Banin/ex13.py
qnomon/Python-Studies
dbd592cf2a161bb9ddbec66f020c602bddc6d44b
[ "MIT" ]
null
null
null
Lista 1 Banin/ex13.py
qnomon/Python-Studies
dbd592cf2a161bb9ddbec66f020c602bddc6d44b
[ "MIT" ]
null
null
null
Lista 1 Banin/ex13.py
qnomon/Python-Studies
dbd592cf2a161bb9ddbec66f020c602bddc6d44b
[ "MIT" ]
null
null
null
x = float(input('Digite um valor [0]Para encerrar o programa: ')) tot = 0 while x != 0: tot +=x x = float(input('Digite um valor [0]Para encerrar o programa: ')) print(f'O total da soma dos números inseridos é de {tot}')
38
69
0.657895
41
228
3.658537
0.560976
0.08
0.146667
0.226667
0.613333
0.613333
0.613333
0.613333
0.613333
0.613333
0
0.021978
0.201754
228
6
70
38
0.802198
0
0
0.333333
0
0
0.60262
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4d9a74bda04dfd9afe3c6984155f1983f081693f
8,775
py
Python
test/data/test_pre_images.py
eavise-kul/lightnet
d2d5d3fff8f929c3683c34f176217649375b98e1
[ "MIT" ]
6
2019-10-10T05:42:50.000Z
2022-02-27T04:59:29.000Z
test/data/test_pre_images.py
eavise-kul/lightnet
d2d5d3fff8f929c3683c34f176217649375b98e1
[ "MIT" ]
null
null
null
test/data/test_pre_images.py
eavise-kul/lightnet
d2d5d3fff8f929c3683c34f176217649375b98e1
[ "MIT" ]
4
2020-01-25T20:16:23.000Z
2021-04-29T13:02:34.000Z
# # Test pre-processing transforms with multiple different input types # Copyright EAVISE # import random import pytest import torch import torchvision import numpy as np from PIL import Image import lightnet.data.transform as tf @pytest.fixture(scope='module') def image(): def _image(width, height, grayscale): if grayscale: img_np = np.random.randint(256, size=(height, width), dtype='uint8') else: img_np = np.random.randint(256, size=(height, width, 3), dtype='uint8') img_pil = Image.fromarray(img_np) img_torch = torchvision.transforms.ToTensor()(img_np) return img_np, img_pil, img_torch return _image def assert_image_dim_equal(img_np, img_pil, img_torch): if img_np is not None and img_torch is not None: assert list(img_np.shape[:2]) == list(img_torch.shape[-2:]) if img_np is not None and img_pil is not None: assert list(img_np.shape[:2]) == list([img_pil.height, img_pil.width]) if img_pil is not None and img_torch is not None: assert list([img_pil.height, img_pil.width]) == list(img_torch.shape[-2:]) def assert_image_content_equal(img_np, img_pil, img_torch, assertion=np.testing.assert_array_equal, **kwargs): if img_pil is not None: img_pil = np.asarray(img_pil).astype('int64') if img_torch is not None: img_torch = np.asarray(torchvision.transforms.ToPILImage()(img_torch)).astype('int64') if img_np is not None: img_np = img_np.astype('int64') errors = [] if img_np is not None and img_pil is not None: try: assertion(img_np, img_pil, err_msg="NumPy and PIL", **kwargs) except AssertionError as err: errors.append(str(err)) if img_np is not None and img_torch is not None: try: assertion(img_np, img_torch, err_msg="NumPy and PyTorch", **kwargs) except AssertionError as err: errors.append(str(err)) if img_pil is not None and img_torch is not None: try: assertion(img_pil, img_torch, err_msg="PIL and PyTorch", **kwargs) except AssertionError as err: errors.append(str(err)) if len(errors) > 0: raise AssertionError("\n\n".join(errors)) def assert_image_equal(img_np, img_pil, img_torch, assertion=np.testing.assert_array_equal, **kwargs): assert_image_dim_equal(img_np, img_pil, img_torch) assert_image_content_equal(img_np, img_pil, img_torch, assertion, **kwargs) @pytest.mark.parametrize('grayscale', [True, False]) def test_crop(image, grayscale): img_np, img_pil, img_torch = image(400, 385, grayscale) # Crop height assert_image_equal(img_np, img_pil, img_torch) crop = tf.Crop(dimension=(400, 350)) tf_np = crop(img_np) tf_pil = crop(img_pil) tf_torch = crop(img_torch) assert list(tf_torch.shape[-2:]) == [350, 400] assert_image_equal(tf_np, tf_pil, tf_torch) # Crop width assert_image_equal(img_np, img_pil, img_torch) crop = tf.Crop(dimension=(200, 385)) tf_np = crop(img_np) tf_pil = crop(img_pil) tf_torch = crop(img_torch) assert list(tf_torch.shape[-2:]) == [385, 200] assert_image_equal(tf_np, tf_pil, tf_torch) # Shrink - Crop height assert_image_equal(img_np, img_pil, img_torch) crop = tf.Crop(dimension=(300, 250)) tf_np = crop(img_np) tf_pil = crop(img_pil) tf_torch = crop(img_torch) assert list(tf_torch.shape[-2:]) == [250, 300] assert_image_dim_equal(tf_np, tf_pil, tf_torch) assert_image_content_equal(tf_np, None, tf_torch, np.testing.assert_allclose, atol=2) # Enlarge - Crop width assert_image_equal(img_np, img_pil, img_torch) crop = tf.Crop(dimension=(500, 600)) tf_np = crop(img_np) tf_pil = crop(img_pil) tf_torch = crop(img_torch) assert list(tf_torch.shape[-2:]) == [600, 500] assert_image_dim_equal(tf_np, tf_pil, tf_torch) assert_image_content_equal(tf_np, None, tf_torch, np.testing.assert_allclose, atol=2) @pytest.mark.parametrize('grayscale', [True, False]) def test_letterbox(image, grayscale): img_np, img_pil, img_torch = image(400, 385, grayscale) # Letterbox height assert_image_equal(img_np, img_pil, img_torch) lb = tf.Letterbox(dimension=(400, 450), fill_color=50) tf_np = lb(img_np) tf_pil = lb(img_pil) tf_torch = lb(img_torch) assert list(tf_torch.shape[-2:]) == [450, 400] assert_image_equal(tf_np, tf_pil, tf_torch) # Letterbox width assert_image_equal(img_np, img_pil, img_torch) lb = tf.Letterbox(dimension=(500, 385)) tf_np = lb(img_np) tf_pil = lb(img_pil) tf_torch = lb(img_torch) assert list(tf_torch.shape[-2:]) == [385, 500] assert_image_equal(tf_np, tf_pil, tf_torch) # Shrink - Letterbox height assert_image_equal(img_np, img_pil, img_torch) lb = tf.Letterbox(dimension=(250, 300)) tf_np = lb(img_np) tf_pil = lb(img_pil) tf_torch = lb(img_torch) assert list(tf_torch.shape[-2:]) == [300, 250] assert_image_dim_equal(tf_np, tf_pil, tf_torch) assert_image_content_equal(tf_np, None, tf_torch, np.testing.assert_allclose, atol=2) # Enlarge - Letterbox width assert_image_equal(img_np, img_pil, img_torch) lb = tf.Letterbox(dimension=(600, 500)) tf_np = lb(img_np) tf_pil = lb(img_pil) tf_torch = lb(img_torch) assert list(tf_torch.shape[-2:]) == [500, 600] assert_image_dim_equal(tf_np, tf_pil, tf_torch) assert_image_content_equal(tf_np, None, tf_torch, np.testing.assert_allclose, atol=2) @pytest.mark.parametrize('grayscale', [True, False]) def test_pad(image, grayscale): img_np, img_pil, img_torch = image(400, 385, grayscale) # Pad height assert_image_equal(img_np, img_pil, img_torch) pad = tf.Pad(dimension=(100, 32), fill_color=50) tf_np = pad(img_np) tf_pil = pad(img_pil) tf_torch = pad(img_torch) assert list(tf_torch.shape[-2:]) == [416, 400] assert_image_equal(tf_np, tf_pil, tf_torch) # Pad width assert_image_equal(img_np, img_pil, img_torch) pad = tf.Pad(dimension=(128, 5)) tf_np = pad(img_np) tf_pil = pad(img_pil) tf_torch = pad(img_torch) assert list(tf_torch.shape[-2:]) == [385, 512] assert_image_equal(tf_np, tf_pil, tf_torch) @pytest.mark.parametrize('grayscale', [True, False]) def test_flip(image, grayscale): img_np, img_pil, img_torch = image(400, 400, grayscale) def get_params(tf): tf.flip_h = bool(tf.horizontal) tf.flip_v = bool(tf.vertical) flip = tf.RandomFlip(1, 1) flip._get_params = get_params.__get__(flip, tf.RandomFlip) # Flip Horizontal flip.horizontal = 1 flip.vertical = 0 assert_image_equal(img_np, img_pil, img_torch) tf_np = flip(img_np) tf_pil = flip(img_pil) tf_torch = flip(img_torch) assert_image_equal(tf_np, tf_pil, tf_torch) # Flip Vertical flip.horizontal = 0 flip.vertical = 1 assert_image_equal(img_np, img_pil, img_torch) tf_np = flip(img_np) tf_pil = flip(img_pil) tf_torch = flip(img_torch) assert_image_equal(tf_np, tf_pil, tf_torch) # Flip Both flip.horizontal = 1 flip.vertical = 1 assert_image_equal(img_np, img_pil, img_torch) tf_np = flip(img_np) tf_pil = flip(img_pil) tf_torch = flip(img_torch) assert_image_equal(tf_np, tf_pil, tf_torch) def test_hsv(image): img_np, img_pil, img_torch = image(400, 400, False) dh = random.uniform(-0.5, 0.5) ds = random.uniform(1, 2) dv = random.uniform(1, 2) def get_params(tf): tf.dh = dh tf.ds = ds tf.dv = dv hsv = tf.RandomHSV(None, None, None) hsv._get_params = get_params.__get__(hsv, tf.RandomHSV) assert_image_equal(img_np, img_pil, img_torch) tf_np = hsv(img_np) tf_pil = hsv(img_pil) tf_torch = hsv(img_torch) assert_image_dim_equal(tf_np, tf_pil, tf_torch) assert_image_content_equal(tf_np, None, tf_torch, np.testing.assert_allclose, atol=2) @pytest.mark.parametrize('grayscale', [True, False]) def test_jitter(image, grayscale): img_np, img_pil, img_torch = image(400, 400, grayscale) crop_left = random.randint(-120, 120) crop_right = random.randint(-120, 120) crop_top = random.randint(-120, 120) crop_bottom = random.randint(-120, 120) def get_params(tf, w, h): tf.crop = (crop_left, crop_top, w-crop_right, h-crop_bottom) jitter = tf.RandomJitter(0.3, fill_color=50) jitter._get_params = get_params.__get__(jitter, tf.RandomJitter) assert_image_equal(img_np, img_pil, img_torch) tf_np = jitter(img_np) tf_pil = jitter(img_pil) tf_torch = jitter(img_torch) assert_image_equal(tf_np, tf_pil, tf_torch)
32.742537
110
0.681368
1,405
8,775
3.95089
0.095374
0.051342
0.044677
0.055486
0.777878
0.728517
0.71915
0.711944
0.690867
0.662403
0
0.033676
0.201368
8,775
267
111
32.865169
0.758419
0.033732
0
0.530303
0
0
0.014777
0
0
0
0
0
0.30303
1
0.070707
false
0
0.035354
0
0.116162
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4dc4468d24ea4d652fd0616f1567d0b52c4f9837
244
py
Python
url_s.py
Kaneki1416/CrackingToolsBot
97847894f6aa29bba7585a2b6f64d3f02e4820b7
[ "MIT" ]
20
2021-01-03T15:03:38.000Z
2021-12-18T22:52:02.000Z
url_s.py
ninjanaveen/CrackingToolsBot
52d8fb0867bbb5435d8a017fa213e05cd3e651aa
[ "MIT" ]
3
2021-11-29T03:47:51.000Z
2022-02-20T14:55:53.000Z
url_s.py
ninjanaveen/CrackingToolsBot
52d8fb0867bbb5435d8a017fa213e05cd3e651aa
[ "MIT" ]
30
2021-01-03T18:24:47.000Z
2022-03-11T16:13:10.000Z
# import DevsExpo zee5 = "https://userapi.zee5.com/v1/user/loginemail?email={email}&password={password}" nord = "https://zwyr157wwiu6eior.com/v1/users/tokens" vortex = "https://vortex-api.gg/login" vypr = "https://api.goldenfrog.com/settings"
34.857143
86
0.737705
33
244
5.454545
0.666667
0.055556
0
0
0
0
0
0
0
0
0
0.035088
0.065574
244
6
87
40.666667
0.754386
0.061475
0
0
0
0.25
0.806167
0
0
0
0
0
0
1
0
false
0.25
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
4dcc91e180563e87ad60d57d8d258929c5a93303
274
py
Python
checkinstallversions.py
LinuxFlyGuy/PFNE
eb0506926ece193415cf5c4882a8990c41211667
[ "MIT" ]
null
null
null
checkinstallversions.py
LinuxFlyGuy/PFNE
eb0506926ece193415cf5c4882a8990c41211667
[ "MIT" ]
null
null
null
checkinstallversions.py
LinuxFlyGuy/PFNE
eb0506926ece193415cf5c4882a8990c41211667
[ "MIT" ]
null
null
null
#!/usr/bin/env python import pysnmp, paramiko print "Yay, I have all of my libraries! \n" snmp = pysnmp.__version__ mymiko = paramiko.__version__ print "Your installed version of pysnmp is %r. \n" % (snmp) print "Your installed version of paramiko is %r. \n" % (mymiko)
22.833333
63
0.718978
42
274
4.5
0.547619
0.05291
0.190476
0.26455
0.285714
0
0
0
0
0
0
0
0.167883
274
11
64
24.909091
0.828947
0.072993
0
0
0
0
0.478261
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
4dd4e58e57258fda3aff04144c9fd03af1629e86
135
py
Python
source/appModules/netradiorecorder5.py
riku22/nvdajp
66a828ea89d317e4aa0ad2aed4b3b1e08920afb6
[ "bzip2-1.0.6" ]
19
2016-05-11T05:15:31.000Z
2022-03-17T12:40:10.000Z
source/appModules/netradiorecorder5.py
riku22/nvdajp
66a828ea89d317e4aa0ad2aed4b3b1e08920afb6
[ "bzip2-1.0.6" ]
307
2015-08-27T11:22:33.000Z
2022-03-29T10:43:34.000Z
source/appModules/netradiorecorder5.py
riku22/nvdajp
66a828ea89d317e4aa0ad2aed4b3b1e08920afb6
[ "bzip2-1.0.6" ]
14
2016-03-28T07:31:49.000Z
2022-03-30T04:56:35.000Z
# netradiorecorder5.py # A part of NonVisual Desktop Access (NVDA) # 2017-02-01 Takuya Nishimoto from netradiorecorder4 import *
22.5
44
0.755556
17
135
6
1
0
0
0
0
0
0
0
0
0
0
0.09009
0.177778
135
5
45
27
0.828829
0.666667
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4dde30ddf0a0e9c963b31285e191879ef9d7455d
37,730
py
Python
hydrogen_electron_orbitals.py
Niuskir/Electron-Orbitals-Blender-3D
f0bc90fda4eb4730ab840744795cddc709348228
[ "MIT" ]
19
2019-11-21T01:34:51.000Z
2021-11-11T21:55:29.000Z
hydrogen_electron_orbitals.py
Niuskir/Electron-Orbitals-Blender-3D
f0bc90fda4eb4730ab840744795cddc709348228
[ "MIT" ]
2
2019-12-29T23:57:18.000Z
2022-02-17T18:22:58.000Z
hydrogen_electron_orbitals.py
Niuskir/Electron-Orbitals-Blender-3D
f0bc90fda4eb4730ab840744795cddc709348228
[ "MIT" ]
3
2019-04-15T03:14:44.000Z
2021-11-10T04:49:44.000Z
import time #start time recording start = time.time() import datetime import mpmath import math from math import sqrt,sin,cos,tan import mathutils from itertools import chain import bpy, bmesh import numpy as np import sympy from sympy import symbols,I,latex,pi,diff,idiff #"I" is sympy's imaginary number from sympy.utilities.lambdify import lambdastr from sympy import factorial as fac from sympy.functions import Abs,sqrt,exp,cos,sin from sympy import re, im, simplify import warnings # in order to suppress divide_by_zero warnings... #display the latex representation of a symbolic variable by default. from sympy import init_printing init_printing(use_unicode=True) a_0,z,r,ib=symbols("a_0,z,r,ib") n,m,l=symbols("n,m,l",integer=True) int_m=symbols("int_m",integer=True) theta,phi = symbols("\\theta,\\phi",real=True) #The variables will used with lambdify... angle_theta, angle_phi, radius = symbols("angle_theta,angle_phi,radius",real=True) print("numpy version: %s"%np.__version__) print("mpmath version: %s"%mpmath.__version__) print("sympy version: %s"%sympy.__version__) print("Python version: %s"%bpy.app.version_string) def P_l(l,theta): #valid for l greater than equal to zero """Legendre polynomial""" if l>=0: # eq=diff((cos(theta)**2-1)**l,cos(theta),l) eq=(cos(theta)**2-1)**l resultdiff=diff(eq.subs(cos(theta),ib),ib,l) eq=resultdiff.subs(ib,cos(theta)) else: print("l must be an integer equal to 0 or greater") raise ValueError return 1/(2**l*fac(l))*eq def P_l_m(m,l,theta): """Legendre polynomial""" # eq = diff(P_l(l,theta),cos(theta),Abs(m)) eq = P_l(l,theta) resultdiff=diff(eq.subs(cos(theta),ib),ib,Abs(m)) eq=resultdiff.subs(ib,cos(theta)) result = sin(theta)**Abs(m)*eq return result def Y_l_m(l,m,phi,theta): """Spherical harmonics""" eq = P_l_m(m,l,theta) if m>0: pe=re(exp(I*m*phi))*sqrt(2) elif m<0: pe=im(exp(I*m*phi))*sqrt(2) elif m==0: pe=1 return abs(sqrt(((2*l+1)*fac(l-Abs(m)))/(4*pi*fac(l+Abs(m))))*pe*eq) def L(l,n,rho): """Laguerre polynomial""" _L = 0. for i in range((n-l-1)+1): #using a loop to do the summation _L += ((-i)**i*fac(n+l)**2.*rho**i)/(fac(i)*fac(n-l-1.-i)*\ fac(2.*l+1.+i)) return _L def R(r,n,l,z=1.,a_0=1.): """Radial function""" rho = 2.*z*r/(n*a_0) _L = L(l,n,rho) _R = (2.*z/(n*a_0))**(3./2.)*sqrt(fac(n-l-1.)/\ (2.*n*fac(n+l)**3.))*exp(-z/(n*a_0)*r)*rho**l*_L return _R def Psi(r,n,l,m,phi,theta,z=1,a_0=1): """Wavefunction""" _Y = Y_l_m(l,m,phi,theta) _R = R(r,n,l) return _R*_Y def P(r,n,l,m,phi,theta): """Returns the symbolic equation probability of the location of an electron""" return Psi(r,n,l,m,phi,theta)**2*r**2 def main(Prob,r_fun,phi_fun,theta_fun,n_o_c,box_size,res,isostep): # define a 3D scalarfield (the function which defines the shape of the isosurface) def scalarfield(pos): x,y,z=pos[0],pos[1],pos[2] w = Prob(r_fun(x,y,z),phi_fun(x,y,z),theta_fun(x,y,z)) * 1e2 return w #first point defining the gridbox of the MC-algorithm p0 = (-box_size,-box_size,-box_size) #second point defining the gridbox of the MC-algorithm p1 = (box_size,box_size,box_size) #resolution in x,y,z direction of the grid (10x10x10 means 1000 cubes) resolution = (res,res,res) #create for each isostep an isosurface starting from the outside to inside (low to high probability) isosurface(p0,p1,resolution,isostep,scalarfield,n_o_c) # # # edgetable=(0x0 , 0x109, 0x203, 0x30a, 0x406, 0x50f, 0x605, 0x70c, 0x80c, 0x905, 0xa0f, 0xb06, 0xc0a, 0xd03, 0xe09, 0xf00, 0x190, 0x99 , 0x393, 0x29a, 0x596, 0x49f, 0x795, 0x69c, 0x99c, 0x895, 0xb9f, 0xa96, 0xd9a, 0xc93, 0xf99, 0xe90, 0x230, 0x339, 0x33 , 0x13a, 0x636, 0x73f, 0x435, 0x53c, 0xa3c, 0xb35, 0x83f, 0x936, 0xe3a, 0xf33, 0xc39, 0xd30, 0x3a0, 0x2a9, 0x1a3, 0xaa , 0x7a6, 0x6af, 0x5a5, 0x4ac, 0xbac, 0xaa5, 0x9af, 0x8a6, 0xfaa, 0xea3, 0xda9, 0xca0, 0x460, 0x569, 0x663, 0x76a, 0x66 , 0x16f, 0x265, 0x36c, 0xc6c, 0xd65, 0xe6f, 0xf66, 0x86a, 0x963, 0xa69, 0xb60, 0x5f0, 0x4f9, 0x7f3, 0x6fa, 0x1f6, 0xff , 0x3f5, 0x2fc, 0xdfc, 0xcf5, 0xfff, 0xef6, 0x9fa, 0x8f3, 0xbf9, 0xaf0, 0x650, 0x759, 0x453, 0x55a, 0x256, 0x35f, 0x55 , 0x15c, 0xe5c, 0xf55, 0xc5f, 0xd56, 0xa5a, 0xb53, 0x859, 0x950, 0x7c0, 0x6c9, 0x5c3, 0x4ca, 0x3c6, 0x2cf, 0x1c5, 0xcc , 0xfcc, 0xec5, 0xdcf, 0xcc6, 0xbca, 0xac3, 0x9c9, 0x8c0, 0x8c0, 0x9c9, 0xac3, 0xbca, 0xcc6, 0xdcf, 0xec5, 0xfcc, 0xcc , 0x1c5, 0x2cf, 0x3c6, 0x4ca, 0x5c3, 0x6c9, 0x7c0, 0x950, 0x859, 0xb53, 0xa5a, 0xd56, 0xc5f, 0xf55, 0xe5c, 0x15c, 0x55 , 0x35f, 0x256, 0x55a, 0x453, 0x759, 0x650, 0xaf0, 0xbf9, 0x8f3, 0x9fa, 0xef6, 0xfff, 0xcf5, 0xdfc, 0x2fc, 0x3f5, 0xff , 0x1f6, 0x6fa, 0x7f3, 0x4f9, 0x5f0, 0xb60, 0xa69, 0x963, 0x86a, 0xf66, 0xe6f, 0xd65, 0xc6c, 0x36c, 0x265, 0x16f, 0x66 , 0x76a, 0x663, 0x569, 0x460, 0xca0, 0xda9, 0xea3, 0xfaa, 0x8a6, 0x9af, 0xaa5, 0xbac, 0x4ac, 0x5a5, 0x6af, 0x7a6, 0xaa , 0x1a3, 0x2a9, 0x3a0, 0xd30, 0xc39, 0xf33, 0xe3a, 0x936, 0x83f, 0xb35, 0xa3c, 0x53c, 0x435, 0x73f, 0x636, 0x13a, 0x33 , 0x339, 0x230, 0xe90, 0xf99, 0xc93, 0xd9a, 0xa96, 0xb9f, 0x895, 0x99c, 0x69c, 0x795, 0x49f, 0x596, 0x29a, 0x393, 0x99 , 0x190, 0xf00, 0xe09, 0xd03, 0xc0a, 0xb06, 0xa0f, 0x905, 0x80c, 0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x0) tritable = [[-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 8, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 8, 3, 9, 8, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 2, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 8, 3, 1, 2, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [9, 2, 10, 0, 2, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [2, 8, 3, 2, 10, 8, 10, 9, 8, -1, -1, -1, -1, -1, -1, -1], [3, 11, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 11, 2, 8, 11, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 9, 0, 2, 3, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 11, 2, 1, 9, 11, 9, 8, 11, -1, -1, -1, -1, -1, -1, -1], [3, 10, 1, 11, 10, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 10, 1, 0, 8, 10, 8, 11, 10, -1, -1, -1, -1, -1, -1, -1], [3, 9, 0, 3, 11, 9, 11, 10, 9, -1, -1, -1, -1, -1, -1, -1], [9, 8, 10, 10, 8, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 7, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 3, 0, 7, 3, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 1, 9, 8, 4, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 1, 9, 4, 7, 1, 7, 3, 1, -1, -1, -1, -1, -1, -1, -1], [1, 2, 10, 8, 4, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [3, 4, 7, 3, 0, 4, 1, 2, 10, -1, -1, -1, -1, -1, -1, -1], [9, 2, 10, 9, 0, 2, 8, 4, 7, -1, -1, -1, -1, -1, -1, -1], [2, 10, 9, 2, 9, 7, 2, 7, 3, 7, 9, 4, -1, -1, -1, -1], [8, 4, 7, 3, 11, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [11, 4, 7, 11, 2, 4, 2, 0, 4, -1, -1, -1, -1, -1, -1, -1], [9, 0, 1, 8, 4, 7, 2, 3, 11, -1, -1, -1, -1, -1, -1, -1], [4, 7, 11, 9, 4, 11, 9, 11, 2, 9, 2, 1, -1, -1, -1, -1], [3, 10, 1, 3, 11, 10, 7, 8, 4, -1, -1, -1, -1, -1, -1, -1], [1, 11, 10, 1, 4, 11, 1, 0, 4, 7, 11, 4, -1, -1, -1, -1], [4, 7, 8, 9, 0, 11, 9, 11, 10, 11, 0, 3, -1, -1, -1, -1], [4, 7, 11, 4, 11, 9, 9, 11, 10, -1, -1, -1, -1, -1, -1, -1], [9, 5, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [9, 5, 4, 0, 8, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 5, 4, 1, 5, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [8, 5, 4, 8, 3, 5, 3, 1, 5, -1, -1, -1, -1, -1, -1, -1], [1, 2, 10, 9, 5, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [3, 0, 8, 1, 2, 10, 4, 9, 5, -1, -1, -1, -1, -1, -1, -1], [5, 2, 10, 5, 4, 2, 4, 0, 2, -1, -1, -1, -1, -1, -1, -1], [2, 10, 5, 3, 2, 5, 3, 5, 4, 3, 4, 8, -1, -1, -1, -1], [9, 5, 4, 2, 3, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 11, 2, 0, 8, 11, 4, 9, 5, -1, -1, -1, -1, -1, -1, -1], [0, 5, 4, 0, 1, 5, 2, 3, 11, -1, -1, -1, -1, -1, -1, -1], [2, 1, 5, 2, 5, 8, 2, 8, 11, 4, 8, 5, -1, -1, -1, -1], [10, 3, 11, 10, 1, 3, 9, 5, 4, -1, -1, -1, -1, -1, -1, -1], [4, 9, 5, 0, 8, 1, 8, 10, 1, 8, 11, 10, -1, -1, -1, -1], [5, 4, 0, 5, 0, 11, 5, 11, 10, 11, 0, 3, -1, -1, -1, -1], [5, 4, 8, 5, 8, 10, 10, 8, 11, -1, -1, -1, -1, -1, -1, -1], [9, 7, 8, 5, 7, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [9, 3, 0, 9, 5, 3, 5, 7, 3, -1, -1, -1, -1, -1, -1, -1], [0, 7, 8, 0, 1, 7, 1, 5, 7, -1, -1, -1, -1, -1, -1, -1], [1, 5, 3, 3, 5, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [9, 7, 8, 9, 5, 7, 10, 1, 2, -1, -1, -1, -1, -1, -1, -1], [10, 1, 2, 9, 5, 0, 5, 3, 0, 5, 7, 3, -1, -1, -1, -1], [8, 0, 2, 8, 2, 5, 8, 5, 7, 10, 5, 2, -1, -1, -1, -1], [2, 10, 5, 2, 5, 3, 3, 5, 7, -1, -1, -1, -1, -1, -1, -1], [7, 9, 5, 7, 8, 9, 3, 11, 2, -1, -1, -1, -1, -1, -1, -1], [9, 5, 7, 9, 7, 2, 9, 2, 0, 2, 7, 11, -1, -1, -1, -1], [2, 3, 11, 0, 1, 8, 1, 7, 8, 1, 5, 7, -1, -1, -1, -1], [11, 2, 1, 11, 1, 7, 7, 1, 5, -1, -1, -1, -1, -1, -1, -1], [9, 5, 8, 8, 5, 7, 10, 1, 3, 10, 3, 11, -1, -1, -1, -1], [5, 7, 0, 5, 0, 9, 7, 11, 0, 1, 0, 10, 11, 10, 0, -1], [11, 10, 0, 11, 0, 3, 10, 5, 0, 8, 0, 7, 5, 7, 0, -1], [11, 10, 5, 7, 11, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [10, 6, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 8, 3, 5, 10, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [9, 0, 1, 5, 10, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 8, 3, 1, 9, 8, 5, 10, 6, -1, -1, -1, -1, -1, -1, -1], [1, 6, 5, 2, 6, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 6, 5, 1, 2, 6, 3, 0, 8, -1, -1, -1, -1, -1, -1, -1], [9, 6, 5, 9, 0, 6, 0, 2, 6, -1, -1, -1, -1, -1, -1, -1], [5, 9, 8, 5, 8, 2, 5, 2, 6, 3, 2, 8, -1, -1, -1, -1], [2, 3, 11, 10, 6, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [11, 0, 8, 11, 2, 0, 10, 6, 5, -1, -1, -1, -1, -1, -1, -1], [0, 1, 9, 2, 3, 11, 5, 10, 6, -1, -1, -1, -1, -1, -1, -1], [5, 10, 6, 1, 9, 2, 9, 11, 2, 9, 8, 11, -1, -1, -1, -1], [6, 3, 11, 6, 5, 3, 5, 1, 3, -1, -1, -1, -1, -1, -1, -1], [0, 8, 11, 0, 11, 5, 0, 5, 1, 5, 11, 6, -1, -1, -1, -1], [3, 11, 6, 0, 3, 6, 0, 6, 5, 0, 5, 9, -1, -1, -1, -1], [6, 5, 9, 6, 9, 11, 11, 9, 8, -1, -1, -1, -1, -1, -1, -1], [5, 10, 6, 4, 7, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 3, 0, 4, 7, 3, 6, 5, 10, -1, -1, -1, -1, -1, -1, -1], [1, 9, 0, 5, 10, 6, 8, 4, 7, -1, -1, -1, -1, -1, -1, -1], [10, 6, 5, 1, 9, 7, 1, 7, 3, 7, 9, 4, -1, -1, -1, -1], [6, 1, 2, 6, 5, 1, 4, 7, 8, -1, -1, -1, -1, -1, -1, -1], [1, 2, 5, 5, 2, 6, 3, 0, 4, 3, 4, 7, -1, -1, -1, -1], [8, 4, 7, 9, 0, 5, 0, 6, 5, 0, 2, 6, -1, -1, -1, -1], [7, 3, 9, 7, 9, 4, 3, 2, 9, 5, 9, 6, 2, 6, 9, -1], [3, 11, 2, 7, 8, 4, 10, 6, 5, -1, -1, -1, -1, -1, -1, -1], [5, 10, 6, 4, 7, 2, 4, 2, 0, 2, 7, 11, -1, -1, -1, -1], [0, 1, 9, 4, 7, 8, 2, 3, 11, 5, 10, 6, -1, -1, -1, -1], [9, 2, 1, 9, 11, 2, 9, 4, 11, 7, 11, 4, 5, 10, 6, -1], [8, 4, 7, 3, 11, 5, 3, 5, 1, 5, 11, 6, -1, -1, -1, -1], [5, 1, 11, 5, 11, 6, 1, 0, 11, 7, 11, 4, 0, 4, 11, -1], [0, 5, 9, 0, 6, 5, 0, 3, 6, 11, 6, 3, 8, 4, 7, -1], [6, 5, 9, 6, 9, 11, 4, 7, 9, 7, 11, 9, -1, -1, -1, -1], [10, 4, 9, 6, 4, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 10, 6, 4, 9, 10, 0, 8, 3, -1, -1, -1, -1, -1, -1, -1], [10, 0, 1, 10, 6, 0, 6, 4, 0, -1, -1, -1, -1, -1, -1, -1], [8, 3, 1, 8, 1, 6, 8, 6, 4, 6, 1, 10, -1, -1, -1, -1], [1, 4, 9, 1, 2, 4, 2, 6, 4, -1, -1, -1, -1, -1, -1, -1], [3, 0, 8, 1, 2, 9, 2, 4, 9, 2, 6, 4, -1, -1, -1, -1], [0, 2, 4, 4, 2, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [8, 3, 2, 8, 2, 4, 4, 2, 6, -1, -1, -1, -1, -1, -1, -1], [10, 4, 9, 10, 6, 4, 11, 2, 3, -1, -1, -1, -1, -1, -1, -1], [0, 8, 2, 2, 8, 11, 4, 9, 10, 4, 10, 6, -1, -1, -1, -1], [3, 11, 2, 0, 1, 6, 0, 6, 4, 6, 1, 10, -1, -1, -1, -1], [6, 4, 1, 6, 1, 10, 4, 8, 1, 2, 1, 11, 8, 11, 1, -1], [9, 6, 4, 9, 3, 6, 9, 1, 3, 11, 6, 3, -1, -1, -1, -1], [8, 11, 1, 8, 1, 0, 11, 6, 1, 9, 1, 4, 6, 4, 1, -1], [3, 11, 6, 3, 6, 0, 0, 6, 4, -1, -1, -1, -1, -1, -1, -1], [6, 4, 8, 11, 6, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [7, 10, 6, 7, 8, 10, 8, 9, 10, -1, -1, -1, -1, -1, -1, -1], [0, 7, 3, 0, 10, 7, 0, 9, 10, 6, 7, 10, -1, -1, -1, -1], [10, 6, 7, 1, 10, 7, 1, 7, 8, 1, 8, 0, -1, -1, -1, -1], [10, 6, 7, 10, 7, 1, 1, 7, 3, -1, -1, -1, -1, -1, -1, -1], [1, 2, 6, 1, 6, 8, 1, 8, 9, 8, 6, 7, -1, -1, -1, -1], [2, 6, 9, 2, 9, 1, 6, 7, 9, 0, 9, 3, 7, 3, 9, -1], [7, 8, 0, 7, 0, 6, 6, 0, 2, -1, -1, -1, -1, -1, -1, -1], [7, 3, 2, 6, 7, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [2, 3, 11, 10, 6, 8, 10, 8, 9, 8, 6, 7, -1, -1, -1, -1], [2, 0, 7, 2, 7, 11, 0, 9, 7, 6, 7, 10, 9, 10, 7, -1], [1, 8, 0, 1, 7, 8, 1, 10, 7, 6, 7, 10, 2, 3, 11, -1], [11, 2, 1, 11, 1, 7, 10, 6, 1, 6, 7, 1, -1, -1, -1, -1], [8, 9, 6, 8, 6, 7, 9, 1, 6, 11, 6, 3, 1, 3, 6, -1], [0, 9, 1, 11, 6, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [7, 8, 0, 7, 0, 6, 3, 11, 0, 11, 6, 0, -1, -1, -1, -1], [7, 11, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [7, 6, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [3, 0, 8, 11, 7, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 1, 9, 11, 7, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [8, 1, 9, 8, 3, 1, 11, 7, 6, -1, -1, -1, -1, -1, -1, -1], [10, 1, 2, 6, 11, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 2, 10, 3, 0, 8, 6, 11, 7, -1, -1, -1, -1, -1, -1, -1], [2, 9, 0, 2, 10, 9, 6, 11, 7, -1, -1, -1, -1, -1, -1, -1], [6, 11, 7, 2, 10, 3, 10, 8, 3, 10, 9, 8, -1, -1, -1, -1], [7, 2, 3, 6, 2, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [7, 0, 8, 7, 6, 0, 6, 2, 0, -1, -1, -1, -1, -1, -1, -1], [2, 7, 6, 2, 3, 7, 0, 1, 9, -1, -1, -1, -1, -1, -1, -1], [1, 6, 2, 1, 8, 6, 1, 9, 8, 8, 7, 6, -1, -1, -1, -1], [10, 7, 6, 10, 1, 7, 1, 3, 7, -1, -1, -1, -1, -1, -1, -1], [10, 7, 6, 1, 7, 10, 1, 8, 7, 1, 0, 8, -1, -1, -1, -1], [0, 3, 7, 0, 7, 10, 0, 10, 9, 6, 10, 7, -1, -1, -1, -1], [7, 6, 10, 7, 10, 8, 8, 10, 9, -1, -1, -1, -1, -1, -1, -1], [6, 8, 4, 11, 8, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [3, 6, 11, 3, 0, 6, 0, 4, 6, -1, -1, -1, -1, -1, -1, -1], [8, 6, 11, 8, 4, 6, 9, 0, 1, -1, -1, -1, -1, -1, -1, -1], [9, 4, 6, 9, 6, 3, 9, 3, 1, 11, 3, 6, -1, -1, -1, -1], [6, 8, 4, 6, 11, 8, 2, 10, 1, -1, -1, -1, -1, -1, -1, -1], [1, 2, 10, 3, 0, 11, 0, 6, 11, 0, 4, 6, -1, -1, -1, -1], [4, 11, 8, 4, 6, 11, 0, 2, 9, 2, 10, 9, -1, -1, -1, -1], [10, 9, 3, 10, 3, 2, 9, 4, 3, 11, 3, 6, 4, 6, 3, -1], [8, 2, 3, 8, 4, 2, 4, 6, 2, -1, -1, -1, -1, -1, -1, -1], [0, 4, 2, 4, 6, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 9, 0, 2, 3, 4, 2, 4, 6, 4, 3, 8, -1, -1, -1, -1], [1, 9, 4, 1, 4, 2, 2, 4, 6, -1, -1, -1, -1, -1, -1, -1], [8, 1, 3, 8, 6, 1, 8, 4, 6, 6, 10, 1, -1, -1, -1, -1], [10, 1, 0, 10, 0, 6, 6, 0, 4, -1, -1, -1, -1, -1, -1, -1], [4, 6, 3, 4, 3, 8, 6, 10, 3, 0, 3, 9, 10, 9, 3, -1], [10, 9, 4, 6, 10, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 9, 5, 7, 6, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 8, 3, 4, 9, 5, 11, 7, 6, -1, -1, -1, -1, -1, -1, -1], [5, 0, 1, 5, 4, 0, 7, 6, 11, -1, -1, -1, -1, -1, -1, -1], [11, 7, 6, 8, 3, 4, 3, 5, 4, 3, 1, 5, -1, -1, -1, -1], [9, 5, 4, 10, 1, 2, 7, 6, 11, -1, -1, -1, -1, -1, -1, -1], [6, 11, 7, 1, 2, 10, 0, 8, 3, 4, 9, 5, -1, -1, -1, -1], [7, 6, 11, 5, 4, 10, 4, 2, 10, 4, 0, 2, -1, -1, -1, -1], [3, 4, 8, 3, 5, 4, 3, 2, 5, 10, 5, 2, 11, 7, 6, -1], [7, 2, 3, 7, 6, 2, 5, 4, 9, -1, -1, -1, -1, -1, -1, -1], [9, 5, 4, 0, 8, 6, 0, 6, 2, 6, 8, 7, -1, -1, -1, -1], [3, 6, 2, 3, 7, 6, 1, 5, 0, 5, 4, 0, -1, -1, -1, -1], [6, 2, 8, 6, 8, 7, 2, 1, 8, 4, 8, 5, 1, 5, 8, -1], [9, 5, 4, 10, 1, 6, 1, 7, 6, 1, 3, 7, -1, -1, -1, -1], [1, 6, 10, 1, 7, 6, 1, 0, 7, 8, 7, 0, 9, 5, 4, -1], [4, 0, 10, 4, 10, 5, 0, 3, 10, 6, 10, 7, 3, 7, 10, -1], [7, 6, 10, 7, 10, 8, 5, 4, 10, 4, 8, 10, -1, -1, -1, -1], [6, 9, 5, 6, 11, 9, 11, 8, 9, -1, -1, -1, -1, -1, -1, -1], [3, 6, 11, 0, 6, 3, 0, 5, 6, 0, 9, 5, -1, -1, -1, -1], [0, 11, 8, 0, 5, 11, 0, 1, 5, 5, 6, 11, -1, -1, -1, -1], [6, 11, 3, 6, 3, 5, 5, 3, 1, -1, -1, -1, -1, -1, -1, -1], [1, 2, 10, 9, 5, 11, 9, 11, 8, 11, 5, 6, -1, -1, -1, -1], [0, 11, 3, 0, 6, 11, 0, 9, 6, 5, 6, 9, 1, 2, 10, -1], [11, 8, 5, 11, 5, 6, 8, 0, 5, 10, 5, 2, 0, 2, 5, -1], [6, 11, 3, 6, 3, 5, 2, 10, 3, 10, 5, 3, -1, -1, -1, -1], [5, 8, 9, 5, 2, 8, 5, 6, 2, 3, 8, 2, -1, -1, -1, -1], [9, 5, 6, 9, 6, 0, 0, 6, 2, -1, -1, -1, -1, -1, -1, -1], [1, 5, 8, 1, 8, 0, 5, 6, 8, 3, 8, 2, 6, 2, 8, -1], [1, 5, 6, 2, 1, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 3, 6, 1, 6, 10, 3, 8, 6, 5, 6, 9, 8, 9, 6, -1], [10, 1, 0, 10, 0, 6, 9, 5, 0, 5, 6, 0, -1, -1, -1, -1], [0, 3, 8, 5, 6, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [10, 5, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [11, 5, 10, 7, 5, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [11, 5, 10, 11, 7, 5, 8, 3, 0, -1, -1, -1, -1, -1, -1, -1], [5, 11, 7, 5, 10, 11, 1, 9, 0, -1, -1, -1, -1, -1, -1, -1], [10, 7, 5, 10, 11, 7, 9, 8, 1, 8, 3, 1, -1, -1, -1, -1], [11, 1, 2, 11, 7, 1, 7, 5, 1, -1, -1, -1, -1, -1, -1, -1], [0, 8, 3, 1, 2, 7, 1, 7, 5, 7, 2, 11, -1, -1, -1, -1], [9, 7, 5, 9, 2, 7, 9, 0, 2, 2, 11, 7, -1, -1, -1, -1], [7, 5, 2, 7, 2, 11, 5, 9, 2, 3, 2, 8, 9, 8, 2, -1], [2, 5, 10, 2, 3, 5, 3, 7, 5, -1, -1, -1, -1, -1, -1, -1], [8, 2, 0, 8, 5, 2, 8, 7, 5, 10, 2, 5, -1, -1, -1, -1], [9, 0, 1, 5, 10, 3, 5, 3, 7, 3, 10, 2, -1, -1, -1, -1], [9, 8, 2, 9, 2, 1, 8, 7, 2, 10, 2, 5, 7, 5, 2, -1], [1, 3, 5, 3, 7, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 8, 7, 0, 7, 1, 1, 7, 5, -1, -1, -1, -1, -1, -1, -1], [9, 0, 3, 9, 3, 5, 5, 3, 7, -1, -1, -1, -1, -1, -1, -1], [9, 8, 7, 5, 9, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [5, 8, 4, 5, 10, 8, 10, 11, 8, -1, -1, -1, -1, -1, -1, -1], [5, 0, 4, 5, 11, 0, 5, 10, 11, 11, 3, 0, -1, -1, -1, -1], [0, 1, 9, 8, 4, 10, 8, 10, 11, 10, 4, 5, -1, -1, -1, -1], [10, 11, 4, 10, 4, 5, 11, 3, 4, 9, 4, 1, 3, 1, 4, -1], [2, 5, 1, 2, 8, 5, 2, 11, 8, 4, 5, 8, -1, -1, -1, -1], [0, 4, 11, 0, 11, 3, 4, 5, 11, 2, 11, 1, 5, 1, 11, -1], [0, 2, 5, 0, 5, 9, 2, 11, 5, 4, 5, 8, 11, 8, 5, -1], [9, 4, 5, 2, 11, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [2, 5, 10, 3, 5, 2, 3, 4, 5, 3, 8, 4, -1, -1, -1, -1], [5, 10, 2, 5, 2, 4, 4, 2, 0, -1, -1, -1, -1, -1, -1, -1], [3, 10, 2, 3, 5, 10, 3, 8, 5, 4, 5, 8, 0, 1, 9, -1], [5, 10, 2, 5, 2, 4, 1, 9, 2, 9, 4, 2, -1, -1, -1, -1], [8, 4, 5, 8, 5, 3, 3, 5, 1, -1, -1, -1, -1, -1, -1, -1], [0, 4, 5, 1, 0, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [8, 4, 5, 8, 5, 3, 9, 0, 5, 0, 3, 5, -1, -1, -1, -1], [9, 4, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 11, 7, 4, 9, 11, 9, 10, 11, -1, -1, -1, -1, -1, -1, -1], [0, 8, 3, 4, 9, 7, 9, 11, 7, 9, 10, 11, -1, -1, -1, -1], [1, 10, 11, 1, 11, 4, 1, 4, 0, 7, 4, 11, -1, -1, -1, -1], [3, 1, 4, 3, 4, 8, 1, 10, 4, 7, 4, 11, 10, 11, 4, -1], [4, 11, 7, 9, 11, 4, 9, 2, 11, 9, 1, 2, -1, -1, -1, -1], [9, 7, 4, 9, 11, 7, 9, 1, 11, 2, 11, 1, 0, 8, 3, -1], [11, 7, 4, 11, 4, 2, 2, 4, 0, -1, -1, -1, -1, -1, -1, -1], [11, 7, 4, 11, 4, 2, 8, 3, 4, 3, 2, 4, -1, -1, -1, -1], [2, 9, 10, 2, 7, 9, 2, 3, 7, 7, 4, 9, -1, -1, -1, -1], [9, 10, 7, 9, 7, 4, 10, 2, 7, 8, 7, 0, 2, 0, 7, -1], [3, 7, 10, 3, 10, 2, 7, 4, 10, 1, 10, 0, 4, 0, 10, -1], [1, 10, 2, 8, 7, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 9, 1, 4, 1, 7, 7, 1, 3, -1, -1, -1, -1, -1, -1, -1], [4, 9, 1, 4, 1, 7, 0, 8, 1, 8, 7, 1, -1, -1, -1, -1], [4, 0, 3, 7, 4, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [4, 8, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [9, 10, 8, 10, 11, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [3, 0, 9, 3, 9, 11, 11, 9, 10, -1, -1, -1, -1, -1, -1, -1], [0, 1, 10, 0, 10, 8, 8, 10, 11, -1, -1, -1, -1, -1, -1, -1], [3, 1, 10, 11, 3, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 2, 11, 1, 11, 9, 9, 11, 8, -1, -1, -1, -1, -1, -1, -1], [3, 0, 9, 3, 9, 11, 1, 2, 9, 2, 11, 9, -1, -1, -1, -1], [0, 2, 11, 8, 0, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [3, 2, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [2, 3, 8, 2, 8, 10, 10, 8, 9, -1, -1, -1, -1, -1, -1, -1], [9, 10, 2, 0, 9, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [2, 3, 8, 2, 8, 10, 0, 1, 8, 1, 10, 8, -1, -1, -1, -1], [1, 10, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [1, 3, 8, 9, 1, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 9, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [0, 3, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ] def polygonise(cornervalues, isolevel, x1, y1, z1, x2, y2, z2): # Determine the index into the edge table which # tells us which vertices are inside of the surface cubeindex = 0 if cornervalues[0] < isolevel: cubeindex = cubeindex | 1 if cornervalues[1] < isolevel: cubeindex = cubeindex | 2 if cornervalues[2] < isolevel: cubeindex = cubeindex | 4 if cornervalues[3] < isolevel: cubeindex = cubeindex | 8 if cornervalues[4] < isolevel: cubeindex = cubeindex | 16 if cornervalues[5] < isolevel: cubeindex = cubeindex | 32 if cornervalues[6] < isolevel: cubeindex = cubeindex | 64 if cornervalues[7] < isolevel: cubeindex = cubeindex | 128 # Cube is entirely in/out of the surface if edgetable[cubeindex] == 0: return [] vertlist=[[]]*12 # Find the vertices where the surface intersects the cube if (edgetable[cubeindex] & 1): vertlist[0] = vertexinterp(isolevel,[x1,y1,z1],[x1,y2,z1],cornervalues[0],cornervalues[1]) if (edgetable[cubeindex] & 2): vertlist[1] = vertexinterp(isolevel,[x1,y2,z1],[x2,y2,z1],cornervalues[1],cornervalues[2]) if (edgetable[cubeindex] & 4): vertlist[2] = vertexinterp(isolevel,[x2,y2,z1],[x2,y1,z1],cornervalues[2],cornervalues[3]) if (edgetable[cubeindex] & 8): vertlist[3] = vertexinterp(isolevel,[x2,y1,z1],[x1,y1,z1],cornervalues[3],cornervalues[0]) if (edgetable[cubeindex] & 16): vertlist[4] = vertexinterp(isolevel,[x1,y1,z2],[x1,y2,z2],cornervalues[4],cornervalues[5]) if (edgetable[cubeindex] & 32): vertlist[5] = vertexinterp(isolevel,[x1,y2,z2],[x2,y2,z2],cornervalues[5],cornervalues[6]) if (edgetable[cubeindex] & 64): vertlist[6] = vertexinterp(isolevel,[x2,y2,z2],[x2,y1,z2],cornervalues[6],cornervalues[7]) if (edgetable[cubeindex] & 128): vertlist[7] = vertexinterp(isolevel,[x2,y1,z2],[x1,y1,z2],cornervalues[7],cornervalues[4]) if (edgetable[cubeindex] & 256): vertlist[8] = vertexinterp(isolevel,[x1,y1,z1],[x1,y1,z2],cornervalues[0],cornervalues[4]) if (edgetable[cubeindex] & 512): vertlist[9] = vertexinterp(isolevel,[x1,y2,z1],[x1,y2,z2],cornervalues[1],cornervalues[5]) if (edgetable[cubeindex] & 1024): vertlist[10] = vertexinterp(isolevel,[x2,y2,z1],[x2,y2,z2],cornervalues[2],cornervalues[6]) if (edgetable[cubeindex] & 2048): vertlist[11] = vertexinterp(isolevel,[x2,y1,z1],[x2,y1,z2],cornervalues[3],cornervalues[7]) #Create the triangle triangles = [] i=0 while tritable[cubeindex][i] != -1: triangles.append([vertlist[tritable[cubeindex][i ]], vertlist[tritable[cubeindex][i+1]], vertlist[tritable[cubeindex][i+2]]]) i+=3 return triangles def vertexinterp(isolevel,p1,p2,valp1,valp2): if (ABS(isolevel-valp1) < 0.00001): return p1 if (ABS(isolevel-valp2) < 0.00001): return p2 if (ABS(valp1-valp2) < 0.00001): return p1 mu = (isolevel - valp1) / (valp2 - valp1); x = p1[0] + mu * (p2[0] - p1[0]); y = p1[1] + mu * (p2[1] - p1[1]); z = p1[2] + mu * (p2[2] - p1[2]); return x,y,z def create_mesh_for(objname,verts,faces): me = bpy.data.meshes.new(objname) # create a new mesh me.from_pydata(verts,[],faces) me.update() # update the mesh with the new data bm = bmesh.new() bm.from_mesh(me) bmesh.ops.remove_doubles(bm, verts=bm.verts, dist=0.01) bm.to_mesh(me) ob = bpy.data.objects.new(objname,me) # create a new object ob.data = me # link the mesh data to the object return ob def creategeometry(verts): faces=[] faceoffset=0 for ver in verts: if len(ver)==4: faces.append((faceoffset+0,faceoffset+1,faceoffset+2,faceoffset+3)) faceoffset+=4 elif len(ver)==3: faces.append((faceoffset+0,faceoffset+1,faceoffset+2)) faceoffset+=3 return list(chain.from_iterable(verts)),faces def make_object_in_scene(verts, scene,contour): verts,faces=creategeometry(verts) object_name = "orb_n=" + str(n) + "_" + " " + "l=" + str(l) + " " + "_" + "m=" + str(m) block=create_mesh_for(object_name,verts,faces) bpy.context.collection.objects.link(block) selectobj(block) return block def selectobj(obj): for o2 in bpy.context.scene.objects: if o2==obj: o2.select_set(state=True) def arange(start, stop, step): r = start while r < stop: yield r r += step def cellloop(p0,p1,r): for z in arange(p0[2],p1[2],r[2]): for y in arange(p0[1],p1[1],r[1]): for x in arange(p0[0],p1[0],r[0]): yield x,y,z def cornerloop(x,y,z): for cz in (0,z): for cy,cx in zip((0,y,y,0),(0,0,x,x)): yield cx,cy,cz def isosurface(p0,p1,resolution,isostep,isofunc,n_o_c): r=[(x1-x0)/sw for x0,x1,sw in zip(p0,p1,resolution)] triangles=[] z_a = p0[2] z_plane_a = [ [ isofunc([x,y,z_a]) for y in arange(p0[1], p1[1], r[1]) ] for x in arange(p0[0], p1[0], r[0])] # print("z_plane_a = ") # print(z_plane_a) # print(len(z_plane_a[0])) # print(" ") c_loop_1 = list( cornerloop(1,1,1) ) cornervalues = [0]*8 # for each z plane value do: for z in arange(p0[2], p1[2], r[2]): z2 = z + r[2] z_plane_b = [ [ isofunc([x,y, z2]) for y in arange(p0[1], p1[1], r[1])] for x in arange(p0[0], p1[0], r[0])] #for each y plane do: for yi in range(len(z_plane_a[0])-1): y = p0[1]+yi*r[1] y2 = y + r[1] #for each x plane do: for xi in range(len(z_plane_a)-1): x = p0[0]+xi*r[0] x2 = x + r[0] if True: cornervalues = [ z_plane_a[xi][yi], z_plane_a[xi][yi+1], z_plane_a[xi+1][yi+1], z_plane_a[xi+1][yi], z_plane_b[xi][yi], z_plane_b[xi][yi+1], z_plane_b[xi+1][yi+1], z_plane_b[xi+1][yi], ] else: cornervalues = [ (z_plane_a if cz==0 else z_plane_b)[xi+cx][yi+cy] for cx,cy,cz in c_loop_1] for contour in range(1, n_o_c + 1, 1): isolevel = (contour) * isostep triangles.extend(polygonise(cornervalues, isolevel, x,y,z, x2, y2, z2)) z_plane_a = z_plane_b return make_object_in_scene(triangles, bpy.context.scene, n_o_c) def find_3dview_space(): # Find 3D_View window and its scren space area = None for a in bpy.data.window_managers[0].windows[0].screen.areas: if a.type == 'VIEW_3D': area = a break if area: space = area.spaces[0] else: space = bpy.context.space_data return space def display_orbital(n,l,m,n_o_c,box_size,resolution,isostep): """Diplays a 3D view of electron orbitals""" P_tex = "" #initialize the LaTex string of the probabilities #Validate the quantum numbers assert(n>=1), "n must be greater or equal to 1" #validate the value of n assert(0<=l<=n-1), "l must be between 0 and n-1" #validate the value of l assert(-l<=m<=l), "p must be between -l and l" #validate the value of p #Determine the probability equation symbolically and convert #it to a string prob = lambdastr((radius,angle_phi,angle_theta), P(radius,n,l,m,angle_phi,angle_theta)) # print(prob) #record the probability equation as a LaTex string P_eq = simplify(P(r,n,l,m,phi,theta)) P_tex+="$$P ="+latex(P_eq)+"$$ \n\n " if '(nan)' in prob: #Check for errors in the equation print("There is a problem with the probability function.") raise ValueError #Convert the finctions in the probability equation from the sympy #library to the numpy library to allow for the use of matrix #calculations prob = prob.replace('math.sin','np.sin') #convert to numpy prob = prob.replace('math.cos','np.cos') #convert to numpy prob = prob.replace('math.Abs','np.abs') #convert to numpy prob = prob.replace('math.pi','np.pi') #convert to numpy prob = prob.replace('math.exp','np.exp') #convert to numpy # print("Sybolic Prob function: ") # print(prob) #convert the converted string to a callable functio Prob = eval(prob) #go and let the marching boxes do their thing and create the isosurface mesh main(Prob,r_fun,phi_fun,theta_fun,n_o_c,box_size,resolution,isostep) return def create_blender_objects(n_o_c, isostep,n,l,m): #box-size is based on quantum number n as the size of the final generated #object changes with n. If you get divide by zero error ensure that list entry sizes are uneven box_size_list = [5,13,35,70,110,180,250] box_size = box_size_list[n-1] #mesh resolution in x,y & z direction of the grid (eg. 25 means 25x25x25 = 15,625 cubes) #If a resolution less than 150 is used the marching cubes algiritm has difficulty creating smooth #meshes in the higher n values resolution = 150 P_tex = "" #initialize the LaTex string of the probabilities #Create isosurface meshes for each isostep display_orbital(n,l,m,n_o_c,box_size,resolution,isostep) #add material to the generated isosurface object(s) bpy.ops.object.select_all(action='DESELECT') objectname = "orb_n=" + str(n) + "_" + " " + "l=" + str(l) + " " + "_" + "m=" + str(m) ob = bpy.data.objects[objectname] # Get material mat = bpy.data.materials.get("Iso 01") if mat is None: # create material mat = bpy.data.materials.new(name="Iso 01") # Assign it to object if ob.data.materials: # assign to 1st material slot ob.data.materials[0] = mat else: # no slots ob.data.materials.append(mat) #recalculate normals to outside ob.select_set(state=True) bpy.context.view_layer.objects.active = ob # go edit mode bpy.ops.object.mode_set(mode='EDIT') # select al faces bpy.ops.mesh.select_all(action='SELECT') # recalculate outside normals bpy.ops.mesh.normals_make_consistent(inside=False) # go object mode again bpy.ops.object.editmode_toggle() #move object to new location based on n,l & m multiplied by offset offset=440 bpy.context.object.location[0] = n*offset #x bpy.context.object.location[1] = -m*offset #y bpy.context.object.location[2] = l*offset #z bpy.ops.object.shade_smooth() print("orb_n=" + str(n) + "_" + " " + "l=" + str(l) + " " + "_" + "m=" + str(m) + " created") #Recursivly transverse layer_collection for a particular name def recurLayerCollection(layerColl, collName): found = None if (layerColl.name == collName): return layerColl for layer in layerColl.children: found = recurLayerCollection(layer, collName) if found: return found ################################################################################################## # Start np.seterr(divide='ignore', invalid='ignore') #Needed in display_orbital r_fun = lambda _x,_y,_z: (np.sqrt(_x**2+_y**2+_z**2)) theta_fun = lambda _x,_y,_z: (np.arccos(_z/r_fun(_x,_y,_z))) phi_fun = lambda _x,_y,_z: (np.arctan(_y/_x)*(1+_z-_z)) vec=mathutils.Vector ABS=abs #Change the Active LayerCollection to 'Orbitals' (the n.l.m Blender onjects will live here) layer_collection = bpy.context.view_layer.layer_collection layerColl = recurLayerCollection(layer_collection, 'Orbitals') bpy.context.view_layer.active_layer_collection = layerColl #Delete previous generated Blender MESH objects bpy.ops.object.select_all(action='DESELECT') for ob in bpy.context.scene.objects: if ob.type == 'MESH' and ob.name.startswith("orb_"): #Select the object ob.select_set(state=True) #Delete all objects selected above bpy.ops.object.delete() #number of isosurfaces to build within the gridbox n_o_c = 1 #probability space between isosurfaces isostep = 0.1 #if what is 'single' only one n,l & m blender object will be created, if it is anything else multiple blender objects for n,l,m will be created what='single' if what == 'single': #Single n,l,m blender object will be created #n is the principle quantum number and relates to the period the element is in, or the shell. n = 1 #l is the angular momentum quantum number which defines the sub shell s, p, d, f, of which there are #n subshells whose values are 0 <= l <= (n-1) l = 0 #m is the magnetic quantum number which further subdivides the subshell into orbitals, of which #there are 2l + 1 orbitals whose values are -l <= m <= +l m = 0 create_blender_objects(n_o_c, isostep,n,l,m) else: #multiple n,l,m blender objects will be created #n is the principle quantum number and relates to the period the element is in, or the shell. for n in range(1,8): #l is the angular momentum quantum number which defines the sub shell s, p, d, f, of which there are #n subshells whose values are 0 <= l <= (n-1) for l in range(0,n): #m is the magnetic quantum number which further subdivides the subshell into orbitals, of which #there are 2l + 1 orbitals whose values are -l <= m <= +l for m in range(-l,l+1): create_blender_objects(n_o_c, isostep,n,l,m) bpy.ops.object.select_all(action='DESELECT') elapsed = time.time()-start elapsed =round(elapsed) conversion = datetime.timedelta(seconds=elapsed) converted_time = str(conversion) print("Elapsed Time %r"%converted_time)
49.255875
183
0.444023
7,107
37,730
2.323062
0.083861
0.173834
0.218231
0.236705
0.36808
0.324409
0.283949
0.238886
0.220351
0.184797
0
0.221084
0.317148
37,730
766
184
49.255875
0.419733
0.117042
0
0.040541
0
0
0.017207
0.000867
0.005068
0
0.039057
0
0.005068
1
0.038851
false
0
0.028716
0
0.103041
0.016892
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1503b1c8a9287a04c8c8b4c4c218512d4f16c3ae
25
py
Python
doc/source/quantumclient/v2_0/client.py
MrCocoaCat/ryu
9e9571991a73380099b7ba7c6f37e0e587080a6a
[ "Apache-2.0" ]
null
null
null
doc/source/quantumclient/v2_0/client.py
MrCocoaCat/ryu
9e9571991a73380099b7ba7c6f37e0e587080a6a
[ "Apache-2.0" ]
null
null
null
doc/source/quantumclient/v2_0/client.py
MrCocoaCat/ryu
9e9571991a73380099b7ba7c6f37e0e587080a6a
[ "Apache-2.0" ]
null
null
null
""" dummy module. """
6.25
14
0.44
2
25
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.28
25
3
15
8.333333
0.611111
0.52
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1512d4877d7317123cde81ddc41987c4e0769f02
130
py
Python
model/__init__.py
stash-196/cv_dnn
5f962bf82b05c0c23eea429a37a35aa52467c96d
[ "MIT" ]
null
null
null
model/__init__.py
stash-196/cv_dnn
5f962bf82b05c0c23eea429a37a35aa52467c96d
[ "MIT" ]
null
null
null
model/__init__.py
stash-196/cv_dnn
5f962bf82b05c0c23eea429a37a35aa52467c96d
[ "MIT" ]
null
null
null
from model.get_model import getModel from model.simple_cnn_model import SimpleCNNModel __all__ = ['getModel', 'SimpleCNNModel']
21.666667
49
0.815385
16
130
6.1875
0.5625
0.181818
0
0
0
0
0
0
0
0
0
0
0.107692
130
5
50
26
0.853448
0
0
0
0
0
0.169231
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
129e32cc907ca30e57db6af617d8334c3b2ac965
50,294
py
Python
blender/arm/lightmapper/utility/build.py
t3du/armory
76c3a7be84790821902430e170c29d6be274732d
[ "Zlib" ]
1
2022-03-07T22:04:26.000Z
2022-03-07T22:04:26.000Z
blender/arm/lightmapper/utility/build.py
t3du/armory
76c3a7be84790821902430e170c29d6be274732d
[ "Zlib" ]
null
null
null
blender/arm/lightmapper/utility/build.py
t3du/armory
76c3a7be84790821902430e170c29d6be274732d
[ "Zlib" ]
null
null
null
import bpy, os, subprocess, sys, platform, aud, json, datetime, socket from . import encoding, pack, log from . cycles import lightmap, prepare, nodes, cache from . luxcore import setup from . octane import configure, lightmap2 from . denoiser import integrated, oidn, optix from . filtering import opencv from . gui import Viewport from .. network import client from os import listdir from os.path import isfile, join from time import time, sleep from importlib import util previous_settings = {} postprocess_shutdown = False logging = True def prepare_build(self=0, background_mode=False, shutdown_after_build=False): global tlm_log tlm_log = log.TLM_Logman() bpy.app.driver_namespace["logman"] = tlm_log tlm_log.append("Preparing build") if shutdown_after_build: postprocess_shutdown = True print("Building lightmaps") if bpy.context.scene.TLM_EngineProperties.tlm_lighting_mode == "combinedao": scene = bpy.context.scene if not "tlm_plus_mode" in bpy.app.driver_namespace or bpy.app.driver_namespace["tlm_plus_mode"] == 0: filepath = bpy.data.filepath dirpath = os.path.join(os.path.dirname(bpy.data.filepath), scene.TLM_EngineProperties.tlm_lightmap_savedir) if os.path.isdir(dirpath): for file in os.listdir(dirpath): os.remove(os.path.join(dirpath + "/" + file)) bpy.app.driver_namespace["tlm_plus_mode"] = 1 print("Plus Mode") if bpy.context.scene.TLM_EngineProperties.tlm_bake_mode == "Foreground" or background_mode==True: global start_time start_time = time() bpy.app.driver_namespace["tlm_start_time"] = time() scene = bpy.context.scene sceneProperties = scene.TLM_SceneProperties if not background_mode and bpy.context.scene.TLM_EngineProperties.tlm_lighting_mode != "combinedao" and bpy.context.scene.TLM_EngineProperties.tlm_lighting_mode != "indirectao": #pass setGui(1) if check_save(): print("Please save your file first") self.report({'INFO'}, "Please save your file first") setGui(0) return{'FINISHED'} if check_denoiser(): print("No denoise OIDN path assigned") self.report({'INFO'}, "No denoise OIDN path assigned. Check that it points to the correct executable.") setGui(0) return{'FINISHED'} if check_materials(): print("Error with material") self.report({'INFO'}, "Error with material") setGui(0) return{'FINISHED'} if opencv_check(): if sceneProperties.tlm_filtering_use: print("Error:Filtering - OpenCV not installed") self.report({'INFO'}, "Error:Filtering - OpenCV not installed") setGui(0) return{'FINISHED'} setMode() dirpath = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) if not os.path.isdir(dirpath): os.mkdir(dirpath) #Naming check naming_check() if sceneProperties.tlm_lightmap_engine == "Cycles": prepare.init(self, previous_settings) if sceneProperties.tlm_lightmap_engine == "LuxCoreRender": setup.init(self, previous_settings) if sceneProperties.tlm_lightmap_engine == "OctaneRender": configure.init(self, previous_settings) begin_build() else: print("Baking in background") filepath = bpy.data.filepath bpy.ops.wm.save_as_mainfile(filepath=bpy.data.filepath) start_time = time() scene = bpy.context.scene sceneProperties = scene.TLM_SceneProperties #Timer start here bound to global if check_save(): print("Please save your file first") self.report({'INFO'}, "Please save your file first") return{'FINISHED'} if check_denoiser(): print("No denoise OIDN path assigned") self.report({'INFO'}, "No denoise OIDN path assigned") return{'FINISHED'} if check_materials(): print("Error with material") self.report({'INFO'}, "Error with material") return{'FINISHED'} if opencv_check(): if sceneProperties.tlm_filtering_use: print("Error:Filtering - OpenCV not installed") self.report({'INFO'}, "Error:Filtering - OpenCV not installed") return{'FINISHED'} dirpath = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) if not os.path.isdir(dirpath): os.mkdir(dirpath) #Naming check naming_check() if scene.TLM_SceneProperties.tlm_network_render: print("NETWORK RENDERING") if scene.TLM_SceneProperties.tlm_network_paths != None: HOST = bpy.data.texts[scene.TLM_SceneProperties.tlm_network_paths.name].lines[0].body # The server's hostname or IP address else: HOST = '127.0.0.1' # The server's hostname or IP address PORT = 9898 # The port used by the server client.connect_client(HOST, PORT, bpy.data.filepath, 0) finish_assemble() else: print("Background driver process") bpy.app.driver_namespace["alpha"] = 0 bpy.app.driver_namespace["tlm_process"] = False if os.path.exists(os.path.join(dirpath, "process.tlm")): os.remove(os.path.join(dirpath, "process.tlm")) bpy.app.timers.register(distribute_building) def distribute_building(): print("Distributing lightmap building") #CHECK IF THERE'S AN EXISTING SUBPROCESS if not os.path.isfile(os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir, "process.tlm")): if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("No process file - Creating one...") tlm_log.append("No process file - Creating one...") write_directory = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) blendPath = bpy.data.filepath process_status = [blendPath, {'bake': 'all', 'completed': False }] with open(os.path.join(write_directory, "process.tlm"), 'w') as file: json.dump(process_status, file, indent=2) if (2, 91, 0) > bpy.app.version: if bpy.context.scene.TLM_SceneProperties.tlm_verbose: bpy.app.driver_namespace["tlm_process"] = subprocess.Popen([sys.executable,"-b", blendPath,"--python-expr",'import bpy; import thelightmapper; thelightmapper.addon.utility.build.prepare_build(0, True);'], shell=False, stdout=subprocess.PIPE) else: bpy.app.driver_namespace["tlm_process"] = subprocess.Popen([sys.executable,"-b", blendPath,"--python-expr",'import bpy; import thelightmapper; thelightmapper.addon.utility.build.prepare_build(0, True);'], shell=False, stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL) else: if bpy.context.scene.TLM_SceneProperties.tlm_verbose: bpy.app.driver_namespace["tlm_process"] = subprocess.Popen([bpy.app.binary_path,"-b", blendPath,"--python-expr",'import bpy; import thelightmapper; thelightmapper.addon.utility.build.prepare_build(0, True);'], shell=False, stdout=subprocess.PIPE) else: bpy.app.driver_namespace["tlm_process"] = subprocess.Popen([bpy.app.binary_path,"-b", blendPath,"--python-expr",'import bpy; import thelightmapper; thelightmapper.addon.utility.build.prepare_build(0, True);'], shell=False, stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL) tlm_log.append("Started process: " + str(bpy.app.driver_namespace["tlm_process"]) + " at " + str(datetime.datetime.now())) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Started process: " + str(bpy.app.driver_namespace["tlm_process"]) + " at " + str(datetime.datetime.now())) else: write_directory = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) process_status = json.loads(open(os.path.join(write_directory, "process.tlm")).read()) if process_status[1]["completed"]: tlm_log.append("Baking finished from process. Status: Completed.") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Baking finished") bpy.app.timers.unregister(distribute_building) finish_assemble() else: #Open the json and check the status! tlm_log.append("Process check: Baking in progress.") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Baking in progress") process_status = json.loads(open(os.path.join(write_directory, "process.tlm")).read()) tlm_log.append(process_status) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print(process_status) return 1.0 def finish_assemble(self=0, background_pass=0, load_atlas=0): print("Finishing assembly") tlm_log = log.TLM_Logman() tlm_log.append("Preparing build") if load_atlas: print("Assembly in Atlas load mode") tlm_log.append("Assembly in Atlas load mode") tlm_log.append("Background baking finished") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Background baking finished") scene = bpy.context.scene sceneProperties = scene.TLM_SceneProperties if sceneProperties.tlm_lightmap_engine == "Cycles": prepare.init(self, previous_settings) if sceneProperties.tlm_lightmap_engine == "LuxCoreRender": pass if sceneProperties.tlm_lightmap_engine == "OctaneRender": pass if not 'start_time' in globals(): global start_time start_time = time() if background_pass: manage_build(True, load_atlas) else: manage_build(False, load_atlas) def begin_build(): print("Beginning build") dirpath = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) scene = bpy.context.scene sceneProperties = scene.TLM_SceneProperties if sceneProperties.tlm_lightmap_engine == "Cycles": try: lightmap.bake() except Exception as e: print("An error occured during lightmap baking. See the line below for more detail:") print(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") tlm_log.append("An error occured during lightmap baking. See the line below for more detail:") tlm_log.append(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") if not bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Turn on verbose mode to get more detail.") if sceneProperties.tlm_lightmap_engine == "LuxCoreRender": pass if sceneProperties.tlm_lightmap_engine == "OctaneRender": lightmap2.bake() #Denoiser if sceneProperties.tlm_denoise_use: if sceneProperties.tlm_denoise_engine == "Integrated": baked_image_array = [] dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith("_baked.hdr"): baked_image_array.append(file) tlm_log.append(baked_image_array) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print(baked_image_array) denoiser = integrated.TLM_Integrated_Denoise() denoiser.load(baked_image_array) denoiser.setOutputDir(dirpath) denoiser.denoise() elif sceneProperties.tlm_denoise_engine == "OIDN": baked_image_array = [] dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith("_baked.hdr"): baked_image_array.append(file) oidnProperties = scene.TLM_OIDNEngineProperties denoiser = oidn.TLM_OIDN_Denoise(oidnProperties, baked_image_array, dirpath) try: denoiser.denoise() except Exception as e: print("An error occured during denoising. See the line below for more detail:") print(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") tlm_log.append("An error occured during denoising. See the line below for more detail:") tlm_log.append(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") if not bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Turn on verbose mode to get more detail.") denoiser.clean() del denoiser else: baked_image_array = [] dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith("_baked.hdr"): baked_image_array.append(file) optixProperties = scene.TLM_OptixEngineProperties denoiser = optix.TLM_Optix_Denoise(optixProperties, baked_image_array, dirpath) denoiser.denoise() denoiser.clean() del denoiser #Filtering if sceneProperties.tlm_filtering_use: if sceneProperties.tlm_denoise_use: useDenoise = True else: useDenoise = False filter = opencv.TLM_CV_Filtering try: filter.init(dirpath, useDenoise) except Exception as e: print("An error occured during filtering. See the line below for more detail:") print(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") tlm_log.append("An error occured during filtering. See the line below for more detail:") tlm_log.append(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") if not bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Turn on verbose mode to get more detail.") #Encoding if sceneProperties.tlm_encoding_use and scene.TLM_EngineProperties.tlm_bake_mode != "Background": if sceneProperties.tlm_encoding_device == "CPU": if sceneProperties.tlm_encoding_mode_a == "HDR": if sceneProperties.tlm_format == "EXR": tlm_log.append("EXR Format") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("EXR Format") ren = bpy.context.scene.render ren.image_settings.file_format = "OPEN_EXR" #ren.image_settings.exr_codec = "scene.TLM_SceneProperties.tlm_exr_codec" end = "_baked" baked_image_array = [] if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" #For each image in folder ending in denoised/filtered dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath,file)) img.save_render(img.filepath_raw[:-4] + ".exr") if sceneProperties.tlm_encoding_mode_a == "RGBM": tlm_log.append("ENCODING RGBM") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("ENCODING RGBM") dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] end = "_baked" if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath, file), check_existing=False) tlm_log.append("Encoding:" + str(file)) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Encoding:" + str(file)) encoding.encodeImageRGBMCPU(img, sceneProperties.tlm_encoding_range, dirpath, 0) if sceneProperties.tlm_encoding_mode_a == "RGBD": tlm_log.append("ENCODING RGBD") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("ENCODING RGBD") dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] end = "_baked" if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath, file), check_existing=False) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: tlm_log.append("Encoding:" + str(file)) print("Encoding:" + str(file)) encoding.encodeImageRGBDCPU(img, sceneProperties.tlm_encoding_range, dirpath, 0) if sceneProperties.tlm_encoding_mode_a == "SDR": tlm_log.append("EXR Format") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("EXR Format") ren = bpy.context.scene.render ren.image_settings.file_format = "PNG" #ren.image_settings.exr_codec = "scene.TLM_SceneProperties.tlm_exr_codec" end = "_baked" baked_image_array = [] if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" #For each image in folder ending in denoised/filtered dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath,file)) img.save_render(img.filepath_raw[:-4] + ".png") else: if sceneProperties.tlm_encoding_mode_b == "HDR": if sceneProperties.tlm_format == "EXR": tlm_log.append("EXR Format") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("EXR Format") ren = bpy.context.scene.render ren.image_settings.file_format = "OPEN_EXR" #ren.image_settings.exr_codec = "scene.TLM_SceneProperties.tlm_exr_codec" end = "_baked" baked_image_array = [] if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" #For each image in folder ending in denoised/filtered dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath,file)) img.save_render(img.filepath_raw[:-4] + ".exr") if sceneProperties.tlm_encoding_mode_b == "LogLuv": dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] end = "_baked" if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" #CHECK FOR ATLAS MAPS! for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath, file), check_existing=False) encoding.encodeLogLuvGPU(img, dirpath, 0) if sceneProperties.tlm_split_premultiplied: image_name = img.name if image_name[-4:] == '.exr' or image_name[-4:] == '.hdr': image_name = image_name[:-4] image_name = image_name + '_encoded.png' print("SPLIT PREMULTIPLIED: " + image_name) encoding.splitLogLuvAlpha(os.path.join(dirpath, image_name), dirpath, 0) if sceneProperties.tlm_encoding_mode_b == "RGBM": tlm_log.append("ENCODING RGBM") if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("ENCODING RGBM") dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] end = "_baked" if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath, file), check_existing=False) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Encoding:" + str(file)) encoding.encodeImageRGBMGPU(img, sceneProperties.tlm_encoding_range, dirpath, 0) if sceneProperties.tlm_encoding_mode_b == "RGBD": if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("ENCODING RGBD") dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] end = "_baked" if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath, file), check_existing=False) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Encoding:" + str(file)) encoding.encodeImageRGBDGPU(img, sceneProperties.tlm_encoding_range, dirpath, 0) if sceneProperties.tlm_encoding_mode_b == "PNG": ren = bpy.context.scene.render ren.image_settings.file_format = "PNG" #ren.image_settings.exr_codec = "scene.TLM_SceneProperties.tlm_exr_codec" end = "_baked" baked_image_array = [] if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" #For each image in folder ending in denoised/filtered dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for file in dirfiles: if file.endswith(end + ".hdr"): img = bpy.data.images.load(os.path.join(dirpath,file)) img.save_render(img.filepath_raw[:-4] + ".png") manage_build() def manage_build(background_pass=False, load_atlas=0): print("Managing build") if load_atlas: print("Managing in load atlas mode") scene = bpy.context.scene sceneProperties = scene.TLM_SceneProperties if sceneProperties.tlm_lightmap_engine == "Cycles": if background_pass: print("In background pass") try: nodes.apply_lightmaps() except Exception as e: print("An error occured during lightmap application. See the line below for more detail:") print(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") tlm_log.append("An error occured during lightmap application. See the line below for more detail:") tlm_log.append(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") if not bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Turn on verbose mode to get more detail.") try: nodes.apply_materials(load_atlas) #From here the name is changed... except Exception as e: print("An error occured during material application. See the line below for more detail:") print(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") tlm_log.append("An error occured during material application. See the line below for more detail:") tlm_log.append(f"{type(e).__name__} at line {e.__traceback__.tb_lineno} of {__file__}: {e}") if not bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Turn on verbose mode to get more detail.") end = "_baked" if sceneProperties.tlm_denoise_use: end = "_denoised" if sceneProperties.tlm_filtering_use: end = "_filtered" formatEnc = ".hdr" if sceneProperties.tlm_encoding_use and scene.TLM_EngineProperties.tlm_bake_mode != "Background": if sceneProperties.tlm_encoding_device == "CPU": print("CPU Encoding") if sceneProperties.tlm_encoding_mode_a == "HDR": if sceneProperties.tlm_format == "EXR": formatEnc = ".exr" if sceneProperties.tlm_encoding_mode_a == "RGBM": formatEnc = "_encoded.png" if sceneProperties.tlm_encoding_mode_a == "RGBD": formatEnc = "_encoded.png" if sceneProperties.tlm_encoding_mode_a == "SDR": formatEnc = ".png" else: print("GPU Encoding") if sceneProperties.tlm_encoding_mode_b == "HDR": if sceneProperties.tlm_format == "EXR": formatEnc = ".exr" if sceneProperties.tlm_encoding_mode_b == "LogLuv": formatEnc = "_encoded.png" if sceneProperties.tlm_encoding_mode_b == "RGBM": formatEnc = "_encoded.png" if sceneProperties.tlm_encoding_mode_b == "RGBD": formatEnc = "_encoded.png" if sceneProperties.tlm_encoding_mode_b == "SDR": formatEnc = ".png" if not background_pass: nodes.exchangeLightmapsToPostfix("_baked", end, formatEnc) if scene.TLM_EngineProperties.tlm_setting_supersample == "2x": supersampling_scale = 2 elif scene.TLM_EngineProperties.tlm_setting_supersample == "4x": supersampling_scale = 4 else: supersampling_scale = 1 pack.postpack() #We need to also make sure out postpacked atlases gets split w. premultiplied #CHECK FOR ATLAS MAPS! if bpy.context.scene.TLM_SceneProperties.tlm_encoding_use and bpy.context.scene.TLM_SceneProperties.tlm_encoding_device == "GPU": if bpy.context.scene.TLM_SceneProperties.tlm_split_premultiplied and bpy.context.scene.TLM_SceneProperties.tlm_encoding_use and bpy.context.scene.TLM_SceneProperties.tlm_encoding_device == "GPU" and bpy.context.scene.TLM_SceneProperties.tlm_encoding_mode_b == "LogLuv": dirpath = os.path.join(os.path.dirname(bpy.data.filepath), scene.TLM_EngineProperties.tlm_lightmap_savedir) dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for atlas in bpy.context.scene.TLM_PostAtlasList: for file in dirfiles: if file.startswith(atlas.name): print("TODO: SPLIT LOGLUV FOR: " + str(file)) encoding.splitLogLuvAlpha(os.path.join(dirpath, file), dirpath, 0) #Need to update file list for some reason? dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] for atlas in bpy.context.scene.TLM_PostAtlasList: #FIND SOME WAY TO FIND THE RIGTH FILE! TOO TIRED NOW! for obj in bpy.context.scene.objects: if obj.TLM_ObjectProperties.tlm_postpack_object: if obj.TLM_ObjectProperties.tlm_postatlas_pointer == atlas.name: for slot in obj.material_slots: mat = slot.material node_tree = mat.node_tree foundBakedNode = False #for file in dirfiles: # if file.startswith(atlas.name): # if file.endswith("XYZ"): #Find nodes for node in node_tree.nodes: if node.name == "TLM_Lightmap": print("Found the main lightmap node: LOGLUV") for file in dirfiles: if file.startswith(atlas.name) and file.endswith("XYZ.png"): print("Found an atlas file: " + str(file)) node.image.filepath_raw = os.path.join(dirpath, file) print("CHANGED LIGHTMAP MAIN INTO XYZ: " + str(file)) if node.name == "TLM_Lightmap_Extra": print("Found the main lightmap node: LOGLUV") for file in dirfiles: if file.startswith(atlas.name) and file.endswith("W.png"): print("Found an atlas file: " + str(file)) node.image.filepath_raw = os.path.join(dirpath, file) print("CHANGED LIGHTMAP MAIN INTO W: " + str(file)) #print("Found the extra lightmap node: LOGLUV") # if node.image.filepath_raw.startswith(atlas.name): # if node.image.filepath_raw.endswith("W.png"): # print("ALREADY W: " + str(node.image.filepath_raw)) # else: # for file in dirfiles: # if file.startswith(atlas.name): # if file.endswith("W.png"): # node.image.filepath_raw = os.path.join(dirpath, file) # print("CHANGED LIGHTMAP MAIN INTO W: " + str(file)) #for file in dirfiles: # if file.endswith(end + ".hdr"): #for atlas in bpy.context.scene.TLM_PostAtlasList: #print("TODO: SPLIT LOGLUV FOR: " + str(atlas.name) + "..file?") #CHECK FOR ATLAS MAPS! #dirfiles = [f for f in listdir(dirpath) if isfile(join(dirpath, f))] # for file in dirfiles: # if file.endswith(end + ".hdr"): # img = bpy.data.images.load(os.path.join(dirpath, file), check_existing=False) # encoding.encodeLogLuvGPU(img, dirpath, 0) # if sceneProperties.tlm_split_premultiplied: # image_name = img.name # if image_name[-4:] == '.exr' or image_name[-4:] == '.hdr': # image_name = image_name[:-4] # image_name = image_name + '_encoded.png' # print("SPLIT PREMULTIPLIED: " + image_name) # encoding.splitLogLuvAlpha(os.path.join(dirpath, image_name), dirpath, 0) for image in bpy.data.images: if image.users < 1: bpy.data.images.remove(image) if scene.TLM_SceneProperties.tlm_headless: filepath = bpy.data.filepath dirpath = os.path.join(os.path.dirname(bpy.data.filepath), scene.TLM_EngineProperties.tlm_lightmap_savedir) for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: cache.backup_material_restore(obj) for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: cache.backup_material_rename(obj) for mat in bpy.data.materials: if mat.users < 1: bpy.data.materials.remove(mat) for mat in bpy.data.materials: if mat.name.startswith("."): if "_Original" in mat.name: bpy.data.materials.remove(mat) for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_unwrap_mode == "AtlasGroupA": atlasName = obj.TLM_ObjectProperties.tlm_atlas_pointer img_name = atlasName + '_baked' Lightmapimage = bpy.data.images[img_name] obj["Lightmap"] = Lightmapimage.filepath_raw elif obj.TLM_ObjectProperties.tlm_postpack_object: atlasName = obj.TLM_ObjectProperties.tlm_postatlas_pointer img_name = atlasName + '_baked' + ".hdr" Lightmapimage = bpy.data.images[img_name] obj["Lightmap"] = Lightmapimage.filepath_raw else: img_name = obj.name + '_baked' Lightmapimage = bpy.data.images[img_name] obj["Lightmap"] = Lightmapimage.filepath_raw for image in bpy.data.images: if image.name.endswith("_baked"): bpy.data.images.remove(image, do_unlink=True) if "tlm_plus_mode" in bpy.app.driver_namespace: #First DIR pass if bpy.app.driver_namespace["tlm_plus_mode"] == 1: #First DIR pass filepath = bpy.data.filepath dirpath = os.path.join(os.path.dirname(bpy.data.filepath), scene.TLM_EngineProperties.tlm_lightmap_savedir) for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: cache.backup_material_restore(obj) for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: cache.backup_material_rename(obj) for mat in bpy.data.materials: if mat.users < 1: bpy.data.materials.remove(mat) for mat in bpy.data.materials: if mat.name.startswith("."): if "_Original" in mat.name: bpy.data.materials.remove(mat) for image in bpy.data.images: if image.name.endswith("_baked"): bpy.data.images.remove(image, do_unlink=True) dirpath = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) files = os.listdir(dirpath) for index, file in enumerate(files): filename = extension = os.path.splitext(file)[0] extension = os.path.splitext(file)[1] os.rename(os.path.join(dirpath, file), os.path.join(dirpath, filename + "_dir" + extension)) print("First DIR pass complete") bpy.app.driver_namespace["tlm_plus_mode"] = 2 prepare_build(self=0, background_mode=False, shutdown_after_build=False) if not background_pass and bpy.context.scene.TLM_EngineProperties.tlm_lighting_mode != "combinedao": #pass setGui(0) elif bpy.app.driver_namespace["tlm_plus_mode"] == 2: filepath = bpy.data.filepath dirpath = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) files = os.listdir(dirpath) for index, file in enumerate(files): filename = os.path.splitext(file)[0] extension = os.path.splitext(file)[1] if not filename.endswith("_dir"): os.rename(os.path.join(dirpath, file), os.path.join(dirpath, filename + "_ao" + extension)) print("Second AO pass complete") total_time = sec_to_hours((time() - start_time)) tlm_log.append(total_time) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print(total_time) bpy.context.scene["TLM_Buildstat"] = total_time reset_settings(previous_settings["settings"]) bpy.app.driver_namespace["tlm_plus_mode"] = 0 if not background_pass: #TODO CHANGE! nodes.exchangeLightmapsToPostfix(end, end + "_dir", formatEnc) nodes.applyAOPass() else: total_time = sec_to_hours((time() - start_time)) tlm_log.append(total_time) if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print(total_time) bpy.context.scene["TLM_Buildstat"] = total_time reset_settings(previous_settings["settings"]) tlm_log.append("Lightmap building finished") tlm_log.append("--------------------------") print("Lightmap building finished") if sceneProperties.tlm_lightmap_engine == "LuxCoreRender": pass if sceneProperties.tlm_lightmap_engine == "OctaneRender": pass if bpy.context.scene.TLM_EngineProperties.tlm_bake_mode == "Background": pass if not background_pass and scene.TLM_EngineProperties.tlm_bake_mode != "Background" and bpy.context.scene.TLM_EngineProperties.tlm_lighting_mode != "combinedao": #pass setGui(0) if scene.TLM_SceneProperties.tlm_alert_on_finish: alertSelect = scene.TLM_SceneProperties.tlm_alert_sound if alertSelect == "dash": soundfile = "dash.ogg" elif alertSelect == "pingping": soundfile = "pingping.ogg" elif alertSelect == "gentle": soundfile = "gentle.ogg" else: soundfile = "noot.ogg" scriptDir = os.path.dirname(os.path.realpath(__file__)) sound_path = os.path.abspath(os.path.join(scriptDir, '..', 'assets/'+soundfile)) device = aud.Device() sound = aud.Sound.file(sound_path) device.play(sound) if logging: print("Log file output:") tlm_log.dumpLog() if bpy.app.background: if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Writing background process report") write_directory = os.path.join(os.path.dirname(bpy.data.filepath), bpy.context.scene.TLM_EngineProperties.tlm_lightmap_savedir) if os.path.exists(os.path.join(write_directory, "process.tlm")): process_status = json.loads(open(os.path.join(write_directory, "process.tlm")).read()) process_status[1]["completed"] = True with open(os.path.join(write_directory, "process.tlm"), 'w') as file: json.dump(process_status, file, indent=2) if postprocess_shutdown: sys.exit() #TODO - SET BELOW TO UTILITY def reset_settings(prev_settings): scene = bpy.context.scene cycles = scene.cycles cycles.samples = int(prev_settings[0]) cycles.max_bounces = int(prev_settings[1]) cycles.diffuse_bounces = int(prev_settings[2]) cycles.glossy_bounces = int(prev_settings[3]) cycles.transparent_max_bounces = int(prev_settings[4]) cycles.transmission_bounces = int(prev_settings[5]) cycles.volume_bounces = int(prev_settings[6]) cycles.caustics_reflective = prev_settings[7] cycles.caustics_refractive = prev_settings[8] cycles.device = prev_settings[9] scene.render.engine = prev_settings[10] bpy.context.view_layer.objects.active = prev_settings[11] scene.render.resolution_x = prev_settings[13][0] scene.render.resolution_y = prev_settings[13][1] #for obj in prev_settings[12]: # obj.select_set(True) def naming_check(): for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: if obj.name != "": if "_" in obj.name: obj.name = obj.name.replace("_",".") if " " in obj.name: obj.name = obj.name.replace(" ",".") if "[" in obj.name: obj.name = obj.name.replace("[",".") if "]" in obj.name: obj.name = obj.name.replace("]",".") if "ø" in obj.name: obj.name = obj.name.replace("ø","oe") if "æ" in obj.name: obj.name = obj.name.replace("æ","ae") if "å" in obj.name: obj.name = obj.name.replace("å","aa") if "/" in obj.name: obj.name = obj.name.replace("/",".") for slot in obj.material_slots: if "_" in slot.material.name: slot.material.name = slot.material.name.replace("_",".") if " " in slot.material.name: slot.material.name = slot.material.name.replace(" ",".") if "[" in slot.material.name: slot.material.name = slot.material.name.replace("[",".") if "[" in slot.material.name: slot.material.name = slot.material.name.replace("]",".") if "ø" in slot.material.name: slot.material.name = slot.material.name.replace("ø","oe") if "æ" in slot.material.name: slot.material.name = slot.material.name.replace("æ","ae") if "å" in slot.material.name: slot.material.name = slot.material.name.replace("å","aa") if "/" in slot.material.name: slot.material.name = slot.material.name.replace("/",".") def opencv_check(): cv2 = util.find_spec("cv2") if cv2 is not None: return 0 else: return 1 def check_save(): if not bpy.data.is_saved: return 1 else: return 0 def check_denoiser(): if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("Checking denoiser path") scene = bpy.context.scene if scene.TLM_SceneProperties.tlm_denoise_use: if scene.TLM_SceneProperties.tlm_denoise_engine == "OIDN": oidnPath = scene.TLM_OIDNEngineProperties.tlm_oidn_path if scene.TLM_OIDNEngineProperties.tlm_oidn_path == "": return 1 if platform.system() == "Windows": if not scene.TLM_OIDNEngineProperties.tlm_oidn_path.endswith(".exe"): return 1 else: if os.path.isfile(bpy.path.abspath(scene.TLM_OIDNEngineProperties.tlm_oidn_path)): return 0 else: return 1 else: return 0 def check_materials(): for obj in bpy.context.scene.objects: if obj.type == 'MESH' and obj.name in bpy.context.view_layer.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: for slot in obj.material_slots: mat = slot.material if mat is None: if bpy.context.scene.TLM_SceneProperties.tlm_verbose: print("MatNone") mat = bpy.data.materials.new(name="Material") mat.use_nodes = True slot.material = mat nodes = mat.node_tree.nodes #TODO FINISH MATERIAL CHECK -> Nodes check #Afterwards, redo build/utility def sec_to_hours(seconds): a=str(seconds//3600) b=str((seconds%3600)//60) c=str(round((seconds%3600)%60,1)) d=["{} hours {} mins {} seconds".format(a, b, c)] return d def setMode(): obj = bpy.context.scene.objects[0] bpy.context.view_layer.objects.active = obj obj.select_set(True) hidden = False if obj.hide_get(): hidden = True if obj.hide_viewport: hidden = True if obj.hide_render: hidden = True if not hidden: bpy.ops.object.mode_set(mode='OBJECT') #TODO Make some checks that returns to previous selection def setGui(mode): if mode == 0: context = bpy.context driver = bpy.app.driver_namespace if "TLM_UI" in driver: driver["TLM_UI"].remove_handle() if mode == 1: #bpy.context.area.tag_redraw() context = bpy.context driver = bpy.app.driver_namespace driver["TLM_UI"] = Viewport.ViewportDraw(context, "Building Lightmaps") bpy.ops.wm.redraw_timer(type='DRAW_WIN_SWAP', iterations=1) def checkAtlasSize(): overflow = False scene = bpy.context.scene if scene.TLM_EngineProperties.tlm_setting_supersample == "2x": supersampling_scale = 2 elif scene.TLM_EngineProperties.tlm_setting_supersample == "4x": supersampling_scale = 4 else: supersampling_scale = 1 for atlas in bpy.context.scene.TLM_PostAtlasList: atlas_resolution = int(int(atlas.tlm_atlas_lightmap_resolution) / int(scene.TLM_EngineProperties.tlm_resolution_scale) * int(supersampling_scale)) utilized = 0 atlasUsedArea = 0 for obj in bpy.context.scene.objects: if obj.TLM_ObjectProperties.tlm_mesh_lightmap_use: if obj.TLM_ObjectProperties.tlm_postpack_object: if obj.TLM_ObjectProperties.tlm_postatlas_pointer == atlas.name: atlasUsedArea += int(obj.TLM_ObjectProperties.tlm_mesh_lightmap_resolution) ** 2 utilized = atlasUsedArea / (int(atlas_resolution) ** 2) if (utilized * 100) > 100: overflow = True print("Overflow for: " + str(atlas.name)) if overflow == True: return True else: return False
37.337788
292
0.557025
5,371
50,294
5.025135
0.086204
0.079363
0.045017
0.038681
0.779733
0.748907
0.716265
0.701
0.67236
0.627418
0
0.004541
0.347596
50,294
1,347
293
37.337788
0.818024
0.053366
0
0.610294
0
0.012255
0.116718
0.010517
0
0
0
0.000742
0
1
0.018382
false
0.022059
0.020833
0
0.055147
0.089461
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
12a9bff9e13b89cde134cd5673b2210b072bb863
7,001
py
Python
superset/tests/integration_tests/dashboards/filter_sets/delete_api_tests.py
mvbvieira/finance_pipeline
48b085aeafda61c82f77de4ae67ceb02ac32f683
[ "Apache-2.0" ]
2
2021-09-29T01:12:26.000Z
2021-11-12T11:24:15.000Z
superset/tests/integration_tests/dashboards/filter_sets/delete_api_tests.py
mvbvieira/finance_pipeline
48b085aeafda61c82f77de4ae67ceb02ac32f683
[ "Apache-2.0" ]
57
2020-04-20T17:41:41.000Z
2022-03-16T21:38:05.000Z
tests/integration_tests/dashboards/filter_sets/delete_api_tests.py
alvarogg777/superset
ae4ced8da6933cdc657452d1f11415c49c6c68b8
[ "Apache-2.0" ]
2
2021-10-12T17:51:34.000Z
2021-10-15T18:55:52.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. from __future__ import annotations from typing import Any, Dict, List, TYPE_CHECKING from tests.integration_tests.base_tests import login from tests.integration_tests.dashboards.filter_sets.consts import ( DASHBOARD_OWNER_USERNAME, FILTER_SET_OWNER_USERNAME, REGULAR_USER, ) from tests.integration_tests.dashboards.filter_sets.utils import ( call_delete_filter_set, collect_all_ids, get_filter_set_by_name, ) if TYPE_CHECKING: from flask.testing import FlaskClient from superset.models.filter_set import FilterSet def assert_filterset_was_not_deleted(filter_set_dict: Dict[str, Any]) -> None: assert get_filter_set_by_name(filter_set_dict["name"]) is not None def assert_filterset_deleted(filter_set_dict: Dict[str, Any]) -> None: assert get_filter_set_by_name(filter_set_dict["name"]) is None class TestDeleteFilterSet: def test_with_dashboard_exists_filterset_not_exists__200( self, dashboard_id: int, filtersets: Dict[str, List[FilterSet]], client: FlaskClient[Any], ): # arrange login(client, "admin") filter_set_id = max(collect_all_ids(filtersets)) + 1 response = call_delete_filter_set(client, {"id": filter_set_id}, dashboard_id) # assert assert response.status_code == 200 def test_with_dashboard_not_exists_filterset_not_exists__404( self, not_exists_dashboard: int, filtersets: Dict[str, List[FilterSet]], client: FlaskClient[Any], ): # arrange login(client, "admin") filter_set_id = max(collect_all_ids(filtersets)) + 1 response = call_delete_filter_set( client, {"id": filter_set_id}, not_exists_dashboard ) # assert assert response.status_code == 404 def test_with_dashboard_not_exists_filterset_exists__404( self, not_exists_dashboard: int, dashboard_based_filter_set_dict: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, "admin") # act response = call_delete_filter_set( client, dashboard_based_filter_set_dict, not_exists_dashboard ) # assert assert response.status_code == 404 assert_filterset_was_not_deleted(dashboard_based_filter_set_dict) def test_when_caller_is_admin_and_owner_type_is_user__200( self, test_users: Dict[str, int], user_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, "admin") # act response = call_delete_filter_set(client, user_based_filter_set_dict) # assert assert response.status_code == 200 assert_filterset_deleted(user_based_filter_set_dict) def test_when_caller_is_admin_and_owner_type_is_dashboard__200( self, test_users: Dict[str, int], dashboard_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, "admin") # act response = call_delete_filter_set(client, dashboard_based_filter_set_dict) # assert assert response.status_code == 200 assert_filterset_deleted(dashboard_based_filter_set_dict) def test_when_caller_is_dashboard_owner_and_owner_is_other_user_403( self, test_users: Dict[str, int], user_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, DASHBOARD_OWNER_USERNAME) # act response = call_delete_filter_set(client, user_based_filter_set_dict) # assert assert response.status_code == 403 assert_filterset_was_not_deleted(user_based_filter_set_dict) def test_when_caller_is_dashboard_owner_and_owner_type_is_dashboard__200( self, test_users: Dict[str, int], dashboard_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, DASHBOARD_OWNER_USERNAME) # act response = call_delete_filter_set(client, dashboard_based_filter_set_dict) # assert assert response.status_code == 200 assert_filterset_deleted(dashboard_based_filter_set_dict) def test_when_caller_is_filterset_owner__200( self, test_users: Dict[str, int], user_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, FILTER_SET_OWNER_USERNAME) # act response = call_delete_filter_set(client, user_based_filter_set_dict) # assert assert response.status_code == 200 assert_filterset_deleted(user_based_filter_set_dict) def test_when_caller_is_regular_user_and_owner_type_is_user__403( self, test_users: Dict[str, int], user_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, REGULAR_USER) # act response = call_delete_filter_set(client, user_based_filter_set_dict) # assert assert response.status_code == 403 assert_filterset_was_not_deleted(user_based_filter_set_dict) def test_when_caller_is_regular_user_and_owner_type_is_dashboard__403( self, test_users: Dict[str, int], dashboard_based_filter_set_dict: Dict[str, Any], valid_filter_set_data_for_update: Dict[str, Any], client: FlaskClient[Any], ): # arrange login(client, REGULAR_USER) # act response = call_delete_filter_set(client, dashboard_based_filter_set_dict) # assert assert response.status_code == 403 assert_filterset_was_not_deleted(dashboard_based_filter_set_dict)
33.338095
86
0.696758
903
7,001
4.976744
0.159468
0.11215
0.080997
0.096128
0.759902
0.748331
0.740988
0.689586
0.689586
0.660214
0
0.012293
0.23311
7,001
209
87
33.497608
0.824735
0.13341
0
0.712121
0
0
0.006144
0
0
0
0
0
0.166667
1
0.090909
false
0
0.05303
0
0.151515
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
12af43b7fb4bff7f58f159c89c12e72f80c53efa
94
py
Python
src/cirrus/core/cloudformation/metadata.py
sjwoodr/cirrus-geo
8f1190325ba6f6c7fc82e5d3ddb16d34c1b8478d
[ "Apache-2.0" ]
14
2022-01-11T12:28:51.000Z
2022-03-30T18:46:33.000Z
src/cirrus/core/cloudformation/metadata.py
sjwoodr/cirrus-geo
8f1190325ba6f6c7fc82e5d3ddb16d34c1b8478d
[ "Apache-2.0" ]
68
2021-10-04T18:49:57.000Z
2022-03-30T14:54:39.000Z
src/cirrus/core/cloudformation/metadata.py
sjwoodr/cirrus-geo
8f1190325ba6f6c7fc82e5d3ddb16d34c1b8478d
[ "Apache-2.0" ]
4
2021-10-05T14:20:14.000Z
2022-03-08T18:50:47.000Z
from .base import BaseCFObject class Metadata(BaseCFObject): top_level_key = 'Metadata'
15.666667
30
0.765957
11
94
6.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
31
18.8
0.886076
0
0
0
0
0
0.085106
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
12b1a7f299f482af2ea660749eed17f71b97f8e5
129
py
Python
helprequest/admin.py
Emmastro/medmer-api
c17366a92506b6ac1bdedc85ad0c29c3d2b36b5d
[ "Apache-2.0" ]
null
null
null
helprequest/admin.py
Emmastro/medmer-api
c17366a92506b6ac1bdedc85ad0c29c3d2b36b5d
[ "Apache-2.0" ]
1
2021-07-12T06:32:14.000Z
2021-07-12T06:32:14.000Z
helprequest/admin.py
Emmastro/medmer
c17366a92506b6ac1bdedc85ad0c29c3d2b36b5d
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import HelpRequest # Register your models here. admin.site.register(HelpRequest)
18.428571
32
0.813953
17
129
6.176471
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.124031
129
6
33
21.5
0.929204
0.20155
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
12cee5654e68ea68bbd2449ed617b993ab4846a6
108
py
Python
cpcforge/cpcforge/apps/accounts/apps.py
ptjung/cpcforge
f9bc3742207a1191cfcf6c122d95790bcbb56f5d
[ "MIT" ]
null
null
null
cpcforge/cpcforge/apps/accounts/apps.py
ptjung/cpcforge
f9bc3742207a1191cfcf6c122d95790bcbb56f5d
[ "MIT" ]
null
null
null
cpcforge/cpcforge/apps/accounts/apps.py
ptjung/cpcforge
f9bc3742207a1191cfcf6c122d95790bcbb56f5d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AccountsConfig(AppConfig): name = 'cpcforge.apps.accounts'
21.6
36
0.75
12
108
6.75
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.166667
108
4
37
27
0.9
0
0
0
0
0
0.211538
0.211538
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
12d768b796469fc421af99677be7547aea2caf01
154
py
Python
python_docs/05Functions/05FunctionsAsArguments.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
python_docs/05Functions/05FunctionsAsArguments.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
python_docs/05Functions/05FunctionsAsArguments.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
def add(x, y): return x + y def times(func, x, y): return func(x, y) a = 2 b = 4 r = times(add, a, b) print(' - Resultado = ', r)
11.846154
28
0.467532
28
154
2.571429
0.5
0.111111
0.222222
0
0
0
0
0
0
0
0
0.020202
0.357143
154
12
29
12.833333
0.707071
0
0
0
0
0
0.105634
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.125
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
12e9f50c2694c311de663aca91ca4c96b40a7bcf
9,739
py
Python
learn.py
eric93/sceneparsing
4d4f5cb19c9eafbf2eda5030001678e4d16d29da
[ "MIT" ]
null
null
null
learn.py
eric93/sceneparsing
4d4f5cb19c9eafbf2eda5030001678e4d16d29da
[ "MIT" ]
null
null
null
learn.py
eric93/sceneparsing
4d4f5cb19c9eafbf2eda5030001678e4d16d29da
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import random import scipy.spatial.distance import scipy.io import scipy.misc import math import skimage.color import skimage.feature colormap_raw = {} def colormap(c): if c in colormap_raw: return colormap_raw[c] else: levels = range(32,256,32) value = tuple(random.choice(levels) for _ in range(3)) colormap_raw[c] = np.array(value) return value def displayseg(im): im2 = np.zeros((len(im),len(im[0]),3), dtype=np.uint8) for i in range(len(im2)): for j in range(len(im2[0])): im2[i][j] = colormap(im[i][j]) plt.imshow(im2) plt.show() NUM_CATEGORIES = 151 BUCKETS = [10.0,50.0,75.0,100.0,200.0,500.0] COLOR_EPSILON = 10.0 CANNY_SIGMA=3.0 SAMPLES_PER_IMAGE = 10000 SAMPLES = 100000 def get_bucket(p1,p2): d = scipy.spatial.distance.euclidean(p1,p2) for i in range(len(BUCKETS)): if d < BUCKETS[i]: return i return len(BUCKETS) default = np.ones((2, len(BUCKETS) + 1, NUM_CATEGORIES, NUM_CATEGORIES), dtype = np.int32) def process_image(dist_handle,ima,imo): W = len(ima) H = len(ima[0]) for x1 in range(W): for y1 in range(H): #print x1,",",y1 for x2 in range(max(x1-5,0),min(x1+5,W)): for y2 in range(max(y1-5,0),min(y1+5,H)): #dist_handle[0][0][ima[x1,y1]][ima[x2,y2]] += 1 #d = scipy.spatial.distance.euclidean([x1,y1],[x2,y2]) dist_handle[0][1][ima[x1,y1]][ima[x2,y2]] += 1 def crosses_edge(x1,y1,x2,y2,imc): delta_x = x2 - x1 delta_y = y2 - y1 def imc_edge(x,y): if x < 0 or x >= len(imc) or y < 0 or y >= len(imc[0]): return False else: return True if delta_x == 0 and delta_y == 0: return False if abs(delta_x) > abs(delta_y): m = float(delta_y) / delta_x yint = y1 - (m * x1) if x1 < x2: for xt in range(x1,x2): yt = m * xt + yint if imc_edge(xt,math.floor(yt)) or imc_edge(xt,math.ceil(yt)): return True else: for xt in range(x2,x1): yt = m * xt + yint if imc_edge(xt,math.floor(yt)) or imc_edge(xt,math.ceil(yt)): return True else: m = float(delta_x) / delta_y xint = x1 - (m * y1) if y1 < y2: for yt in range(y1,y2): xt = m * yt + xint if imc_edge(math.floor(xt),yt) or imc_edge(math.ceil(xt),yt): return True else: for yt in range(y2,y1): xt = m * yt + xint if imc_edge(math.floor(xt),yt) or imc_edge(math.ceil(xt),yt): return True return False def process_all_local_canny(dist_handle,annfilenames, imgfilenames): for i in range(len(annfilenames)): if i % 50 == 0: print i imgnum = random.randrange(len(annfilenames)) ima = scipy.misc.imread(annfilenames[imgnum]) imo = scipy.misc.imread(imgfilenames[imgnum]) imc = skimage.feature.canny(skimage.color.rgb2gray(imo),sigma=CANNY_SIGMA) for j in range(SAMPLES_PER_IMAGE): x1,y1,x2,y2 = 0,0,0,0 while (x1 == y1) or (x2 == y2) or scipy.spatial.distance.euclidean([x1,y1],[x2,y2]) > 10.0: #while (x1 == y1) or (x2 == y2): x1 = random.randrange(len(ima)) x2 = random.randrange(max(0,x1-10),min(x1+10,len(ima))) y1 = random.randrange(len(ima[0])) y2 = random.randrange(max(0,y1-10),min(y1+10,len(ima[0]))) p1 = np.array([x1,y1]) p2 = np.array([x2,y2]) e = crosses_edge(x1,y1,x2,y2,imc) dist_handle[1 if e else 0][0][ima[x1,y1]][ima[x2,y2]] += 1 def process_all_local_canny_2(dist_handle,annfilenames, imgfilenames): for i in range(len(annfilenames)): if i % 50 == 0: print i imgnum = random.randrange(len(annfilenames)) ima = scipy.misc.imread(annfilenames[imgnum]) imo = scipy.misc.imread(imgfilenames[imgnum]) imc = skimage.feature.canny(skimage.color.rgb2gray(imo),sigma=CANNY_SIGMA) for j in range(SAMPLES_PER_IMAGE): x1,y1,x2,y2 = 0,0,0,0 #while (x1 == y1) or (x2 == y2) or scipy.spatial.distance.euclidean([x1,y1],[x2,y2]) > 10.0: while (x1 == y1) or (x2 == y2): x1 = random.randrange(len(ima)) x2 = random.randrange(max(0,x1-100),min(x1+100,len(ima))) y1 = random.randrange(len(ima[0])) y2 = random.randrange(max(0,y1-100),min(y1+100,len(ima[0]))) p1 = np.array([x1,y1]) p2 = np.array([x2,y2]) e = crosses_edge(x1,y1,x2,y2,imc) b = get_bucket(p1,p2) dist_handle[1 if e else 0][b][ima[x1,y1]][ima[x2,y2]] += 1 def process_all_canny(dist_handle,annfilenames, imgfilenames): for i in range(len(annfilenames)): if i % 50 == 0: print i imgnum = random.randrange(len(annfilenames)) ima = scipy.misc.imread(annfilenames[imgnum]) imo = scipy.misc.imread(imgfilenames[imgnum]) imc = skimage.feature.canny(skimage.color.rgb2gray(imo),sigma=CANNY_SIGMA) for j in range(SAMPLES_PER_IMAGE): x1,y1,x2,y2 = 0,0,0,0 while (x1 == y1) or (x2 == y2): x1 = random.randrange(len(ima)) x2 = random.randrange(len(ima)) y1 = random.randrange(len(ima[0])) y2 = random.randrange(len(ima[0])) p1 = np.array([x1,y1]) p2 = np.array([x2,y2]) e = crosses_edge(x1,y1,x2,y2,imc) b = get_bucket(p1,p2) dist_handle[e][b][ima[x1,y1]][ima[x2,y2]] += 1 def similar_color(c1,c2): if scipy.spatial.distance.euclidean(c1,c2) < COLOR_EPSILON: return 0 else: return 1 def process_all(dist_handle,annfilenames, imgfilenames): for i in range(len(annfilenames)): if i % 50 == 0: print i imgnum = random.randrange(len(annfilenames)) ima = scipy.misc.imread(annfilenames[imgnum]) imo = scipy.misc.imread(imgfilenames[imgnum]) for j in range(SAMPLES_PER_IMAGE): x1,y1,x2,y2 = 0,0,0,0 while (x1 == y1) or (x2 == y2): x1 = random.randrange(len(ima)) x2 = random.randrange(len(ima)) y1 = random.randrange(len(ima[0])) y2 = random.randrange(len(ima[0])) p1 = np.array([x1,y1]) p2 = np.array([x2,y2]) c1 = imo[x1,y1] c2 = imo[x2,y2] if scipy.spatial.distance.euclidean(c1,c2) < COLOR_EPSILON: c = 0 else: c = 1 b = get_bucket(p1,p2) dist_handle[c][b][ima[x1,y1]][ima[x2,y2]] += 1 def write_dist(dist,filename): m = dict() for c in range(2): for b in range(len(BUCKETS) + 1): typestr = "_similar" if c == 0 else "_different" m["bucket_" + str(b) + typestr] = dist[c][b] print m scipy.io.savemat(filename , m) def read_dist(filename): new_dist = np.zeros((2,len(BUCKETS) + 1, NUM_CATEGORIES, NUM_CATEGORIES), dtype = np.uint32) m = scipy.io.loadmat(filename) for c in range(2): for b in range(len(BUCKETS) + 1): typestr = "_similar" if c == 0 else "_different" new_dist[c][b] = m["bucket_" + str(b) + typestr] return new_dist def read_distf(filename): new_dist = np.zeros((2,len(BUCKETS) + 1, NUM_CATEGORIES, NUM_CATEGORIES), dtype = np.float32) m = scipy.io.loadmat(filename) for c in range(2): for b in range(len(BUCKETS) + 1): typestr = "_similar" if c == 0 else "_different" new_dist[c][b] = m["bucket_" + str(b) + typestr] return new_dist def reshape_dist(dist): new_dist = np.zeros((2,len(BUCKETS) + 1, NUM_CATEGORIES, NUM_CATEGORIES), dtype = np.uint32) for c in range(2): for b in range(len(BUCKETS) + 1): for i in range(NUM_CATEGORIES): for j in range(NUM_CATEGORIES): if i < j: new_dist[c][b][i][j] = dist[c][b][i][j] + dist[c][b][j][i] - 1 elif i == j: new_dist[c][b][i][j] = dist[c][b][i][j] return new_dist def normalize_reshaped(dist): new_dist = np.zeros((2,len(BUCKETS) + 1, NUM_CATEGORIES, NUM_CATEGORIES), dtype = np.float32) for c in range(2): for b in range(len(BUCKETS) + 1): for i in range(NUM_CATEGORIES): s = 0 for j in range(NUM_CATEGORIES): if i < j: s += dist[c][b][i][j] else: s += dist[c][b][j][i] print c,",",b,",",i,":",s for j in range(NUM_CATEGORIES): new_dist[c][b][i][j] = dist[c][b][i][j] / float(s) return new_dist def normalize(dist): new_dist = np.zeros((2, len(BUCKETS) + 1, NUM_CATEGORIES, NUM_CATEGORIES), dtype = np.float32) for c in range(2): for b in range(len(BUCKETS) + 1): for i in range(NUM_CATEGORIES): s = 0 for j in range(NUM_CATEGORIES): s += dist[c][b][i][j] for j in range(NUM_CATEGORIES): new_dist[c][b][i][j] = (float(dist[c][b][i][j]) / float(s)) return new_dist
32.141914
104
0.530855
1,433
9,739
3.521982
0.099093
0.055479
0.057064
0.049931
0.750941
0.718843
0.714286
0.699822
0.687735
0.651674
0
0.059638
0.325085
9,739
302
105
32.248344
0.7082
0.024232
0
0.573276
0
0
0.008214
0
0
0
0
0
0
0
null
null
0
0.038793
null
null
0.025862
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
12ee712a712d0ccb23ea7f2953542eb2d71c3339
28
py
Python
data/studio21_generated/introductory/4982/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4982/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4982/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def __init__(self, board):
14
26
0.714286
4
28
4
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
2
27
14
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
12fbc661e34983c2fcb3794c98646269f58ee3f0
2,073
py
Python
tests/test_data_validator.py
aecobb53/weatherman
24b3324ffd35568f8719404c3ff2e27fc4a361f7
[ "MIT" ]
1
2020-10-14T23:23:37.000Z
2020-10-14T23:23:37.000Z
tests/test_data_validator.py
aecobb53/weatherman
24b3324ffd35568f8719404c3ff2e27fc4a361f7
[ "MIT" ]
48
2020-11-30T01:34:37.000Z
2021-06-10T01:15:31.000Z
tests/test_data_validator.py
aecobb53/weatherman
24b3324ffd35568f8719404c3ff2e27fc4a361f7
[ "MIT" ]
null
null
null
from weatherman import data_validator import pytest from datetime import datetime import yaml import os import unittest mock = unittest.mock.Mock() master_copnfig = 'etc/weatherman.yml' with open(master_copnfig) as ycf: config = yaml.load(ycf, Loader=yaml.FullLoader) environment = os.environ.get('ENVIRONMENT') @pytest.fixture(scope="function") def setup_dv(): dv = data_validator.DataValidator() return dv testdata = [ ('2020-01-01T00:00:00.000000Z', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00.000000L', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00.000000', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00.000Z', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00.000L', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00.000', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00Z', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00L', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00:00', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00Z', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00L', '2020-01-01T00:00:00Z'), ('2020-01-01T00:00', '2020-01-01T00:00:00Z'), ('2020-01-01T00Z', '2020-01-01T00:00:00Z'), ('2020-01-01T00L', '2020-01-01T00:00:00Z'), ('2020-01-01T00', '2020-01-01T00:00:00Z'), ('2020-01-01', '2020-01-01T00:00:00Z') ] @pytest.mark.parametrize("test, expected", testdata) def test_is_datetime(setup_dv, test, expected): dv = setup_dv date_obj = dv.is_datetime(test) expected_obj = datetime.strptime(expected, config['datetime_str']) assert date_obj == expected_obj testdata = [ ('500', '500'), ('500,501', '500,501'), ('500 , 501', '500,501'), ('500-505', '500,501,502,503,504'), ('500 - 505', '500,501,502,503,504'), ('500-505,300,301', '500,501,502,503,504,300,301'), ('500-505,300-306', '500,501,502,503,504,300,301,305'), ] @pytest.mark.parametrize("test, expected", testdata) def test_is_exact_list(setup_dv, test, expected): dv = setup_dv new_values = dv.is_exact_list(test) assert new_values == [int(n) for n in expected.split(',')]
33.983607
70
0.649301
332
2,073
3.981928
0.23494
0.145234
0.241301
0.255673
0.554463
0.531014
0.531014
0.405446
0.347958
0.213313
0
0.330173
0.13507
2,073
60
71
34.55
0.407139
0
0
0.188679
0
0
0.427882
0.10082
0
0
0
0
0.037736
1
0.056604
false
0
0.113208
0
0.188679
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
428014a6e6da6db4e752d74270bd574575c3085d
134
py
Python
run_preprocess.py
Seanny123/nef-conceptors
e6b16282d2082563b687543734d2960927380e63
[ "MIT" ]
1
2018-10-13T23:32:24.000Z
2018-10-13T23:32:24.000Z
run_preprocess.py
Seanny123/nef-conceptors
e6b16282d2082563b687543734d2960927380e63
[ "MIT" ]
null
null
null
run_preprocess.py
Seanny123/nef-conceptors
e6b16282d2082563b687543734d2960927380e63
[ "MIT" ]
null
null
null
from preprocess import * import ipdb min_maxs, normed_data = preprocess(61, 2, True)#len(pattern_file_names), True) ipdb.set_trace()
22.333333
78
0.776119
21
134
4.714286
0.809524
0
0
0
0
0
0
0
0
0
0
0.02521
0.11194
134
6
79
22.333333
0.806723
0.223881
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
429b447d00b6fa137deaef347dfd0a9517b8dca2
56
py
Python
tests/syntax/def_missing_name.py
matan-h/friendly
3ab0fc6541c837271e8865e247750007acdd18fb
[ "MIT" ]
287
2019-04-08T13:18:29.000Z
2021-03-14T19:10:21.000Z
tests/syntax/def_missing_name.py
matan-h/friendly
3ab0fc6541c837271e8865e247750007acdd18fb
[ "MIT" ]
191
2019-04-08T14:39:18.000Z
2021-03-14T22:14:56.000Z
tests/syntax/def_missing_name.py
matan-h/friendly
3ab0fc6541c837271e8865e247750007acdd18fb
[ "MIT" ]
9
2019-04-08T12:54:08.000Z
2020-11-20T02:26:27.000Z
"""Should raise SyntaxError""" def ( arg ) : pass
11.2
30
0.571429
6
56
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.267857
56
4
31
14
0.780488
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.5
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
429e0d4e5e06034c30efae4bcd0588bb229143e4
687
py
Python
Aula11/exercicio1.py
vnnstar/Python-Faculdade-Impacta
3e7171f1f090c0774710b43110e06afb196e0ef5
[ "MIT" ]
null
null
null
Aula11/exercicio1.py
vnnstar/Python-Faculdade-Impacta
3e7171f1f090c0774710b43110e06afb196e0ef5
[ "MIT" ]
null
null
null
Aula11/exercicio1.py
vnnstar/Python-Faculdade-Impacta
3e7171f1f090c0774710b43110e06afb196e0ef5
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class Operacao(ABC): @abstractmethod def calcular(self, x, y): pass class Soma(Operacao): def calcular(self, x, y): return x + y class Subtracao(Operacao): def calcular(self, x, y): return x - y class Multiplicacao(Operacao): def calcular(self, x, y): return x * y class Divisao(Operacao): def calcular(self, x, y): return x / y # Programa Principal soma = Soma() sub = Subtracao() div = Divisao() mult = Multiplicacao() print(soma.calcular(10, 5)) # 15 print(sub.calcular(10, 5)) # 5 print(div.calcular(10, 5)) # 2.0 print(mult.calcular(10, 5)) # 50
16.756098
38
0.604076
94
687
4.414894
0.308511
0.043373
0.180723
0.192771
0.395181
0.354217
0.354217
0.354217
0.354217
0.274699
0
0.037773
0.267831
687
40
39
17.175
0.787276
0.043668
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0.04
0.04
0.16
0.6
0.16
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
42a8111e00c2a79ae6d45e57a5018197de8c1411
1,623
py
Python
data/typing/pandas.plotting._core.py
pydata-apis/python-api-record
684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b
[ "MIT" ]
67
2020-08-17T11:53:26.000Z
2021-11-08T20:16:06.000Z
data/typing/pandas.plotting._core.py
data-apis/python-record-api
684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b
[ "MIT" ]
36
2020-08-17T11:09:51.000Z
2021-12-15T18:09:47.000Z
data/typing/pandas.plotting._core.py
pydata-apis/python-api-record
684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b
[ "MIT" ]
7
2020-08-19T05:06:47.000Z
2020-11-04T05:10:38.000Z
from typing import * class PlotAccessor: @overload def area(self, /): """ usage.hvplot: 2 usage.koalas: 1 """ ... @overload def area(self, /, y: Literal["sales"]): """ usage.koalas: 1 """ ... def area(self, /, y: Literal["sales"] = ...): """ usage.hvplot: 2 usage.koalas: 2 """ ... def bar(self, /): """ usage.hvplot: 2 usage.koalas: 1 """ ... def barh(self, /): """ usage.hvplot: 2 usage.koalas: 1 """ ... def box(self, /): """ usage.hvplot: 2 usage.koalas: 1 """ ... def hexbin(self, /, x: Literal["a"], y: Literal["b"]): """ usage.hvplot: 1 """ ... def hist(self, /): """ usage.hvplot: 2 """ ... @overload def kde(self, /, bw_method: float): """ usage.koalas: 2 """ ... @overload def kde(self, /): """ usage.hvplot: 2 """ ... def kde(self, /, bw_method: float = ...): """ usage.hvplot: 2 usage.koalas: 2 """ ... def line(self, /): """ usage.hvplot: 2 """ ... def pie(self, /): """ usage.hvplot: 1 usage.koalas: 3 """ ... def scatter(self, /, x: Literal["a"], y: Literal["b"]): """ usage.hvplot: 1 usage.koalas: 1 """ ...
16.23
59
0.352434
141
1,623
4.042553
0.234043
0.231579
0.189474
0.196491
0.77193
0.608772
0.608772
0.282456
0.119298
0.119298
0
0.025404
0.46642
1,623
99
60
16.393939
0.632794
0.216266
0
0.529412
0
0
0.015819
0
0
0
0
0
0
1
0.411765
false
0
0.029412
0
0.470588
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
35f6927d6528f914525ea5a9ef1d96e96fa7abdf
770
py
Python
eve_auth/migrations/0005_undo_custom_user_model.py
kimnnmadsen/eve-abyssal-market
1e07498b98be9282b969badff51d55258c72e7ed
[ "MIT" ]
13
2018-08-23T14:27:22.000Z
2020-12-07T12:35:38.000Z
eve_auth/migrations/0005_undo_custom_user_model.py
kimnnmadsen/eve-abyssal-market
1e07498b98be9282b969badff51d55258c72e7ed
[ "MIT" ]
25
2018-10-09T14:37:33.000Z
2020-05-15T20:21:48.000Z
eve_auth/migrations/0005_undo_custom_user_model.py
kimnnmadsen/eve-abyssal-market
1e07498b98be9282b969badff51d55258c72e7ed
[ "MIT" ]
4
2021-08-12T05:34:05.000Z
2022-01-06T05:28:36.000Z
# Generated by Django 2.1.3 on 2018-12-01 00:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('eve_auth', '0004_scope_read_assets'), ] operations = [ migrations.RemoveField( model_name='eveuser', name='is_active', ), migrations.RemoveField( model_name='eveuser', name='is_admin', ), migrations.RemoveField( model_name='eveuser', name='last_login', ), migrations.RemoveField( model_name='eveuser', name='password', ), migrations.RemoveField( model_name='eveuser', name='scope_read_contracts', ), ]
22.647059
47
0.535065
69
770
5.768116
0.521739
0.263819
0.326633
0.376884
0.525126
0.525126
0.21608
0
0
0
0
0.038229
0.354545
770
33
48
23.333333
0.762575
0.058442
0
0.555556
1
0
0.165975
0.030429
0
0
0
0
0
1
0
false
0.037037
0.037037
0
0.148148
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c4009d0d4134328de0427e405e9b0719f405446a
167
py
Python
NBApredict/management/tables/predictions.py
anshu7919/NBApredict
59f4a128c1c964a5f78860227d3309edbc57766e
[ "MIT" ]
10
2019-08-23T07:49:52.000Z
2022-02-22T14:46:01.000Z
NBApredict/management/tables/predictions.py
anshu7919/NBApredict
59f4a128c1c964a5f78860227d3309edbc57766e
[ "MIT" ]
9
2018-11-16T23:11:03.000Z
2019-08-07T21:17:22.000Z
NBApredict/management/tables/predictions.py
Spencer-Weston/NBA_bet
e84867b18e2dbaf58340c30c061f172d62f52699
[ "MIT" ]
8
2020-02-01T07:47:41.000Z
2021-06-14T15:09:55.000Z
"""Functions for prediction table creation and operations.""" def format_data(): pass def create_table(db, prediction_data): pass def insert(): pass
11.928571
61
0.688623
21
167
5.333333
0.666667
0.142857
0.196429
0
0
0
0
0
0
0
0
0
0.209581
167
13
62
12.846154
0.848485
0.329341
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
c401b8c1294f1b3169ba4d4d2fd9fb801640fb6f
104
py
Python
src/runner_listener/apps.py
OpenROAD-Cloud/frontend-service
7c723fa2dc48ff1b75cbdf0601259cf3b2a5b8b8
[ "BSD-2-Clause" ]
1
2021-04-08T11:15:21.000Z
2021-04-08T11:15:21.000Z
src/runner_listener/apps.py
OpenROAD-Cloud/frontend-service
7c723fa2dc48ff1b75cbdf0601259cf3b2a5b8b8
[ "BSD-2-Clause" ]
3
2020-06-23T04:48:22.000Z
2020-06-23T04:48:22.000Z
src/runner_listener/apps.py
OpenROAD-Cloud/frontend-service
7c723fa2dc48ff1b75cbdf0601259cf3b2a5b8b8
[ "BSD-2-Clause" ]
2
2020-07-19T13:58:30.000Z
2020-08-03T16:07:20.000Z
from django.apps import AppConfig class RunnerListenerConfig(AppConfig): name = 'runner_listener'
17.333333
38
0.788462
11
104
7.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.144231
104
5
39
20.8
0.910112
0
0
0
0
0
0.144231
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c404759ee4a60b12a28c56791377128436764707
943
py
Python
connect_four/connect_four_v1.py
mars-tiger/kidspython
63d62d0083fb0c0904af6078916e0fe8ab2b9278
[ "MIT" ]
6
2021-08-21T17:00:54.000Z
2021-08-28T22:12:57.000Z
connect_four/connect_four_v1.py
mars-tiger/kidspython
63d62d0083fb0c0904af6078916e0fe8ab2b9278
[ "MIT" ]
null
null
null
connect_four/connect_four_v1.py
mars-tiger/kidspython
63d62d0083fb0c0904af6078916e0fe8ab2b9278
[ "MIT" ]
2
2021-08-21T17:13:33.000Z
2021-08-28T22:12:59.000Z
import turtle def draw_circle(): t.color("green") t.begin_fill() t.circle(radius) t.end_fill() def draw_piece(row, col, color): x = col + offset_x + 25 y = -row + offset_y - 25 t.up() t.home() t.goto(x,y) t.down() t.circle(radius) def draw(x, y): global board, rb, winner pass def check_winner(): pass def draw_board(): pass radius = 23 gap = 2 square_size = 2 * (radius + gap) offset_x = -180 offset_y = 100 board = [ [None, None, None, None, None, None, None], [None, None, None, None, None, None, None], [None, None, None, None, None, None, None], [None, None, None, None, None, None, None], [None, None, None, None, None, None, None], [None, None, None, None, None, None, None], ] winner = "" rb = "r" t = turtle.Turtle() t.ht() t.speed(200) draw_board() draw_piece(0, 0, "green") t.up() t.home() t.down() draw_circle() wn = turtle.Screen() wn.onclick(draw) wn.mainloop()
14.734375
45
0.607635
155
943
3.606452
0.296774
0.586762
0.858676
1.116279
0.332737
0.300537
0.300537
0.300537
0.300537
0.300537
0
0.025606
0.21315
943
63
46
14.968254
0.727763
0
0
0.354167
0
0
0.011665
0
0
0
0
0
0
1
0.104167
false
0.0625
0.020833
0
0.125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
c41454ffdfbea35fba0e08a34ac6c0f5bd6758c1
56,702
py
Python
samples/coco/plot_graphs 2.py
JennyLouise/Mask_RCNN
c4f92cb1984fc1c45dcf2cc290d983a873b98318
[ "MIT" ]
null
null
null
samples/coco/plot_graphs 2.py
JennyLouise/Mask_RCNN
c4f92cb1984fc1c45dcf2cc290d983a873b98318
[ "MIT" ]
null
null
null
samples/coco/plot_graphs 2.py
JennyLouise/Mask_RCNN
c4f92cb1984fc1c45dcf2cc290d983a873b98318
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from matplotlib.lines import Line2D import csv import os import math import matplotlib.lines as mlines import numpy as np import seaborn as sns import pandas as pd from sklearn.decomposition import PCA from itertools import chain import logging from matplotlib.patches import Patch import glob from pandas.plotting import table import matplotlib.ticker as ticker experiment_level_graph_settings=[ ["rescaled", "deep", ["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"],["Original Scale", "Average Low\n Altitude Scale", "Average High\n Altitude Scale", "Average Low\n Altitude Scale\n with High\n Altitude Resolution"]], ["distortion_correction", "Blues", [False, True], ["Original Image", "Distortion Corrected"]], ["colour_correction_type", "Reds", ["grey", "alt"], ["Greyworld Corrected", "Altitude Corrected"]], # ["separate_channel_ops", "PiYG", [False, True], ["Cross Channel Operations", "Separate Channel Operations"]], # ["elastic_distortions","PRGn",[False, True], ["Without Elastic Distortions", "With Elastic Distortions"]] ] instance_level_graph_settings = [] instance_level_graph_settings.extend(experiment_level_graph_settings) instance_level_graph_settings.append(["gt_class", "Accent", [8.0, 3.0, 5.0, 2.0, 1.0, 6.0], ["Seastar", "Small\n Rockfish", "Fish 4", "Large\n Rockfish", "Eel", "Crab"]]) def get_experiments(): experiments = [] directories = [x for x in os.walk("../../../")][0][1] for directory in directories: colour_correction_type = directory.split("_")[0] if directory.split("_")[1] == "dist": distortion_correction = True else: distortion_correction = False if directory.split("_")[2] == "rescaled": rescaled = True else: rescaled = False filenames = [f for f in os.listdir(directory) if f[-4:] == ".csv"] print(filenames) for filename in filenames: experiment = { "colour_correction_type": colour_correction_type, "distortion_correction": distortion_correction, "rescaled": rescaled, } with open("./" + directory + "/" + filename, "r") as csvfile: plots = csv.reader(csvfile, delimiter=",") headers = next(plots, None) for header in headers: experiment[header] = [] for row in plots: for i, header in enumerate(headers): experiment[header].append(float(row[i])) experiment["minimum_val_loss"] = min(experiment["val_loss"]) experiment["minimum_loss"] = min(experiment["loss"]) number = int(filename.split("_")[1].split(".")[0]) experiment["number"] = number experiment["repeat"] = math.floor(number / 4) if (number % 4) / 2 < 1: experiment["elastic_distortions"] = True else: experiment["elastic_distortions"] = False if (number % 4) % 2 != 0: experiment["separate_channel_ops"] = True else: experiment["separate_channel_ops"] = False print(experiment) experiments.append(experiment) return experiments def int_to_string(bucket): return f"{bucket*500}-{(bucket+1)*500}" def size_to_bucket(size, bucket_size): bucket = math.floor(size / bucket_size) return bucket def size_buckets(size_list, bucket_size): size_bucket=[] for size in size_list: bucket = size_to_bucket(size, bucket_size) size_bucket.append(bucket) return size_bucket def size_overlaps(size_overlaps_string): size_list = [] overlaps_list = [] split_size_overlaps = size_overlaps_string[1:-1].split("dtype=float32)],") for item in split_size_overlaps: split = item.split(": ") size = int(split[0]) overlaps = [] split_overlaps = split[1][1:-1].split("array(")[1:] for overlaps_item in split_overlaps: numbers = [float(x) for x in overlaps_item.split("]]")[0][2:].split(",")] overlaps.append(max(numbers)) size_list.append(size) overlaps_list.append(np.mean(overlaps)) # numbers =[float(x) for x in item.split("]]")[0][2:].split(',')] # size_overlaps_list.append(max(numbers)) print(size_list) print(overlaps_list) return size_list, overlaps_list def overlaps(overlaps_string): overlaps_list = [] split_overlaps = overlaps_string[1:-1].split(",")[1:] for item in split_overlaps: numbers = [float(x) for x in split_overlaps] overlaps_list.append(max(numbers)) return np.mean(overlaps_list) def plot_boxplots(experiments): plt.clf() axes = plt.gca() axes.set_ylim([0, 4.6]) fig, ax = plt.subplots() new_experiments = [] print(experiments.keys()) for index, experiment in experiments.iterrows(): for value in [ "val_mrcnn_class_loss", "val_mrcnn_bbox_loss", "val_mrcnn_mask_loss", "mrcnn_bbox_loss", "val_rpn_bbox_loss", "mrcnn_mask_loss", "rpn_class_loss", "rpn_bbox_loss", "val_loss", "mrcnn_class_loss", "val_rpn_class_loss", "loss", "overlaps_AE_area1", "overlaps_AE_area2", "overlaps_AE_area3", "gt_size_list", "overlaps", "gt_class_list", "gt_size_list_AE_area1", "gt_class_list_AE_area1", "gt_size_list_AE_area2", "gt_class_list_AE_area2", "gt_size_list_AE_area3", "gt_class_list_AE_area3", "AP_list", "AP_list_AE_area1", "AP_list_AE_area2", "AP_list_AE_area3", "classless_AP_list", "classless_AP_list_AE_area1", "classless_AP_list_AE_area2", "classless_AP_list_AE_area3", ]: experiment[value] = stringlist_to_list(experiment[value]) experiment['mean_overlap'] = np.mean(experiment['overlaps']) experiment['0_threshold'] = len([i for i in experiment['overlaps'] if i > 0])/len(experiment['overlaps']) experiment['5_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.05])/len(experiment['overlaps']) experiment['10_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.1])/len(experiment['overlaps']) experiment['15_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.15])/len(experiment['overlaps']) experiment['20_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.2])/len(experiment['overlaps']) experiment['30_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.3])/len(experiment['overlaps']) experiment['40_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.4])/len(experiment['overlaps']) experiment['50_threshold'] = len([i for i in experiment['overlaps'] if i >= 0.5])/len(experiment['overlaps']) experiment['mean_nonzero_overlaps'] = np.mean([item for item in experiment['overlaps'] if item != 0]) experiment['mean_AP'] = np.mean(experiment['AP_list']) experiment['mean_classless_AP'] = np.mean(experiment['classless_AP_list']) experiment['mean_classless_AP_AE_area1'] = np.mean(experiment["classless_AP_list_AE_area1"]) experiment['mean_classless_AP_AE_area2'] = np.mean(experiment["classless_AP_list_AE_area2"]) experiment['mean_classless_AP_AE_area3'] = np.mean(experiment["classless_AP_list_AE_area3"]) print(experiment['rescaled']) print(experiment['overlaps']) print(experiment['30_threshold']) for ae_dataset in ["AE_area1", "AE_area2", "AE_area3"]: experiment[f'mean_overlap_{ae_dataset}'] = np.mean(experiment[f'overlaps_{ae_dataset}']) experiment[f'0_threshold_{ae_dataset}'] = len([i for i in experiment[f'overlaps_{ae_dataset}'] if i > 0])/len(experiment[f'overlaps_{ae_dataset}']) experiment[f'10_threshold_{ae_dataset}'] = len([i for i in experiment[f'overlaps_{ae_dataset}'] if i >= 0.1])/len(experiment[f'overlaps_{ae_dataset}']) experiment[f'30_threshold_{ae_dataset}'] = len([i for i in experiment[f'overlaps_{ae_dataset}'] if i >= 0.3])/len(experiment[f'overlaps_{ae_dataset}']) experiment[f'mean_nonzero_overlaps{ae_dataset}'] = np.mean([item for item in experiment[f'overlaps_{ae_dataset}'] if item != 0]) print(experiment[f"AP_list_{ae_dataset}"]) experiment[f"mean_AP_{ae_dataset}"] = np.mean(experiment[f"AP_list_{ae_dataset}"]) experiment[f"mean_classless_AP_{ae_dataset}"] = np.mean(experiment[f"classless_AP_list_{ae_dataset}"]) experiment['dataset'] = 'tunasand' new_experiments.append(experiment) print("Calculating threshold for 95% and 68% of points") nonzero_overlap = [item for sublist in list(experiments['overlaps']) for item in stringlist_to_list(sublist) if item != 0] nonzero_overlap.sort() threshold_95 = nonzero_overlap[int(len(nonzero_overlap)*0.05)] print(threshold_95) threshold_68 = nonzero_overlap[int(len(nonzero_overlap)*0.32)] print(threshold_68) experiments_dataframe = pd.DataFrame(new_experiments) sns.set() plt.figure(figsize=(8,5)) mAP_summary_table(experiments_dataframe) include_row = experiments_dataframe.rescaled.isin(["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"]) filtered_experiments = experiments_dataframe[include_row] for value in experiment_level_graph_settings: plt.clf() g = sns.boxplot( x=filtered_experiments[value[0]], y=filtered_experiments["30_threshold"], palette=value[1], order=value[2], ) g.set_xticklabels(value[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(value[0]) plt.ylabel("Object Detection Rate") plt.savefig(f"{value[0]}_detection_boxplot", bbox_inches='tight') plt.clf() g = sns.boxplot( x=filtered_experiments[value[0]], y=filtered_experiments["mean_AP"], palette=value[1], # order=value[2], ) print(value) print(g.get_xticklabels()) g.set_xticklabels(value[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(value[0]) plt.ylabel("mAP") plt.savefig(f"{value[0]}_mAP_boxplot", bbox_inches='tight') plt.clf() g = sns.boxplot( x=filtered_experiments[value[0]], y=filtered_experiments["mean_classless_AP"], palette=value[1], # order=value[2], ) g.set_xticklabels(value[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(value[0]) plt.ylabel("mAP") plt.savefig(f"{value[0]}_classless_mAP_boxplot", bbox_inches='tight') for ae_dataset in ["AE_area1", "AE_area2", "AE_area3"]: plt.clf() g = sns.boxplot( x=filtered_experiments[value[0]], y=filtered_experiments[f"mean_AP_{ae_dataset}"], palette=value[1], order=value[2], ) g.set_xticklabels(value[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(value[0]) plt.ylabel("mAP") plt.savefig(f"{value[0]}_mAP_boxplot_{ae_dataset}", bbox_inches='tight') plt.clf() g = sns.boxplot( x=filtered_experiments[value[0]], y=filtered_experiments[f"mean_classless_AP_{ae_dataset}"], palette=value[1], order=value[2], ) g.set_xticklabels(value[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(value[0]) plt.ylabel("mAP") plt.savefig(f"{value[0]}_classless_mAP_boxplot_{ae_dataset}", bbox_inches='tight') plt.clf() g = sns.boxplot( x=experiments_dataframe["dataset"], y=experiments_dataframe["mean_nonzero_overlaps"], hue=experiments_dataframe[value[0]], palette=value[1], hue_order=value[2], ) # g.get_legend().remove() # g.set_xticklabels(g.get_xticklabels(), rotation=45) # plt.title(value[0]) # plt.xlabel('Epoch') plt.ylabel("Mean Segmentation IOU Scores") plt.savefig(f"{value[0]}_mean_IOU_boxplot", bbox_inches='tight') plt.figure(figsize=(7,5)) plt.figure(figsize=(6,5)) for feature in experiment_level_graph_settings: #[['rescaled', ["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"], ["Original Scale", "Average Low\n Altitude Scale", "Average High\n Altitude Scale", "Average Low\n Altitude Scale\n with High\n Altitude Resolution"]], ['distortion_correction', [False, True], ["Original Image", "Distortion Corrected"]]]: for threshold in ['0','10','30']: plt.clf() g = sns.boxplot( x=filtered_experiments[feature[0]], y=filtered_experiments[f"{threshold}_threshold"], # hue=experiments_dataframe["rescaled"], order=feature[2], palette=feature[1], ) # g.get_legend().remove() g.set_xticklabels(feature[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(f"Success Rate at {threshold}% IOU Threshold, {feature[0]} Comparison") # plt.xlabel('Epoch') plt.ylabel("Object Detection Rate") plt.savefig(f"{feature[0]}_boxplot_threshold{threshold}", bbox_inches='tight') for ae_dataset in ["AE_area1", "AE_area2", "AE_area3"]: plt.clf() g = sns.boxplot( x=filtered_experiments[feature[0]], y=filtered_experiments[f"{threshold}_threshold_{ae_dataset}"], # hue=experiments_dataframe["rescaled"], order=feature[2], palette=feature[1], ) # g.get_legend().remove() g.set_xticklabels(feature[3], rotation=0) g.set_ylim([0,1]) g.set_xlabel("") plt.title(f"Object Detection Rate at {threshold}% IOU Threshold, {feature[0]} Comparison") # plt.xlabel('Epoch') plt.ylabel("Object Detection Rate") plt.savefig(f"{feature[0]}_boxplot_threshold{threshold}_{ae_dataset}", bbox_inches='tight') plt.figure(figsize=(7,5)) def group_experiments_by_predictions(experiments, category): category_values = [] for i, experiment in experiments.iterrows(): if not experiment[category] in category_values: category_values.append(experiment[category]) # print(experiments.where(experiments[category]==category_values[0])) new_experiments = [] for category_value in category_values: category_experiments_indices = experiments[category] == category_value category_experiments = experiments[category_experiments_indices] new_experiment = { category: category_value, "size": np.mean( np.array(list(category_experiments["size"])), axis=0 ) } new_experiments.append(new_experiment) experiments_dataframe = pd.DataFrame(new_experiments) return experiments_dataframe def group_experiments_by_epoch(experiments, category): category_values = [] for i, experiment in experiments.iterrows(): if not experiment[category] in category_values: category_values.append(experiment[category]) # print(experiments.where(experiments[category]==category_values[0])) new_experiments = [] for category_value in category_values: category_experiments_indices = experiments[category] == category_value category_experiments = experiments[category_experiments_indices] new_experiment = { category: category_value } for value in ["val_mrcnn_class_loss", "val_mrcnn_bbox_loss", "val_mrcnn_mask_loss", "val_rpn_bbox_loss", "val_rpn_class_loss", "mrcnn_class_loss", "mrcnn_bbox_loss", "mrcnn_mask_loss", "rpn_bbox_loss", "rpn_class_loss"]: try: new_experiment[value]=np.mean( np.array(list(category_experiments[value])), axis=0 ) except: print("unable to get the mean across axis 0 for value: " + value) print(category_experiments) new_experiment[value]=np.zeros(100) # "val_mrcnn_class_loss": np.mean( # np.array(list(category_experiments["val_mrcnn_class_loss"])), axis=0 # ), # "val_mrcnn_bbox_loss": np.mean( # np.array(list(category_experiments["val_mrcnn_bbox_loss"])), axis=0 # ), # "val_mrcnn_mask_loss": np.mean( # np.array(list(category_experiments["val_mrcnn_mask_loss"])), axis=0 # ), # "val_rpn_bbox_loss": np.mean( # np.array(list(category_experiments["val_rpn_bbox_loss"])), axis=0 # ), # "val_rpn_class_loss": np.mean( # np.array(list(category_experiments["val_rpn_class_loss"])), axis=0 # ), # "mrcnn_class_loss": np.mean( # np.array(list(category_experiments["mrcnn_class_loss"])), axis=0 # ), # "mrcnn_bbox_loss": np.mean( # np.array(list(category_experiments["mrcnn_bbox_loss"])), axis=0 # ), # "mrcnn_mask_loss": np.mean( # np.array(list(category_experiments["mrcnn_mask_loss"])), axis=0 # ), # "rpn_bbox_loss": np.mean( # np.array(list(category_experiments["rpn_bbox_loss"])), axis=0 # ), # "rpn_class_loss": np.mean( # np.array(list(category_experiments["rpn_class_loss"])), axis=0 # ), # } new_experiments.append(new_experiment) experiments_dataframe = pd.DataFrame(new_experiments) return experiments_dataframe def plot_colour_correction_lossvsvalloss(experiments, name): new_experiments = [] print(experiments.keys()) for index, experiment in experiments.iterrows(): print(experiment["val_mrcnn_class_loss"]) experiment["val_mrcnn_class_loss"] = [ float(n) for n in experiment["val_mrcnn_class_loss"][1:-1].split(", ") ] experiment["val_mrcnn_bbox_loss"] = [ float(n) for n in experiment["val_mrcnn_bbox_loss"][1:-1].split(", ") ] experiment["val_mrcnn_mask_loss"] = [ float(n) for n in experiment["val_mrcnn_mask_loss"][1:-1].split(", ") ] experiment["mrcnn_bbox_loss"] = [ float(n) for n in experiment["mrcnn_bbox_loss"][1:-1].split(", ") ] experiment["val_rpn_bbox_loss"] = [ float(n) for n in experiment["val_rpn_bbox_loss"][1:-1].split(", ") ] experiment["mrcnn_mask_loss"] = [ float(n) for n in experiment["mrcnn_mask_loss"][1:-1].split(", ") ] experiment["rpn_class_loss"] = [ float(n) for n in experiment["rpn_class_loss"][1:-1].split(", ") ] experiment["rpn_bbox_loss"] = [ float(n) for n in experiment["rpn_bbox_loss"][1:-1].split(", ") ] experiment["val_loss"] = [ float(n) for n in experiment["val_loss"][1:-1].split(", ") ] experiment["mrcnn_class_loss"] = [ float(n) for n in experiment["mrcnn_class_loss"][1:-1].split(", ") ] experiment["val_rpn_class_loss"] = [ float(n) for n in experiment["val_rpn_class_loss"][1:-1].split(", ") ] experiment["loss"] = [float(n) for n in experiment["loss"][1:-1].split(", ")] experiment["overlaps"] = stringlist_to_list(experiment["overlaps"]) for epoch in range(len(experiment["val_loss"])): new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "epoch": epoch, "mrcnn_mask_loss": float(experiment["mrcnn_mask_loss"][epoch]), "val_mrcnn_bbox_loss": float(experiment["val_mrcnn_bbox_loss"][epoch]), "loss": float(experiment["loss"][epoch]), "val_mrcnn_class_loss": float( experiment["val_mrcnn_class_loss"][epoch] ), "val_mrcnn_mask_loss": float(experiment["val_mrcnn_mask_loss"][epoch]), "mrcnn_bbox_loss": float(experiment["mrcnn_bbox_loss"][epoch]), "val_rpn_bbox_loss": float(experiment["val_rpn_bbox_loss"][epoch]), "rpn_class_loss": float(experiment["rpn_class_loss"][epoch]), "rpn_bbox_loss": float(experiment["rpn_bbox_loss"][epoch]), "mrcnn_class_loss": float(experiment["mrcnn_class_loss"][epoch]), "val_rpn_class_loss": float(experiment["val_rpn_class_loss"][epoch]), "val_loss": float(experiment["val_loss"][epoch]), "combo": str(experiment["colour_correction_type"]) + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), } new_experiments.append(new_row) experiments_dataframe = pd.DataFrame(new_experiments) sns.set() plt.clf() axes = plt.gca() axes.set_ylim([0, 4.6]) fig, ax = plt.subplots() sns.lineplot(x="epoch", y="val_loss", data=experiments_dataframe, hue="combo") print(len(ax.lines)) for i in range(len(ax.lines)): ax.lines[i].set_linestyle("--") g = sns.lineplot(x="epoch", y="loss", data=experiments_dataframe, hue="combo") g.legend_.remove() # ax.lines[3].set_linestyle("--") print(ax.lines) print(ax.lines[3].get_linestyle()) # plt.legend() # handles, labels = ax.get_legend_handles_labels() # custom_lines = [Patch(facecolor=ax.lines[0].get_color()), # Patch(facecolor=ax.lines[1].get_color()), # Patch(facecolor=ax.lines[2].get_color()), # # Patch(facecolor=ax.lines[3].get_color()), # ] # handles=custom_lines # labels = labels[1:4] # handles.extend([ax.lines[4], ax.lines[0]]) # labels.extend(['training', 'validation']) # print(handles) # print(labels) # ax.legend(handles=[], labels=[]) plt.title("Loss and validation loss per epoch") plt.savefig(name + "combo_type_loss_vs_valloss") def stringlist_to_list(stringlist): if type(stringlist) != str: return [0] if len(stringlist) < 3: return [0] real_list = [float(n) for n in stringlist[1:-1].split(", ")] return real_list def get_labels(buckets): # buckets = sorted(list(buckets)) return [int_to_string(i) for i in buckets] def plot_size_overlap_boxplots(experiments): ts_experiments = [] ae_dive1_experiments = [] ae_dive2_experiments = [] ae_dive3_experiments = [] print(experiments.keys()) for index, experiment in experiments.iterrows(): print(experiment) for value in [ "val_mrcnn_class_loss", "val_mrcnn_bbox_loss", "val_mrcnn_mask_loss", "mrcnn_bbox_loss", "val_rpn_bbox_loss", "mrcnn_mask_loss", "rpn_class_loss", "rpn_bbox_loss", "val_loss", "mrcnn_class_loss", "val_rpn_class_loss", "loss", "overlaps_AE_area1", "overlaps_AE_area2", "overlaps_AE_area3", "gt_size_list", "overlaps", "gt_class_list", "gt_size_list_AE_area1", "gt_class_list_AE_area1", "gt_size_list_AE_area2", "gt_class_list_AE_area2", "gt_size_list_AE_area3", "gt_class_list_AE_area3", "predicted_size_list", "predicted_class_list", "predicted_size_list_AE_area1", "predicted_class_list_AE_area1", "predicted_size_list_AE_area2", "predicted_class_list_AE_area2", "predicted_size_list_AE_area3", "predicted_class_list_AE_area3", ]: print(value) experiment[value] = stringlist_to_list(experiment[value]) experiment["size_bucket"] = size_buckets(experiment["predicted_size_list"], 500) experiment["ae_size_bucket_dive1"] = size_buckets(experiment["predicted_size_list_AE_area1"], 20000) experiment["ae_size_bucket_dive2"] = size_buckets(experiment["predicted_size_list_AE_area2"], 20000) experiment["ae_size_bucket_dive3"] = size_buckets(experiment["predicted_size_list_AE_area3"], 20000) for prediction in range(len(experiment["gt_class_list"])): if experiment["overlaps"][prediction] >= 0.3: new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "size_bucket":experiment["size_bucket"][prediction], "gt_size":experiment["gt_size_list"][prediction], "gt_class":experiment["gt_class_list"][prediction], "overlap":experiment["overlaps"][prediction], "dataset":"tunasand" } if new_row['rescaled'] in ["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"]: ts_experiments.append(new_row) for prediction in range(len(experiment["gt_class_list_AE_area1"])): if experiment["overlaps_AE_area1"][prediction] >= 0.3: new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "size_bucket":experiment["ae_size_bucket_dive1"][prediction], "gt_class":experiment["gt_class_list_AE_area1"][prediction], "overlap":experiment["overlaps_AE_area1"][prediction], "dataset":"ae_dive1" } if new_row['rescaled'] in ["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"]: ae_dive1_experiments.append(new_row) for prediction in range(len(experiment["gt_class_list_AE_area2"])): if experiment["overlaps_AE_area2"][prediction] >= 0.3: new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "size_bucket":experiment["ae_size_bucket_dive2"][prediction], "gt_class":experiment["gt_class_list_AE_area2"][prediction], "overlap":experiment["overlaps_AE_area2"][prediction], "dataset":"ae_dive2" } if new_row['rescaled'] in ["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"]: ae_dive2_experiments.append(new_row) for prediction in range(len(experiment["gt_class_list_AE_area3"])): if experiment["overlaps_AE_area3"][prediction] >= 0.3: new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "size_bucket":experiment["ae_size_bucket_dive3"][prediction], "gt_class":experiment["gt_class_list_AE_area3"][prediction], "overlap":experiment["overlaps_AE_area3"][prediction], "dataset":"ae_dive3" } if new_row['rescaled'] in ["not_rescaled", "res_nn", "drop_res_nn", "drop_res_up_nn"]: ae_dive3_experiments.append(new_row) # Filter dictionary by keeping elements whose keys are divisible by 2 ts_experiments = pd.DataFrame(ts_experiments) ae_dive1_experiments = pd.DataFrame(ae_dive1_experiments) ae_dive2_experiments = pd.DataFrame(ae_dive2_experiments) ae_dive3_experiments = pd.DataFrame(ae_dive3_experiments) for value in set(ts_experiments['rescaled']): subset = ts_experiments[ts_experiments['rescaled']==value] sns.set() labels=get_labels(set(subset['size_bucket'])) plt.clf() # palette = get_palette(subset['size_bucket']) counts = subset.groupby("size_bucket").count() print(value) print(counts) print(counts['rescaled'].sum()) ax = sns.boxplot(x=subset["size_bucket"], y=subset["overlap"]) axes = plt.gca() axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") ax.tick_params(which='major', width=1.00) ax.tick_params(which='major', length=5) ax.tick_params(which='minor', width = 0.75) ax.tick_params(which='minor', length=2.5) # ax.get_legend().remove() ax.xaxis.set_major_locator(ticker.MultipleLocator(5)) ax.xaxis.set_minor_locator(ticker.MultipleLocator(1)) ax.xaxis.set_major_formatter(ticker.ScalarFormatter()) new_labels=['blah'] new_labels.extend(labels[0::5]) ax.xaxis.set_ticklabels(new_labels,rotation=50) plt.title("IOU to size of groundtruth scatterplot") plt.savefig(f"scatter_{value}_box_plot", bbox_inches='tight') plt.clf() ax = sns.boxplot(x=ts_experiments["gt_class"], y=ts_experiments["overlap"], hue=ts_experiments['size_bucket']) axes = plt.gca() axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") ax.tick_params(which='major', width=1.00) ax.tick_params(which='major', length=5) ax.tick_params(which='minor', width = 0.75) ax.tick_params(which='minor', length=2.5) # ax.xaxis.set_major_locator(ticker.MultipleLocator(5)) # ax.xaxis.set_minor_locator(ticker.MultipleLocator(1)) # ax.xaxis.set_major_formatter(ticker.ScalarFormatter()) # new_labels=['blah'] # new_labels.extend(labels[0::5]) # ax.xaxis.set_ticklabels(new_labels,rotation=50) plt.title("IOU to size of groundtruth scatterplot") plt.savefig("scatter_class_box_plot", bbox_inches='tight') plt.clf() sns.boxplot(x=ae_dive1_experiments["size_bucket"], y=ae_dive1_experiments["overlap"]) axes = plt.gca() axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") # axes.set_xticklabels(labels,rotation=50) plt.title("IOU to size of groundtruth scatterplot - " + experiment["rescaled"]) plt.savefig("ae_dive1_scatter_box_plot", bbox_inches='tight') plt.clf() sns.boxplot(x=ae_dive2_experiments["size_bucket"], y=ae_dive2_experiments["overlap"]) axes = plt.gca() axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") # axes.set_xticklabels(labels,rotation=50) plt.title("IOU to size of groundtruth scatterplot - " + experiment["rescaled"]) plt.savefig("ae_dive2_scatter_box_plot", bbox_inches='tight') plt.clf() sns.boxplot(x=ae_dive3_experiments["size_bucket"], y=ae_dive3_experiments["overlap"]) axes = plt.gca() axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") # axes.set_xticklabels(labels,rotation=50) plt.title("IOU to size of groundtruth scatterplot - " + experiment["rescaled"]) plt.savefig("ae_dive3_scatter_box_plot", bbox_inches='tight') plt.clf() plt.figure(figsize=(15,5)) for value in instance_level_graph_settings: plt.clf() g = sns.boxplot( x=ts_experiments[value[0]], y=ts_experiments["overlap"], palette=value[1], order=value[2], fliersize=1, hue=ts_experiments["rescaled"], ) print(value[2]) # g.get_legend().remove() g.set_xticklabels(value[3], rotation=0) g.set_xlabel("") g.set_ylim([0,1]) # plt.title(value[0]) # plt.xlabel('Epoch') plt.ylabel("Segmentation IOU Scores") plt.savefig(f"{value[0]}_IOU_boxplot", bbox_inches='tight') for ae_dataset in [[ae_dive1_experiments, "AE_area1"], [ae_dive2_experiments, "AE_area2"], [ae_dive3_experiments, "AE_area3"]]: plt.clf() g = sns.boxplot( x=ae_dataset[0][value[0]], y=ae_dataset[0]["overlap"], hue=ae_dataset[0]["rescaled"], order=value[2], palette=value[1], ) # g.get_legend().remove() g.set_xticklabels(value[3], rotation=0) g.set_xlabel("") g.set_ylim([0,1]) # plt.title(value[0]) # plt.xlabel('Epoch') plt.ylabel("Segmentation IOU Scores") plt.savefig(f"{value[0]}_IOU_boxplot_{ae_dataset[1]}", bbox_inches='tight') def plot_size_overlap_scatter(experiments): ts_experiments = [] ae_dive1_experiments = [] ae_dive2_experiments = [] ae_dive3_experiments = [] print(experiments.keys()) for index, experiment in experiments.iterrows(): print(experiment) for value in [ "val_mrcnn_class_loss", "val_mrcnn_bbox_loss", "val_mrcnn_mask_loss", "mrcnn_bbox_loss", "val_rpn_bbox_loss", "mrcnn_mask_loss", "rpn_class_loss", "rpn_bbox_loss", "val_loss", "mrcnn_class_loss", "val_rpn_class_loss", "loss", "overlaps_AE_area1", "overlaps_AE_area2", "overlaps_AE_area3", "gt_size_list", "overlaps", "gt_class_list", "gt_size_list_AE_area1", "gt_class_list_AE_area1", "gt_size_list_AE_area2", "gt_class_list_AE_area2", "gt_size_list_AE_area3", "gt_class_list_AE_area3", ]: print(value) experiment[value] = stringlist_to_list(experiment[value]) for prediction in range(len(experiment["gt_class_list"])): new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "gt_size":experiment["gt_size_list"][prediction], "gt_class":experiment["gt_class_list"][prediction], "overlap":experiment["overlaps"][prediction], } ts_experiments.append(new_row) for prediction in range(len(experiment["gt_class_list_AE_area1"])): new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "gt_size":experiment["gt_size_list_AE_area1"][prediction], "gt_class":experiment["gt_class_list_AE_area1"][prediction], "overlap":experiment["overlaps_AE_area1"][prediction], "dataset":"ae_dive1" } ae_dive1_experiments.append(new_row) for prediction in range(len(experiment["gt_class_list_AE_area2"])): new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "gt_size":experiment["gt_size_list_AE_area2"][prediction], "gt_class":experiment["gt_class_list_AE_area2"][prediction], "overlap":experiment["overlaps_AE_area2"][prediction], "dataset":"ae_dive2" } ae_dive2_experiments.append(new_row) for prediction in range(len(experiment["gt_class_list_AE_area3"])): new_row = { "rescaled": experiment["rescaled"], "distortion_correction": experiment["distortion_correction"], "minimum_loss": experiment["minimum_loss"], "number": experiment["number"], "minimum_val_loss": experiment["minimum_val_loss"], "elastic_distortions": experiment["elastic_distortions"], "colour_correction_type": experiment["colour_correction_type"], "separate_channel_ops": experiment["separate_channel_ops"], "combo": experiment["colour_correction_type"] + str(experiment["distortion_correction"]) + str(experiment["rescaled"]), "gt_size":experiment["gt_size_list_AE_area3"][prediction], "gt_class":experiment["gt_class_list_AE_area3"][prediction], "overlap":experiment["overlaps_AE_area3"][prediction], "dataset":"ae_dive3" } ae_dive3_experiments.append(new_row) ts_experiments = pd.DataFrame(ts_experiments) ae_dive1_experiments = pd.DataFrame(ae_dive1_experiments) ae_dive2_experiments = pd.DataFrame(ae_dive2_experiments) ae_dive3_experiments = pd.DataFrame(ae_dive3_experiments) sns.set() axes = plt.gca() axes.set_ylim([-0.01, 1]) axes.set_xscale('log') axes.set_xlim([1, 30000]) axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") plt.legend() plt.title("IOU to size of groundtruth scatterplot - all data points") splot=sns.scatterplot(x="gt_size", y="overlap", hue="gt_class", data=ts_experiments, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(ts_experiments["gt_class"])))) # splot.set(xscale="log") plt.savefig("ts_all_points_scatter_plot", bbox_inches='tight') plt.clf() # axes = plt.gca() # # axes.set_xlim([0, 30000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xscale('log') # axes.set_xlim([1, 3000000]) # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all data points") # splot=sns.scatterplot(x="gt_size", y="overlap", hue="gt_class", data=ae_dive1_experiments, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(ae_dive1_experiments["gt_class"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive1_all_points_scatter_plot", bbox_inches='tight') # plt.clf() # axes = plt.gca() # # axes.set_xlim([0, 30000]) # axes.set_xscale('log') # axes.set_xlim([1, 3000000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all data points") # splot=sns.scatterplot(x="gt_size", y="overlap", hue="gt_class", data=ae_dive2_experiments, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(ae_dive2_experiments["gt_class"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive2_all_points_scatter_plot", bbox_inches='tight') # plt.clf() # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 3000000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all data points") # splot=sns.scatterplot(x="gt_size", y="overlap", hue="gt_class", data=ae_dive3_experiments, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(ae_dive3_experiments["gt_class"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive3_all_points_scatter_plot", bbox_inches='tight') # plt.clf() for r in set(ts_experiments["rescaled"]): rescaled_set = ts_experiments[ts_experiments['rescaled']==r] axes = plt.gca() axes.set_xscale('log') axes.set_xlim([1, 30000]) axes.set_ylim([-0.01, 1]) axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") plt.legend() plt.title("IOU to size of groundtruth scatterplot - all rescaling") splot=sns.scatterplot(x="gt_size", y="overlap", hue="gt_class", data=rescaled_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(rescaled_set["gt_class"])))) # splot.set(xscale="log") plt.savefig("ts_rescaled_scatter_plot_"+str(r), bbox_inches='tight') plt.clf() # for r in set(ae_dive1_experiments["rescaled"]): # rescaled_set = ae_dive1_experiments[ae_dive1_experiments['rescaled']==r] # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 30000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all rescaling") # splot=sns.scatterplot(x="size", y="overlap", hue="class", data=rescaled_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(rescaled_set["class"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive1_rescaled_scatter_plot_"+str(r), bbox_inches='tight') # plt.clf() # for r in set(ae_dive2_experiments["rescaled"]): # rescaled_set = ae_dive2_experiments[ae_dive2_experiments['rescaled']==r] # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 30000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all rescaling") # splot=sns.scatterplot(x="size", y="overlap", hue="class", data=rescaled_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(rescaled_set["class"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive2_rescaled_scatter_plot_"+str(r), bbox_inches='tight') # plt.clf() # for r in set(ae_dive3_experiments["rescaled"]): # rescaled_set = ae_dive3_experiments[ae_dive3_experiments['rescaled']==r] # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 30000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all rescaling") # splot=sns.scatterplot(x="size", y="overlap", hue="class", data=rescaled_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(rescaled_set["class"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive3_rescaled_scatter_plot_"+str(r), bbox_inches='tight') # plt.clf() for c in set(ts_experiments["gt_class"]): class_set = ts_experiments[ts_experiments['gt_class']==c] axes = plt.gca() axes.set_xscale('log') axes.set_xlim([1, 30000]) axes.set_ylim([-0.01, 1]) axes.set_ylabel("IOU scores") axes.set_xlabel("Size of groundtruth segment in pixels") plt.legend() plt.title("IOU to size of groundtruth scatterplot - all rescaling") splot=sns.scatterplot(x="gt_size", y="overlap", hue="rescaled", data=class_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(class_set["rescaled"])))) # splot.set(xscale="log") plt.savefig("ts_class_scatter_plot_"+str(c).split('.')[0], bbox_inches='tight') plt.clf() # for c in set(ae_dive1_experiments["class"]): # class_set = ae_dive1_experiments[ae_dive1_experiments['class']==c] # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 3000000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all rescaling") # splot=sns.scatterplot(x="size", y="overlap", hue="rescaled", data=class_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(class_set["rescaled"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive1_class_scatter_plot_"+str(c).split('.')[0], bbox_inches='tight') # plt.clf() # for c in set(ae_dive2_experiments["class"]): # class_set = ae_dive2_experiments[ae_dive2_experiments['class']==c] # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 3000000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all rescaling") # splot=sns.scatterplot(x="size", y="overlap", hue="rescaled", data=class_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(class_set["rescaled"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive2_class_scatter_plot_"+str(c).split('.')[0], bbox_inches='tight') # plt.clf() # # axes.set_xlim([0, 30000]) # for c in set(ae_dive3_experiments["class"]): # class_set = ae_dive3_experiments[ae_dive3_experiments['class']==c] # axes = plt.gca() # axes.set_xscale('log') # axes.set_xlim([1, 3000000]) # axes.set_ylim([-0.01, 1]) # axes.set_ylabel("IOU scores") # axes.set_xlabel("Size of groundtruth segment in pixels") # plt.legend() # plt.title("IOU to size of groundtruth scatterplot - all rescaling") # splot=sns.scatterplot(x="size", y="overlap", hue="rescaled", data=class_set, s=5, marker='.', linewidth=0, palette=sns.color_palette("muted", n_colors=len(set(class_set["rescaled"])))) # # splot.set(xscale="log") # plt.savefig("ae_dive3_class_scatter_plot_"+str(c).split('.')[0], bbox_inches='tight') # plt.clf() def plot_colour_correction_stackedarea(experiments, name): plt.clf() axes = plt.gca() axes.set_ylim([0, 4.6]) fig, ax = plt.subplots() new_experiments = [] print(experiments.keys()) for index, experiment in experiments.iterrows(): print(experiment) for value in [ "val_mrcnn_class_loss", "val_mrcnn_bbox_loss", "val_mrcnn_mask_loss", "mrcnn_bbox_loss", "val_rpn_bbox_loss", "mrcnn_mask_loss", "rpn_class_loss", "rpn_bbox_loss", "val_loss", "mrcnn_class_loss", "val_rpn_class_loss", "loss", "overlaps" ]: experiment[value] = stringlist_to_list(experiment[value]) new_experiments.append(experiment) experiments_dataframe = pd.DataFrame(new_experiments) print(type(experiments_dataframe["val_mrcnn_class_loss"])) experiments_dataframe = group_experiments_by_epoch(experiments_dataframe, "rescaled") print(type(experiments_dataframe["val_mrcnn_class_loss"])) sns.set(rc={"lines.linewidth": 0.3}) plt.clf() axes = plt.gca() axes.set_ylim([0, 4.6]) fig, ax = plt.subplots() for i, experiment in experiments_dataframe.iterrows(): y = [ experiment["rpn_bbox_loss"], experiment["rpn_class_loss"], experiment["mrcnn_bbox_loss"], experiment["mrcnn_mask_loss"], experiment["mrcnn_class_loss"], ] labels = [ "rpn_bbox_loss", "rpn_class_loss", "mrcnn_bbox_loss", "mrcnn_mask_loss", "mrcnn_class_loss", ] x = range(1, 101) axes = plt.gca() axes.set_ylim([0, 4.6]) axes.set_ylabel("Training Loss") axes.set_xlabel("Training Epoch") print(x) print(y) plt.stackplot(x, y, labels=labels) plt.legend() # plt.title(experiment["rescaled"]) print(name) plt.savefig(str(name) + str(experiment["rescaled"]) + "_stacked_loss", bbox_inches='tight') plt.clf() axes = plt.gca() axes.set_ylim([0, 4.6]) y = [ experiment["val_rpn_bbox_loss"], experiment["val_rpn_class_loss"], experiment["val_mrcnn_bbox_loss"], experiment["val_mrcnn_mask_loss"], experiment["val_mrcnn_class_loss"], ] labels = [ "val_rpn_bbox_loss", "val_rpn_class_loss", "val_mrcnn_bbox_loss", "val_mrcnn_mask_loss", "val_mrcnn_class_loss", ] plt.stackplot(x, y, labels=labels) axes.set_ylabel("Validation Loss") axes.set_xlabel("Training Epoch") plt.legend() # plt.title(experiment["rescaled"]) plt.savefig(str(name) + str(experiment["rescaled"]) + "_stacked_val_loss", bbox_inches='tight') plt.clf() def compile_dataframes(): all_filenames=os.listdir("./maskandclassloss") #combine all files in the list combined_csv = pd.concat([pd.read_csv("./maskandclassloss/"+f) for f in all_filenames ]) #export to csv combined_csv.to_csv( "maskandclassloss_csv.csv", index=False, encoding='utf-8-sig') def mAP_summary_table(experiments_dataframe): print(experiments_dataframe.index) mAP_table = experiments_dataframe.groupby( by=["colour_correction_type", "rescaled", "distortion_correction", "elastic_distortions", "separate_channel_ops"], ).agg([np.mean, np.std])['mean_AP'] mAP_table.to_csv("mAP_table.csv") ae_mAP_table = experiments_dataframe.groupby( by=["colour_correction_type", "rescaled", "distortion_correction", "elastic_distortions", "separate_channel_ops"], ).agg([np.mean, np.std])[['mean_classless_AP_AE_area1', 'mean_classless_AP_AE_area2', 'mean_classless_AP_AE_area3']] ae_mAP_table.to_csv("ae_mAP_table.csv") experiments = pd.read_csv("./experiments_dataframe_run_fewaugs.csv") plot_boxplots(experiments) # plot_colour_correction_stackedarea(experiments, "all_loss") # plot_colour_correction_lossvsvalloss(experiments, "all_loss") plot_size_overlap_scatter(experiments) plot_size_overlap_boxplots(experiments) # experiments = pd.read_csv("./maskandclassloss_csv.csv") # plot_boxplots(experiments) # plot_colour_correction_stackedarea(experiments, "maskandclass_loss") # plot_colour_correction_lossvsvalloss(experiments, "maskandclass_loss") # plot_size_overlap_scatter(experiments) # plot_size_overlap_boxplots(experiments) # experiments = pd.read_csv("./masklossonly_csv.csv") # plot_boxplots(experiments) # plot_colour_correction_stackedarea(experiments, "mask_loss") # print(experiments) # plot_colour_correction_lossvsvalloss(experiments, "mask_loss") # plot_size_overlap_scatter(experiments) # plot_size_overlap_boxplots(experiments)
42.988628
366
0.607492
6,597
56,702
4.930726
0.053054
0.018507
0.017769
0.013834
0.808719
0.737518
0.706929
0.671391
0.644368
0.610428
0
0.017046
0.256129
56,702
1,318
367
43.021244
0.754143
0.18599
0
0.568777
0
0
0.257346
0.081832
0
0
0
0
0
1
0.018559
false
0
0.017467
0.002183
0.049127
0.042576
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c42196042601ad32d520721e75f9b0b5b1874a9a
253
py
Python
functions/addFooter.py
saaalik/PortfolioFy
89b2790cb6ed4b348723a4d67ca76985efa584ff
[ "MIT" ]
null
null
null
functions/addFooter.py
saaalik/PortfolioFy
89b2790cb6ed4b348723a4d67ca76985efa584ff
[ "MIT" ]
null
null
null
functions/addFooter.py
saaalik/PortfolioFy
89b2790cb6ed4b348723a4d67ca76985efa584ff
[ "MIT" ]
null
null
null
def footer(index_file): footer_template = '''<p class="text-info">Generated by <a href="https://github.com/kaustubhgupta">Kaustubh Gupta</a></p>''' replacement = index_file.replace("<!-- FOOTER-ENTRY -->", footer_template) return replacement
63.25
127
0.699605
32
253
5.40625
0.71875
0.104046
0
0
0
0
0
0
0
0
0
0
0.114625
253
4
128
63.25
0.772321
0
0
0
1
0.25
0.472441
0.106299
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
c44590a17bdf7cd07c5c345fb0cf7a1a09a32d74
26,638
py
Python
tests/network/test_services.py
ManFromSiberia/bit
e5b3b4c33ad22eebe12f3e92f7cf7072e43e78ea
[ "MIT" ]
null
null
null
tests/network/test_services.py
ManFromSiberia/bit
e5b3b4c33ad22eebe12f3e92f7cf7072e43e78ea
[ "MIT" ]
null
null
null
tests/network/test_services.py
ManFromSiberia/bit
e5b3b4c33ad22eebe12f3e92f7cf7072e43e78ea
[ "MIT" ]
null
null
null
import pytest import requests import json import unittest import requests_mock import bit from bit.network.services import ( RPCHost, RPCMethod, BitpayAPI, BlockchainAPI, NetworkAPI, SmartbitAPI, set_service_timeout ) from tests.utils import ( catch_errors_raise_warnings, decorate_methods, raise_connection_error ) from bit.transaction import calc_txid MAIN_ADDRESS_USED1 = '1L2JsXHPMYuAa9ugvHGLwkdstCPUDemNCf' MAIN_ADDRESS_USED2 = '17SkEw2md5avVNyYgj6RiXuQKNwkXaxFyQ' MAIN_ADDRESS_UNUSED = '1DvnoW4vsXA1H9KDgNiMqY7iNkzC187ve1' TEST_ADDRESS_USED1 = 'n2eMqTT929pb1RDNuqEnxdaLau1rxy3efi' TEST_ADDRESS_USED2 = 'mmvP3mTe53qxHdPqXEvdu8WdC7GfQ2vmx5' TEST_ADDRESS_USED3 = 'mpnrLMH4m4e6dS8Go84P1r2hWwTiFTXmtW' TEST_ADDRESS_UNUSED = 'mp1xDKvvZ4yd8h9mLC4P76syUirmxpXhuk' MAIN_TX_VALID = '6e05c708d88cc5bf0f1533938c969de2cc48f438b0ae28ce89fefbaa1938185a' TEST_TX_VALID = 'ff2b4641481f1ee553ba2c9f02f413a86f70240c35b5aee554f84e3efee93292' TX_INVALID = 'ff2b4641481f1ee553ba2c9f02f413a86f70240c35b5aee554f84e3efee93290' def all_items_common(seq): initial_set = set(seq[0]) intersection_lengths = [len(set(s) & initial_set) for s in seq] return all_items_equal(intersection_lengths) def all_items_equal(seq): initial_item = seq[0] return all(item == initial_item for item in seq if item is not None) def both_rpchosts_equal(host1, host2): return host1._url == host2._url and host1._headers == host2._headers def test_set_service_timeout(): original = bit.network.services.DEFAULT_TIMEOUT set_service_timeout(3) updated = bit.network.services.DEFAULT_TIMEOUT assert original != updated assert updated == 3 set_service_timeout(original) class MockBackend(NetworkAPI): IGNORED_ERRORS = NetworkAPI.IGNORED_ERRORS GET_BALANCE_MAIN = [raise_connection_error] GET_TRANSACTIONS_MAIN = [raise_connection_error] GET_TRANSACTION_BY_ID_MAIN = [raise_connection_error] GET_UNSPENT_MAIN = [raise_connection_error] GET_BALANCE_TEST = [raise_connection_error] GET_TRANSACTIONS_TEST = [raise_connection_error] GET_TRANSACTION_BY_ID_TEST = [raise_connection_error] GET_UNSPENT_TEST = [raise_connection_error] class MockRPCHost(RPCHost): def __getattr__(self, rpc_method): return MockRPCMethod(rpc_method, None) class MockRPCMethod(RPCMethod): def __call__(self, *args): if self._rpc_method == "getreceivedbyaddress": assert ( args[0] == MAIN_ADDRESS_USED1 or args[0] == TEST_ADDRESS_USED2 or args[0] == MAIN_ADDRESS_UNUSED or args[0] == TEST_ADDRESS_UNUSED ) assert args[1] == 0 if args[0] in (MAIN_ADDRESS_USED1, TEST_ADDRESS_USED2): return 1.23456789 return 0 if self._rpc_method == "listreceivedbyaddress": assert args[0] == 0 assert args[1] is True assert args[2] is True assert ( args[3] == MAIN_ADDRESS_USED1 or args[3] == TEST_ADDRESS_USED2 or args[3] == MAIN_ADDRESS_UNUSED or args[3] == TEST_ADDRESS_UNUSED ) if args[3] == MAIN_ADDRESS_USED1: return [{ "involvesWatchonly": True, "address": "1L2JsXHPMYuAa9ugvHGLwkdstCPUDemNCf", "amount": 1.23456789, "confirmations": 0, "label": "", "txids": [ "381f1605dd927151fbfac2e88608464414fa5b01bd6298cd1e2d9d991907aa9e", "6e05c708d88cc5bf0f1533938c969de2cc48f438b0ae28ce89fefbaa1938185a" ]}] elif args[3] == TEST_ADDRESS_USED2: return [{ "involvesWatchonly": True, "address": "mmvP3mTe53qxHdPqXEvdu8WdC7GfQ2vmx5", "amount": 1.23456789, "confirmations": 0, "label": "", "txids": [ "ff2b4641481f1ee553ba2c9f02f413a86f70240c35b5aee554f84e3efee93292", "ef9bd3ac4eacc60a16117eaca0631bbef673eb8a71084de4b9ada3317f7895e9", "ff2b4641481f1ee553ba2c9f02f413a86f70240c35b5aee554f84e3efee93290" ]}] return [] if self._rpc_method == "getrawtransaction": assert args[0] == MAIN_TX_VALID or args[0] == TEST_TX_VALID assert args[1] is False return True if self._rpc_method == "listunspent": assert args[0] == 0 assert args[1] == 9999999 assert ( args[2] == [MAIN_ADDRESS_USED1] or args[2] == [TEST_ADDRESS_USED2] or args[2] == [MAIN_ADDRESS_UNUSED] or args[2] == [TEST_ADDRESS_UNUSED] ) if args[2][0] in (MAIN_ADDRESS_UNUSED, TEST_ADDRESS_UNUSED): return [] return [{ "txid": "381f1605dd927151fbfac2e88608464414fa5b01bd6298cd1e2d9d991907aa9e", "vout": 0, "address": MAIN_ADDRESS_USED1, "label": "", "scriptPubKey": "a9142df37714a79eacad089a41481a6a3e400d39a54687", "amount": 1.23456789, "confirmations": 0, "spendable": False, "solvable": False, "safe": True }, { "txid": "ef9bd3ac4eacc60a16117eaca0631bbef673eb8a71084de4b9ada3317f7895e9", "vout": 1, "address": MAIN_ADDRESS_USED1, "label": "", "scriptPubKey": "a9142df37714a79eacad089a41481a6a3e400d39a54687", "amount": 1.23456789, "confirmations": 0, "spendable": False, "solvable": False, "safe": True }] if self._rpc_method == "sendrawtransaction": assert args[0] == "01000000000000000000" or args[0] == "00000000000000000000" if args[0] == "00000000000000000000": raise bit.exceptions.BitcoinNodeException() return "" raise AttributeError('called unsupported RPC method %s', self._rpc_method) # pragma: no cover class TestNetworkAPI: def test_get_balance_main_equal(self): results = [call(MAIN_ADDRESS_USED2) for call in NetworkAPI.GET_BALANCE_MAIN] assert all(result == results[0] for result in results) def test_get_balance_main_failure(self): with pytest.raises(ConnectionError): MockBackend.get_balance(MAIN_ADDRESS_USED2) def test_get_balance_test_equal(self): results = [call(TEST_ADDRESS_USED2) for call in NetworkAPI.GET_BALANCE_TEST] assert all(result == results[0] for result in results) def test_get_balance_test_failure(self): with pytest.raises(ConnectionError): MockBackend.get_balance_testnet(TEST_ADDRESS_USED2) def test_get_transactions_main_equal(self): results = [call(MAIN_ADDRESS_USED1)[:100] for call in NetworkAPI.GET_TRANSACTIONS_MAIN] assert all_items_common(results) def test_get_transactions_main_failure(self): with pytest.raises(ConnectionError): MockBackend.get_transactions(MAIN_ADDRESS_USED1) def test_get_transactions_test_equal(self): results = [call(TEST_ADDRESS_USED2)[:100] for call in NetworkAPI.GET_TRANSACTIONS_TEST] assert all_items_common(results) def test_get_transactions_test_failure(self): with pytest.raises(ConnectionError): MockBackend.get_transactions_testnet(TEST_ADDRESS_USED2) def test_get_transaction_by_id_main_equal(self): results = [calc_txid(call(MAIN_TX_VALID)) for call in NetworkAPI.GET_TRANSACTION_BY_ID_MAIN] assert all_items_equal(results) def test_get_transaction_by_id_main_failure(self): with pytest.raises(ConnectionError): MockBackend.get_transaction_by_id(MAIN_TX_VALID) def test_get_transaction_by_id_test_equal(self): results = [calc_txid(call(TEST_TX_VALID)) for call in NetworkAPI.GET_TRANSACTION_BY_ID_TEST] assert all_items_equal(results) def test_get_transaction_by_id_test_failure(self): with pytest.raises(ConnectionError): MockBackend.get_transaction_by_id_testnet(TEST_TX_VALID) def test_get_unspent_main_equal(self): results = [call(MAIN_ADDRESS_USED2) for call in NetworkAPI.GET_UNSPENT_MAIN] assert all_items_equal(results) def test_get_unspent_main_failure(self): with pytest.raises(ConnectionError): MockBackend.get_unspent(MAIN_ADDRESS_USED1) def test_get_unspent_test_equal(self): results = [call(TEST_ADDRESS_USED3) for call in NetworkAPI.GET_UNSPENT_TEST] assert all_items_equal(results) def test_get_unspent_test_failure(self): with pytest.raises(ConnectionError): MockBackend.get_unspent_testnet(TEST_ADDRESS_USED2) def test_connect_to_node_main(self): # Copy the NetworkAPI class as to not override it class n(NetworkAPI): pass n.connect_to_node(user="user", password="password") assert sum(both_rpchosts_equal(call.__self__, RPCHost("user", "password", "localhost", 8332, False)) for call in n.GET_BALANCE_MAIN) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_BALANCE_MAIN) assert sum(both_rpchosts_equal(call.__self__, RPCHost("user", "password", "localhost", 8332, False)) for call in n.GET_TRANSACTIONS_MAIN) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTIONS_MAIN) assert sum(both_rpchosts_equal(call.__self__, RPCHost("user", "password", "localhost", 8332, False)) for call in n.GET_TRANSACTION_BY_ID_MAIN) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTION_BY_ID_MAIN) assert sum(both_rpchosts_equal(call.__self__, RPCHost("user", "password", "localhost", 8332, False)) for call in n.GET_UNSPENT_MAIN) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_UNSPENT_MAIN) assert sum(both_rpchosts_equal(call.__self__, RPCHost("user", "password", "localhost", 8332, False)) for call in n.BROADCAST_TX_MAIN) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.BROADCAST_TX_MAIN) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_BALANCE_TEST) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTIONS_TEST) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTION_BY_ID_TEST) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_UNSPENT_TEST) assert all(not isinstance(call.__self__, RPCHost) for call in n.BROADCAST_TX_TEST) def test_connect_to_node_test(self): # Copy the NetworkAPI class as to not override it class n(NetworkAPI): pass n.connect_to_node(user="usr", password="pass", host="host", port=18443, use_https=True, testnet=True) assert sum(both_rpchosts_equal(call.__self__, RPCHost("usr", "pass", "host", 18443, True)) for call in n.GET_BALANCE_TEST) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_BALANCE_TEST) assert sum(both_rpchosts_equal(call.__self__, RPCHost("usr", "pass", "host", 18443, True)) for call in n.GET_TRANSACTIONS_TEST) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTIONS_TEST) assert sum(both_rpchosts_equal(call.__self__, RPCHost("usr", "pass", "host", 18443, True)) for call in n.GET_TRANSACTION_BY_ID_TEST) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTION_BY_ID_TEST) assert sum(both_rpchosts_equal(call.__self__, RPCHost("usr", "pass", "host", 18443, True)) for call in n.GET_UNSPENT_TEST) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.GET_UNSPENT_TEST) assert sum(both_rpchosts_equal(call.__self__, RPCHost("usr", "pass", "host", 18443, True)) for call in n.BROADCAST_TX_TEST) == 1 assert all(isinstance(call.__self__, RPCHost) for call in n.BROADCAST_TX_TEST) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_BALANCE_MAIN) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTIONS_MAIN) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_TRANSACTION_BY_ID_MAIN) assert all(not isinstance(call.__self__, RPCHost) for call in n.GET_UNSPENT_MAIN) assert all(not isinstance(call.__self__, RPCHost) for call in n.BROADCAST_TX_MAIN) @decorate_methods(catch_errors_raise_warnings, NetworkAPI.IGNORED_ERRORS) class TestBitpayAPI: def test_get_balance_return_type(self): assert isinstance(BitpayAPI.get_balance(MAIN_ADDRESS_USED1), int) def test_get_balance_main_used(self): assert BitpayAPI.get_balance(MAIN_ADDRESS_USED1) > 0 def test_get_balance_main_unused(self): assert BitpayAPI.get_balance(MAIN_ADDRESS_UNUSED) == 0 def test_get_balance_test_used(self): assert BitpayAPI.get_balance_testnet(TEST_ADDRESS_USED2) > 0 def test_get_balance_test_unused(self): assert BitpayAPI.get_balance_testnet(TEST_ADDRESS_UNUSED) == 0 def test_get_transactions_return_type(self): assert iter(BitpayAPI.get_transactions(MAIN_ADDRESS_USED1)) def test_get_transactions_main_used(self): assert len(BitpayAPI.get_transactions(MAIN_ADDRESS_USED1)) >= 218 def test_get_transactions_main_unused(self): assert len(BitpayAPI.get_transactions(MAIN_ADDRESS_UNUSED)) == 0 def test_get_transactions_test_used(self): assert len(BitpayAPI.get_transactions_testnet(TEST_ADDRESS_USED2)) >= 444 def test_get_transactions_test_unused(self): assert len(BitpayAPI.get_transactions_testnet(TEST_ADDRESS_UNUSED)) == 0 def test_get_transaction_by_id_valid(self): tx = BitpayAPI.get_transaction_by_id(MAIN_TX_VALID) assert calc_txid(tx) == MAIN_TX_VALID def test_get_transaction_by_id_invalid(self): assert BitpayAPI.get_transaction_by_id(TX_INVALID) == None def test_get_transaction_by_id_test_valid(self): tx = BitpayAPI.get_transaction_by_id_testnet(TEST_TX_VALID) assert calc_txid(tx) == TEST_TX_VALID def test_get_transaction_by_id_test_invalid(self): assert BitpayAPI.get_transaction_by_id_testnet(TX_INVALID) == None def test_get_unspent_return_type(self): assert iter(BitpayAPI.get_unspent(MAIN_ADDRESS_USED1)) def test_get_unspent_main_used(self): assert len(BitpayAPI.get_unspent(MAIN_ADDRESS_USED2)) >= 1 def test_get_unspent_main_unused(self): assert len(BitpayAPI.get_unspent(MAIN_ADDRESS_UNUSED)) == 0 def test_get_unspent_test_used(self): assert len(BitpayAPI.get_unspent_testnet(TEST_ADDRESS_USED2)) >= 194 def test_get_unspent_test_unused(self): assert len(BitpayAPI.get_unspent_testnet(TEST_ADDRESS_UNUSED)) == 0 @decorate_methods(catch_errors_raise_warnings, NetworkAPI.IGNORED_ERRORS) class TestBlockchainAPI: def test_get_balance_return_type(self): assert isinstance(BlockchainAPI.get_balance(MAIN_ADDRESS_USED1), int) def test_get_balance_used(self): assert BlockchainAPI.get_balance(MAIN_ADDRESS_USED1) > 0 def test_get_balance_unused(self): assert BlockchainAPI.get_balance(MAIN_ADDRESS_UNUSED) == 0 def test_get_transactions_return_type(self): assert iter(BlockchainAPI.get_transactions(MAIN_ADDRESS_USED1)) def test_get_transactions_used(self): assert len(BlockchainAPI.get_transactions(MAIN_ADDRESS_USED1)) >= 218 def test_get_transactions_unused(self): assert len(BlockchainAPI.get_transactions(MAIN_ADDRESS_UNUSED)) == 0 def test_get_transaction_by_id_valid(self): tx = BlockchainAPI.get_transaction_by_id(MAIN_TX_VALID) assert calc_txid(tx) == MAIN_TX_VALID def test_get_transaction_by_id_invalid(self): assert BlockchainAPI.get_transaction_by_id(TX_INVALID) == None def test_get_unspent_return_type(self): assert iter(BlockchainAPI.get_unspent(MAIN_ADDRESS_USED1)) def test_get_unspent_main_used(self): assert len(BlockchainAPI.get_unspent(MAIN_ADDRESS_USED2)) >= 1 def test_get_unspent_main_unused(self): assert len(BlockchainAPI.get_unspent(MAIN_ADDRESS_UNUSED)) == 0 @decorate_methods(catch_errors_raise_warnings, NetworkAPI.IGNORED_ERRORS) class TestSmartbitAPI: def test_get_balance_return_type(self): assert isinstance(SmartbitAPI.get_balance(MAIN_ADDRESS_USED1), int) def test_get_balance_main_used(self): assert SmartbitAPI.get_balance(MAIN_ADDRESS_USED1) > 0 def test_get_balance_main_unused(self): assert SmartbitAPI.get_balance(MAIN_ADDRESS_UNUSED) == 0 def test_get_balance_test_used(self): assert SmartbitAPI.get_balance_testnet(TEST_ADDRESS_USED2) > 0 def test_get_balance_test_unused(self): assert SmartbitAPI.get_balance_testnet(TEST_ADDRESS_UNUSED) == 0 def test_get_transactions_return_type(self): assert iter(SmartbitAPI.get_transactions(MAIN_ADDRESS_USED1)) def test_get_transactions_main_used(self): assert len(SmartbitAPI.get_transactions(MAIN_ADDRESS_USED1)) >= 218 def test_get_transactions_main_unused(self): assert len(SmartbitAPI.get_transactions(MAIN_ADDRESS_UNUSED)) == 0 def test_get_transactions_test_used(self): assert len(SmartbitAPI.get_transactions_testnet(TEST_ADDRESS_USED2)) >= 444 def test_get_transactions_test_unused(self): assert len(SmartbitAPI.get_transactions_testnet(TEST_ADDRESS_UNUSED)) == 0 def test_get_transaction_by_id_valid(self): tx = SmartbitAPI.get_transaction_by_id(MAIN_TX_VALID) assert calc_txid(tx) == MAIN_TX_VALID def test_get_transaction_by_id_invalid(self): assert SmartbitAPI.get_transaction_by_id(TX_INVALID) == None def test_get_transaction_by_id_test_valid(self): tx = SmartbitAPI.get_transaction_by_id_testnet(TEST_TX_VALID) assert calc_txid(tx) == TEST_TX_VALID def test_get_transaction_by_id_test_invalid(self): assert SmartbitAPI.get_transaction_by_id_testnet(TX_INVALID) == None def test_get_unspent_return_type(self): assert iter(SmartbitAPI.get_unspent(MAIN_ADDRESS_USED1)) def test_get_unspent_main_used(self): assert len(SmartbitAPI.get_unspent(MAIN_ADDRESS_USED2)) >= 1 def test_get_unspent_main_unused(self): assert len(SmartbitAPI.get_unspent(MAIN_ADDRESS_UNUSED)) == 0 def test_get_unspent_test_used(self): assert len(SmartbitAPI.get_unspent_testnet(TEST_ADDRESS_USED2)) >= 194 def test_get_unspent_test_unused(self): assert len(SmartbitAPI.get_unspent_testnet(TEST_ADDRESS_UNUSED)) == 0 class TestRPCHost: def test_init(self): node = RPCHost("user", "password", "host", 8333, True) assert node._url == "https://user:password@host:8333/" assert isinstance(node._session, requests.Session) assert node._session.verify is True assert node._headers == {"content-type": "application/json"} node = RPCHost("usr", "pass", "other", 18443, False) assert node._url == "http://usr:pass@other:18443/" assert isinstance(node._session, requests.Session) assert node._session.verify is False assert node._headers == {"content-type": "application/json"} def test_rpc_method_call(self): assert isinstance(RPCHost.__getattr__(None, "rpc_method"), RPCMethod) assert RPCHost.__getattr__(None, "rpc_method")._rpc_method == "rpc_method" assert RPCHost.__getattr__(None, "rpc_method")._host is None def test_get_balance_return_type(self): node = MockRPCHost("user", "password", "host", 8333, True) assert isinstance(node.get_balance(MAIN_ADDRESS_USED1), int) def test_get_balance_main_unused(self): node = MockRPCHost("user", "password", "host", 8333, True) assert node.get_balance(MAIN_ADDRESS_UNUSED) == 0 def test_get_balance_test_unused(self): node = MockRPCHost("user", "password", "host", 18443, False) assert node.get_balance_testnet(TEST_ADDRESS_UNUSED) == 0 def test_get_balance_main_used(self): node = MockRPCHost("user", "password", "host", 8333, True) assert node.get_balance(MAIN_ADDRESS_USED1) == 123456789 def test_get_balance_test_used(self): node = MockRPCHost("user", "password", "host", 18443, False) assert node.get_balance_testnet(TEST_ADDRESS_USED2) == 123456789 def test_get_transactions_return_type(self): node = MockRPCHost("user", "password", "host", 8333, True) assert iter(node.get_transactions(MAIN_ADDRESS_USED1)) def test_get_transactions_main_used(self): node = MockRPCHost("user", "password", "host", 8333, True) assert len(node.get_transactions(MAIN_ADDRESS_USED1)) == 2 def test_get_transactions_main_unused(self): node = MockRPCHost("user", "password", "host", 8333, True) assert len(node.get_transactions(MAIN_ADDRESS_UNUSED)) == 0 def test_get_transactions_test_used(self): node = MockRPCHost("user", "password", "host", 18443, False) assert len(node.get_transactions_testnet(TEST_ADDRESS_USED2)) == 3 def test_get_transactions_test_unused(self): node = MockRPCHost("user", "password", "host", 18443, False) assert len(node.get_transactions_testnet(TEST_ADDRESS_UNUSED)) == 0 def test_get_transaction_by_id_main(self): node = MockRPCHost("user", "password", "host", 8333, True) assert node.get_transaction_by_id(MAIN_TX_VALID) def test_get_transaction_by_id_test(self): node = MockRPCHost("user", "password", "host", 18443, False) assert node.get_transaction_by_id_testnet(TEST_TX_VALID) def test_get_unspent_return_type(self): node = MockRPCHost("user", "password", "host", 8333, True) assert iter(node.get_unspent(MAIN_ADDRESS_USED1)) def test_get_unspent_used(self): node = MockRPCHost("user", "password", "host", 8333, True) assert len(node.get_unspent(MAIN_ADDRESS_USED1)) == 2 def test_get_unspent_unused(self): node = MockRPCHost("user", "password", "host", 8333, True) assert len(node.get_unspent(MAIN_ADDRESS_UNUSED)) == 0 def test_get_unspent_test_used(self): node = MockRPCHost("user", "password", "host", 18443, False) assert len(node.get_unspent_testnet(TEST_ADDRESS_USED2)) == 2 def test_get_unspent_test_unused(self): node = MockRPCHost("user", "password", "host", 18443, False) assert len(node.get_unspent_testnet(TEST_ADDRESS_UNUSED)) == 0 def test_broadcast_tx(self): node = MockRPCHost("user", "password", "host", 8333, True) assert node.broadcast_tx("01000000000000000000") is True def test_broadcast_tx_fail(self): node = MockRPCHost("user", "password", "host", 8333, True) assert node.broadcast_tx("00000000000000000000") is False def test_broadcast_tx_test(self): node = MockRPCHost("user", "password", "host", 18443, False) assert node.broadcast_tx_testnet("01000000000000000000") is True def test_broadcast_tx_test_fail(self): node = MockRPCHost("user", "password", "host", 18443, False) assert node.broadcast_tx_testnet("00000000000000000000") is False class TestRPCMethod(unittest.TestCase): def test_init(self): method = RPCMethod("some_rpc_method", None) assert method._rpc_method == "some_rpc_method" assert method._host is None @requests_mock.mock() def test_call_success(self, m): method = RPCMethod("some_rpc_method", RPCHost("user", "password", "host", 18443, False)) m.register_uri( 'POST', 'http://user:password@host:18443/', request_headers={"content-type": "application/json"}, additional_matcher=lambda req: req.text == json.dumps({"method": "some_rpc_method", "params": ["arg1", 2], "jsonrpc": "2.0"}), json=json.loads('{"result": true, "error": null}'), status_code=200 ) self.assertEqual(method("arg1", 2), True) method = RPCMethod("other_rpc_method", RPCHost("user", "password", "host", 18443, False)) m.register_uri( 'POST', 'http://user:password@host:18443/', request_headers={"content-type": "application/json"}, additional_matcher=lambda req: req.text == json.dumps({"method": "other_rpc_method", "params": [[0], "arg2", "arg3"], "jsonrpc": "2.0"}), json=json.loads('{"result": true, "error": null}'), status_code=500 ) self.assertEqual(method([0], "arg2", "arg3"), True) @requests_mock.mock() def test_call_fails_status_code(self, m): method = RPCMethod("some_rpc_method", RPCHost("user", "password", "host", 18443, False)) m.register_uri( 'POST', 'http://user:password@host:18443/', status_code=201, reason="testing failing status code" ) with pytest.raises(bit.exceptions.BitcoinNodeException): method() @requests_mock.mock() def test_call_fails_unsupported_command(self, m): method = RPCMethod("some_rpc_method", RPCHost("user", "password", "host", 18443, False)) m.register_uri( 'POST', 'http://user:password@host:18443/', json=json.loads('{"result": false, "error": true}'), status_code=200, reason="testing failing return value" ) with pytest.raises(bit.exceptions.BitcoinNodeException): method() def test_call_fails_connection(self): method = RPCMethod("some_rpc_method", RPCHost("user", "password", "some_invalid_host", 18443, False)) with pytest.raises(ConnectionError): method() def test_subcall(self): method = RPCMethod("some_rpc_method", None) sub_method = method.sub_cmd assert sub_method._rpc_method == "some_rpc_method.sub_cmd" assert sub_method._host is None
42.964516
155
0.691493
3,223
26,638
5.343779
0.070431
0.039424
0.047611
0.041805
0.786332
0.741276
0.71898
0.644197
0.617779
0.552923
0
0.053932
0.212741
26,638
619
156
43.033926
0.767345
0.004205
0
0.377871
0
0
0.110663
0.040796
0
0
0
0
0.290188
1
0.212944
false
0.100209
0.018789
0.004175
0.300626
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
c454b6c4b867bbf2749757d0e6e5d71b010afcd7
30
py
Python
snakeplane/version.py
isabella232/snakeplane
cefd87ab9fe6d18e3961ad1299319a6f8bb41b7e
[ "Apache-2.0" ]
27
2019-03-14T15:58:00.000Z
2022-01-10T12:11:12.000Z
snakeplane/version.py
alteryx/snakeplane
cefd87ab9fe6d18e3961ad1299319a6f8bb41b7e
[ "Apache-2.0" ]
13
2019-04-04T17:57:19.000Z
2021-05-11T03:43:14.000Z
snakeplane/version.py
isabella232/snakeplane
cefd87ab9fe6d18e3961ad1299319a6f8bb41b7e
[ "Apache-2.0" ]
16
2019-03-15T03:40:07.000Z
2022-02-19T10:30:32.000Z
__version__ = "1.0.0-alpha23"
15
29
0.7
5
30
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0.185185
0.1
30
1
30
30
0.444444
0
0
0
0
0
0.433333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c46b1ca48a533531b4ab1a4ced818f02990530d3
161
py
Python
simple/scrapers/__init__.py
MeirKriheli/Open-Knesset
0e1de0b0c47ae3fb341bd3afc6030d532fff6945
[ "BSD-3-Clause" ]
69
2015-02-03T12:02:56.000Z
2022-02-16T13:08:01.000Z
simple/scrapers/__init__.py
OriHoch/Open-Knesset
538bcdc2632d8d17a8ddddbc4567106684b9996b
[ "BSD-3-Clause" ]
446
2015-01-01T11:10:33.000Z
2021-11-01T08:15:39.000Z
simple/scrapers/__init__.py
OriHoch/Open-Knesset
538bcdc2632d8d17a8ddddbc4567106684b9996b
[ "BSD-3-Clause" ]
67
2015-01-01T09:13:58.000Z
2021-11-01T07:51:08.000Z
import locale def hebrew_strftime(dt, fmt=u'%A %d %B %Y %H:%M'): locale.setlocale(locale.LC_ALL, 'he_IL.utf8') return dt.strftime(fmt).decode('utf8')
23
51
0.664596
28
161
3.714286
0.785714
0
0
0
0
0
0
0
0
0
0
0.014599
0.149068
161
6
52
26.833333
0.744526
0
0
0
0
0
0.198758
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
c47d4659b4b530bd288a46019688d033dfc49f44
153
py
Python
tests/test_store.py
joshysnow/objectstore
16d840c28fd1fb0cbd2cabecf2a9b85db7fc2b2e
[ "Apache-2.0" ]
null
null
null
tests/test_store.py
joshysnow/objectstore
16d840c28fd1fb0cbd2cabecf2a9b85db7fc2b2e
[ "Apache-2.0" ]
null
null
null
tests/test_store.py
joshysnow/objectstore
16d840c28fd1fb0cbd2cabecf2a9b85db7fc2b2e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from objectstore.store import Store class TestStore: def test_store_constructor_succeeds(self): store = Store()
19.125
46
0.712418
19
153
5.578947
0.789474
0
0
0
0
0
0
0
0
0
0
0.008197
0.202614
153
7
47
21.857143
0.860656
0.137255
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
c486041f41f7ca4732f46cbff7c9c54e8a3b143d
94
py
Python
number/problem_001/solution_not_using_math.py
Linh0704/python_project
c173e3e37e75372bdaf64d46861a60d8abed7a5f
[ "MIT" ]
1
2021-10-19T03:45:20.000Z
2021-10-19T03:45:20.000Z
number/problem_001/solution_not_using_math.py
Linh0704/python_project
c173e3e37e75372bdaf64d46861a60d8abed7a5f
[ "MIT" ]
1
2021-10-18T16:51:52.000Z
2021-10-18T17:03:49.000Z
number/problem_001/solution_not_using_math.py
Linh0704/python_project
c173e3e37e75372bdaf64d46861a60d8abed7a5f
[ "MIT" ]
null
null
null
import math n = int(input()) Pi = 4*(4*math.atan(1/5)-math.atan(1/239)) print(str(Pi)[:n+2])
15.666667
42
0.606383
21
94
2.714286
0.666667
0.280702
0.315789
0
0
0
0
0
0
0
0
0.107143
0.106383
94
5
43
18.8
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6746734d5e365436803c21d35cf89fb4019cbdc5
38
py
Python
bohm/__init__.py
jam31118/bohm
f842aa716f48240ceafacc6f815ae0687a965f5d
[ "MIT" ]
null
null
null
bohm/__init__.py
jam31118/bohm
f842aa716f48240ceafacc6f815ae0687a965f5d
[ "MIT" ]
16
2018-05-31T14:39:38.000Z
2019-02-08T03:01:15.000Z
bohm/__init__.py
jam31118/bohm
f842aa716f48240ceafacc6f815ae0687a965f5d
[ "MIT" ]
null
null
null
"""init module for 'bohm' package"""
12.666667
36
0.631579
5
38
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
38
2
37
19
0.75
0.789474
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6757106870bad998bcd91b43f3780a32a08b0dfd
3,028
py
Python
lib/pegasus/python/Pegasus/test/test_cluster.py
fengggli/pegasus
b68f588d90eb2b832086ed627d61414691f8ba95
[ "Apache-2.0" ]
null
null
null
lib/pegasus/python/Pegasus/test/test_cluster.py
fengggli/pegasus
b68f588d90eb2b832086ed627d61414691f8ba95
[ "Apache-2.0" ]
null
null
null
lib/pegasus/python/Pegasus/test/test_cluster.py
fengggli/pegasus
b68f588d90eb2b832086ed627d61414691f8ba95
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import sys import imp import unittest from Pegasus.cluster import RecordParser, RecordParseException class TestRecordParser(unittest.TestCase): def parse(self, string): parser = RecordParser(string) return parser.parse() def testBad(self): self.assertRaises(RecordParseException, self.parse, "") self.assertRaises(RecordParseException, self.parse, "[") self.assertRaises(RecordParseException, self.parse, "[]") self.assertRaises(RecordParseException, self.parse, "[foo]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary x]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary =]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary =,]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary x=") self.assertRaises(RecordParseException, self.parse, "[cluster-summary x=]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary x=,1]") self.assertRaises(RecordParseException, self.parse, "[cluster-summary x==1]") self.assertRaises(RecordParseException, self.parse, '[cluster-summary x="1]') self.assertRaises(RecordParseException, self.parse, '[cluster-summary x="1 ]') def testOK(self): self.assertTrue("x" in self.parse("[cluster-summary x=1]")) self.assertTrue("y" in self.parse("[cluster-summary x=1 y=2]")) self.assertTrue("y" in self.parse("[cluster-summary x=1, y=2]")) self.assertTrue("y" in self.parse("[cluster-summary x=1, y=2,]")) self.assertTrue("y" in self.parse("[cluster-summary x=1, y=2, ]")) self.assertTrue("y" in self.parse("[cluster-summary x=1, y=2, y=3]")) self.assertTrue("alpha/beta" in self.parse("[cluster-summary alpha/beta=zeta]")) self.assertTrue("alpha-beta" in self.parse("[cluster-summary alpha-beta=zeta]")) self.assertTrue("alpha_beta" in self.parse("[cluster-summary alpha_beta=zeta]")) def testValues(self): rec = self.parse('[cluster-summary x=1, y="2" z=2, z=3]') self.assertTrue("x" in rec) self.assertTrue("y" in rec) self.assertTrue("z" in rec) self.assertEqual(rec["x"], "1") self.assertEqual(rec["y"], "2") self.assertEqual(rec["z"], "3") def testStrings(self): rec = self.parse('[cluster-summary foo="bar" baz="bar boo", boo="\'=,- "]') self.assertEqual(rec["foo"], "bar") self.assertEqual(rec["baz"], "bar boo") self.assertEqual(rec["boo"], "'=,- ") def _testSpeed(self): import time start = time.time() for i in range(0, 10000): self.parse('[cluster-summary foo="bar", baz="bar", boo="bar"]') end = time.time() print("Elapsed:", (end-start)) if __name__ == '__main__': unittest.main()
44.529412
88
0.641347
358
3,028
5.379888
0.159218
0.121495
0.182762
0.262721
0.689512
0.689512
0.682243
0.668224
0.654206
0.614746
0
0.011871
0.193197
3,028
67
89
45.19403
0.776504
0
0
0.071429
0
0
0.231582
0
0
0
0
0
0.571429
1
0.107143
false
0
0.107143
0
0.25
0.035714
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
6760cf1699a72d9fb4b300ffd51db0f483f78fef
1,785
py
Python
via_common/util/error.py
jeanjacquesp/via-common
4c9780d5da87f91d884739a2dafffd3a3eeda2f5
[ "Apache-2.0" ]
null
null
null
via_common/util/error.py
jeanjacquesp/via-common
4c9780d5da87f91d884739a2dafffd3a3eeda2f5
[ "Apache-2.0" ]
null
null
null
via_common/util/error.py
jeanjacquesp/via-common
4c9780d5da87f91d884739a2dafffd3a3eeda2f5
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Pax Syriana Foundation. Licensed under the Apache License, Version 2.0 # class Error: """ A very simple class to hold error messages. This class is used for concatenating succession of errors that don't stop the flow. """ def __init__(self): # prev_frame = inspect.currentframe().f_back # try: # self.class_name = prev_frame.f_locals["self"].__class__.__name__ # except KeyError: # # it is a global function # self.class_name = '<module>' # self.function_name = prev_frame.f_code.co_name # # TODO self._msg = [] def __add__(self, other): # prev_frame = inspect.currentframe().f_back # try: # class_name = prev_frame.f_locals["self"].__class__.__name__ # except KeyError: # # it is a global function # class_name = '<module>' # function_name = prev_frame.f_code.co_name res = Error() # res.class_name = class_name # res.function_name = function_name res._msg.extend(self._msg) res._msg.extend(other._msg) return res def __str__(self): if self._msg: return '||'.join(self._msg) # if self._msg return '' def __bool__(self): return bool(self._msg) def __eq__(self, other): if self.__str__() == str(other): return True return False def add(self, message): if message: self._msg.append(message) def msg(self): return self.__str__() def render(self, prefix='||'): return '{}'.format(prefix).join(self._msg) def do_raise(self, type: Exception = RuntimeError): raise type(str(self))
24.121622
88
0.57591
214
1,785
4.429907
0.364486
0.075949
0.054852
0.059072
0.293249
0.293249
0.293249
0.2173
0.149789
0.149789
0
0.004918
0.316527
1,785
73
89
24.452055
0.772131
0.430252
0
0
0
0
0.006179
0
0
0
0
0.013699
0
1
0.333333
false
0
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
677bbf9645fecabbb5dc090b7a2c299907741ce3
64
py
Python
DB/__init__.py
Killberos-Tze/Optical_constants_database
f38b7db299b52f202a4ca4f28e912a1d20143d51
[ "MIT" ]
null
null
null
DB/__init__.py
Killberos-Tze/Optical_constants_database
f38b7db299b52f202a4ca4f28e912a1d20143d51
[ "MIT" ]
null
null
null
DB/__init__.py
Killberos-Tze/Optical_constants_database
f38b7db299b52f202a4ca4f28e912a1d20143d51
[ "MIT" ]
null
null
null
__all__=['ODB_class'] from DB.optical_data_db import ODB_class
16
40
0.8125
11
64
4
0.727273
0.363636
0
0
0
0
0
0
0
0
0
0
0.09375
64
3
41
21.333333
0.758621
0
0
0
0
0
0.140625
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
67c5ea317d71b3f5b4a61d0a37be7fcb4abdf164
45
py
Python
tests/modules/applications/test_applications.py
TheHacktech/hacktechpy.io
2bad54e78857d9aaed4bb5bbee8c14f1636c55d7
[ "MIT" ]
1
2019-10-24T03:45:26.000Z
2019-10-24T03:45:26.000Z
tests/modules/applications/test_applications.py
TheHacktech/hacktechpy.io
2bad54e78857d9aaed4bb5bbee8c14f1636c55d7
[ "MIT" ]
6
2020-02-03T00:40:28.000Z
2020-02-03T00:45:41.000Z
tests/modules/applications/test_applications.py
TheHacktech/hacktechpy.io
2bad54e78857d9aaed4bb5bbee8c14f1636c55d7
[ "MIT" ]
1
2020-02-02T23:56:14.000Z
2020-02-02T23:56:14.000Z
""" Tests hacktech/modules/applications/ """
11.25
36
0.711111
4
45
8
1
0
0
0
0
0
0
0
0
0
0
0
0.088889
45
3
37
15
0.780488
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
67e3ef6e5f68b2cac4238a553bb6847abc2cdbb2
5,783
py
Python
_library/user_stopword.py
wajimax/Python-NLP
9bb897d0a3ac675461ea773d57b79e5fcdaa867e
[ "MIT" ]
null
null
null
_library/user_stopword.py
wajimax/Python-NLP
9bb897d0a3ac675461ea773d57b79e5fcdaa867e
[ "MIT" ]
null
null
null
_library/user_stopword.py
wajimax/Python-NLP
9bb897d0a3ac675461ea773d57b79e5fcdaa867e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class User_stopword(object): user_stop = ['html','head','title','base','link','meta','style','body','article','section','nav','aside','header','footer','address','p','hr','pre','blockquote','ol','ul','li','dl','dt','dd','figure','figcaption','div','main','a','em','strong','small','s','cite','q','dfn','abbr','data','time','code','var','samp','kbd','i','b','u','mark','ruby','rb','rt','rtc','rp','bdi','bdo','span','br','wbr','ins','del','img','iframe','embed','object','param','video','audio','source','track','map','area','table','caption','colgroup','col','tbody','thead','tfoot','tr','td','th','form','label','input','button','select','datalist','optgroup','option','textarea','keygen','output','progress','meter','fieldset','legend','details','summary','dialog','script','noscript','template','canvas','quot','amp','lt','gt','nbsp','iexcl','cent','pound','curren','yen','brvbar','sect','uml','copy','ordf','laquo','not','shy','reg','macr','deg','plusmn','sup2','sup3','acute','micro','para','middot','cedil','sup1','ordm','raquo','frac14','frac12','frac34','iquest','agrave','aacute','acirc','atilde','auml','aring','aelig','ccedil','egrave','eacute','ecirc','euml','igrave','iacute','icirc','iuml','eth','ntilde','ograve','oacute','ocirc','otilde','ouml','times','oslash','ugrave','uacute','ucirc','uuml','yacute','thorn','szlig','agrave','aacute','acirc','atilde','auml','aring','aelig','ccedil','egrave','eacute','ecirc','euml','igrave','iacute','icirc','iuml','eth','ntilde','ograve','oacute','ocirc','otilde','ouml','divide','oslash','ugrave','uacute','ucirc','uuml','yacute','thorn','yuml','oelig','oelig','scaron','scaron','yuml','fnof','circ','tilde','alpha','beta','gamma','delta','epsilon','zeta','eta','theta','iota','kappa','lambda','mu','nu','xi','omicron','pi','rho','sigma','tau','upsilon','phi','chi','psi','omega','alpha','beta','gamma','delta','epsilon','zeta','eta','theta','iota','kappa','lambda','mu','nu','xi','omicron','pi','rho','sigmaf','sigma','tau','upsilon','phi','chi','psi','omega','thetasym','upsih','piv','bull','hellip','prime','prime','oline','frasl','weierp','image','real','trade','alefsym','larr','uarr','rarr','darr','harr','crarr','larr','uarr','rarr','darr','harr','forall','part','exist','empty','nabla','isin','notin','ni','prod','sum','minus','lowast','radic','prop','infin','ang','and','or','cap','cup','int','there4','sim','cong','asymp','ne','equiv','le','ge','sub','sup','nsub','sube','supe','oplus','otimes','perp','sdot','lceil','rceil','lfloor','rfloor','lang','rang','loz','spades','clubs','hearts','diams','ensp','emsp','thinsp','zwnj','zwj','lrm','rlm','ndash','mdash','lsquo','rsquo','sbquo','ldquo','rdquo','bdquo','dagger','dagger','permil','lsaquo'] user_stop_utf = [u'html',u'head',u'title',u'base',u'link',u'meta',u'style',u'body',u'article',u'section',u'nav',u'aside',u'header',u'footer',u'address',u'p',u'hr',u'pre',u'blockquote',u'ol',u'ul',u'li',u'dl',u'dt',u'dd',u'figure',u'figcaption',u'div',u'main',u'a',u'em',u'strong',u'small',u's',u'cite',u'q',u'dfn',u'abbr',u'data',u'time',u'code',u'var',u'samp',u'kbd',u'i',u'b',u'u',u'mark',u'ruby',u'rb',u'rt',u'rtc',u'rp',u'bdi',u'bdo',u'span',u'br',u'wbr',u'ins',u'del',u'img',u'iframe',u'embed',u'object',u'param',u'video',u'audio',u'source',u'track',u'map',u'area',u'table',u'caption',u'colgroup',u'col',u'tbody',u'thead',u'tfoot',u'tr',u'td',u'th',u'form',u'label',u'input',u'button',u'select',u'datalist',u'optgroup',u'option',u'textarea',u'keygen',u'output',u'progress',u'meter',u'fieldset',u'legend',u'details',u'summary',u'dialog',u'script',u'noscript',u'template',u'canvas',u'quot',u'amp',u'lt',u'gt',u'nbsp',u'iexcl',u'cent',u'pound',u'curren',u'yen',u'brvbar',u'sect',u'uml',u'copy',u'ordf',u'laquo',u'not',u'shy',u'reg',u'macr',u'deg',u'plusmn',u'sup2',u'sup3',u'acute',u'micro',u'para',u'middot',u'cedil',u'sup1',u'ordm',u'raquo',u'frac14',u'frac12',u'frac34',u'iquest',u'Agrave',u'Aacute',u'Acirc',u'Atilde',u'Auml',u'Aring',u'AElig',u'Ccedil',u'Egrave',u'Eacute',u'Ecirc',u'Euml',u'Igrave',u'Iacute',u'Icirc',u'Iuml',u'ETH',u'Ntilde',u'Ograve',u'Oacute',u'Ocirc',u'Otilde',u'Ouml',u'times',u'Oslash',u'Ugrave',u'Uacute',u'Ucirc',u'Uuml',u'Yacute',u'THORN',u'szlig',u'agrave',u'aacute',u'acirc',u'atilde',u'auml',u'aring',u'aelig',u'ccedil',u'egrave',u'eacute',u'ecirc',u'euml',u'igrave',u'iacute',u'icirc',u'iuml',u'eth',u'ntilde',u'ograve',u'oacute',u'ocirc',u'otilde',u'ouml',u'divide',u'oslash',u'ugrave',u'uacute',u'ucirc',u'uuml',u'yacute',u'thorn',u'yuml',u'OElig',u'oelig',u'Scaron',u'scaron',u'Yuml',u'fnof',u'circ',u'tilde',u'Alpha',u'Beta',u'Gamma',u'Delta',u'Epsilon',u'Zeta',u'Eta',u'Theta',u'Iota',u'Kappa',u'Lambda',u'Mu',u'Nu',u'Xi',u'Omicron',u'Pi',u'Rho',u'Sigma',u'Tau',u'Upsilon',u'Phi',u'Chi',u'Psi',u'Omega',u'alpha',u'beta',u'gamma',u'delta',u'epsilon',u'zeta',u'eta',u'theta',u'iota',u'kappa',u'lambda',u'mu',u'nu',u'xi',u'omicron',u'pi',u'rho',u'sigmaf',u'sigma',u'tau',u'upsilon',u'phi',u'chi',u'psi',u'omega',u'thetasym',u'upsih',u'piv',u'bull',u'hellip',u'prime',u'Prime',u'oline',u'frasl',u'weierp',u'image',u'real',u'trade',u'alefsym',u'larr',u'uarr',u'rarr',u'darr',u'harr',u'crarr',u'lArr',u'uArr',u'rArr',u'dArr',u'hArr',u'forall',u'part',u'exist',u'empty',u'nabla',u'isin',u'notin',u'ni',u'prod',u'sum',u'minus',u'lowast',u'radic',u'prop',u'infin',u'ang',u'and',u'or',u'cap',u'cup',u'int',u'there4',u'sim',u'cong',u'asymp',u'ne',u'equiv',u'le',u'ge',u'sub',u'sup',u'nsub',u'sube',u'supe',u'oplus',u'otimes',u'perp',u'sdot',u'lceil',u'rceil',u'lfloor',u'rfloor',u'lang',u'rang',u'loz',u'spades',u'clubs',u'hearts',u'diams',u'ensp',u'emsp',u'thinsp',u'zwnj',u'zwj',u'lrm',u'rlm',u'ndash',u'mdash',u'lsquo',u'rsquo',u'sbquo',u'ldquo',u'rdquo',u'bdquo',u'dagger',u'Dagger',u'permil',u'lsaquo']
578.3
3,040
0.627529
1,071
5,783
3.384687
0.276377
0.004414
0.009379
0.01269
0.342621
0.331586
0.331586
0.294621
0.294621
0.294621
0
0.003644
0.003458
5,783
9
3,041
642.555556
0.625369
0.003631
0
0
0
0
0.559222
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
67e65a93764bfde2ec3821b3c98f7c986eef2cdc
92
py
Python
components/micropython/core/ports/esp32/modules/upysh.py
bincc123/MaixPy_Test
7eaccbf0fbd67447e47106166f1d7b0431abdad0
[ "Apache-2.0" ]
null
null
null
components/micropython/core/ports/esp32/modules/upysh.py
bincc123/MaixPy_Test
7eaccbf0fbd67447e47106166f1d7b0431abdad0
[ "Apache-2.0" ]
null
null
null
components/micropython/core/ports/esp32/modules/upysh.py
bincc123/MaixPy_Test
7eaccbf0fbd67447e47106166f1d7b0431abdad0
[ "Apache-2.0" ]
null
null
null
IntxLNK../../../../micropython-lib/upysh/upysh.py
92
92
0.358696
6
92
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
92
1
92
92
0.358696
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
67ed9541ab572d9c8b5e7b52b144c0f20e37f46f
2,228
py
Python
hydra/core/task/factory.py
rpacholek/hydra
60e3c2eec5ab1fd1dde8e510baa5175173c66a6a
[ "MIT" ]
null
null
null
hydra/core/task/factory.py
rpacholek/hydra
60e3c2eec5ab1fd1dde8e510baa5175173c66a6a
[ "MIT" ]
null
null
null
hydra/core/task/factory.py
rpacholek/hydra
60e3c2eec5ab1fd1dde8e510baa5175173c66a6a
[ "MIT" ]
null
null
null
from ..factory.register_class import Factory from .task import Task from .taskdb import TaskContainer from .job import Job from .jobdb import JobContainer class TaskFactory(Factory, generate=Task): registered_subfactories = {} def __init__(self, config): super().__init__(config) self.config = config.get("task") self.basefactory = self.choose_factory()(self.config) @staticmethod def add_subfactory(subfactory): name = subfactory.get_name() TaskFactory.registered_subfactories[name] = subfactory @staticmethod def get_subfactories(): return list(TaskFactory.registered_subfactories.keys()) class TaskDBFactory(Factory, generate=TaskContainer): registered_subfactories = {} def __init__(self, config): super().__init__(config) self.config = config.get("task") self.basefactory = self.choose_factory()(self.config) @staticmethod def add_subfactory(subfactory): name = subfactory.get_name() TaskDBFactory.registered_subfactories[name] = subfactory @staticmethod def get_subfactories(): return list(TaskDBFactory.registered_subfactories.keys()) class JobFactory(Factory, generate=Job): registered_subfactories = {} def __init__(self, config): super().__init__(config) self.config = self.config.get("job") self.basefactory = choose_factory()(self.config) @staticmethod def add_subfactory(subfactory): name = subfactory.get_name() JobFactory.registered_subfactories[name] = subfactory @staticmethod def get_subfactories(): return list(JobFactory.registered_subfactories.keys()) class JobDBFactory(Factory, generate=JobContainer): registered_subfactories = {} def __init__(self, config): super().__init__(config) self.config = config.get("job") self.basefactory = self.choose_factory()(self.config) @staticmethod def add_subfactory(subfactory): name = subfactory.get_name() JobDBFactory.registered_subfactories[name] = subfactory @staticmethod def get_subfactories(): return list(JobDBFactory.registered_subfactories.keys())
28.202532
65
0.698384
222
2,228
6.734234
0.148649
0.086957
0.053512
0.077592
0.675585
0.655518
0.655518
0.655518
0.655518
0.655518
0
0
0.201526
2,228
78
66
28.564103
0.84036
0
0
0.649123
1
0
0.006284
0
0
0
0
0
0
1
0.210526
false
0
0.087719
0.070175
0.508772
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
67f5d930a62895ea459ba8036ece945fdc6ed0e6
607
py
Python
forms/__init__.py
qwc-services/sogis-agdi
f278612c42f648da07448905f2b8021b279e66bc
[ "MIT" ]
null
null
null
forms/__init__.py
qwc-services/sogis-agdi
f278612c42f648da07448905f2b8021b279e66bc
[ "MIT" ]
null
null
null
forms/__init__.py
qwc-services/sogis-agdi
f278612c42f648da07448905f2b8021b279e66bc
[ "MIT" ]
null
null
null
from .data_source_form import DataSourceForm from .data_set_gui_form import DataSetGUIForm from .product_set_gui_form import ProductSetGUIForm from .background_layer_form import BackgroundLayerForm from .service_form import ServiceForm from .module_form import ModuleForm from .map_form import MapForm from .template_form import TemplateForm from .transformation_form import TransformationForm from .wms_wfs_form import WmsWfsForm from .publish_form import PublishForm from .user_form import UserForm from .group_form import GroupForm from .role_form import RoleForm from .contact_form import ContactForm
33.722222
54
0.873147
82
607
6.195122
0.45122
0.295276
0.03937
0.062992
0
0
0
0
0
0
0
0
0.102142
607
17
55
35.705882
0.93211
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4