/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make * changes to this file unless you know what you are doing--modify the SWIG * interface file instead. * ----------------------------------------------------------------------------- */ // source: vank.i package vank_go // #cgo LDFLAGS: -lapi -lodms -ldes // #cgo CXXFLAGS: -DPACKAGE_NAME="Vank" -DPACKAGE_TARNAME="vank" -DPACKAGE_VERSION="v0.0.1" -DPACKAGE_STRING="Vank v0.0.1" -DPACKAGE_BUGREPORT="tavit@dms3.io" -DPACKAGE_URL="" -DVANK_STANDALONE=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_NAMESPACES=1 -DISNAN_IN_NAMESPACE_STD=1 -DISNAN_IN_NAMESPACE_GNU_CXX=0 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FSEEKO=1 -DHAVE_EXT_ATOMICITY_H=1 -DP_NEEDS_GNU_CXX_NAMESPACE=1 -DHAVE_MKSTEMP=1 -DHAVE_MKSTEMPS=1 -std=c++17 -Werror -Wno-stringop-overflow -g -O3 -I/home/tavit/usr/include -fPIC // #cgo LDFLAGS: -g -O3 -L/home/tavit/usr/lib -lvank -lz -lpthread -lm import "C" /* #define intgo swig_intgo typedef void *swig_voidp; #include typedef long long intgo; typedef unsigned long long uintgo; typedef struct { char *p; intgo n; } _gostring_; typedef struct { void* array; intgo len; intgo cap; } _goslice_; typedef _gostring_ swig_type_1; typedef _gostring_ swig_type_2; typedef _gostring_ swig_type_3; typedef _gostring_ swig_type_4; typedef _gostring_ swig_type_5; typedef _gostring_ swig_type_6; typedef long long swig_type_7; typedef _gostring_ swig_type_8; typedef _gostring_ swig_type_9; typedef _gostring_ swig_type_10; typedef _gostring_ swig_type_11; typedef _gostring_ swig_type_12; typedef _gostring_ swig_type_13; typedef _gostring_ swig_type_14; typedef _gostring_ swig_type_15; typedef _gostring_ swig_type_16; typedef _gostring_ swig_type_17; typedef _gostring_ swig_type_18; typedef _gostring_ swig_type_19; typedef _gostring_ swig_type_20; typedef _gostring_ swig_type_21; typedef _gostring_ swig_type_22; typedef _gostring_ swig_type_23; typedef _gostring_ swig_type_24; typedef _gostring_ swig_type_25; typedef _gostring_ swig_type_26; typedef _gostring_ swig_type_27; typedef _gostring_ swig_type_28; typedef _gostring_ swig_type_29; typedef _gostring_ swig_type_30; typedef _gostring_ swig_type_31; typedef _gostring_ swig_type_32; typedef _gostring_ swig_type_33; typedef _gostring_ swig_type_34; typedef _gostring_ swig_type_35; typedef _gostring_ swig_type_36; typedef _gostring_ swig_type_37; typedef _gostring_ swig_type_38; typedef _gostring_ swig_type_39; typedef _gostring_ swig_type_40; typedef _gostring_ swig_type_41; typedef _gostring_ swig_type_42; typedef _gostring_ swig_type_43; typedef _gostring_ swig_type_44; typedef _gostring_ swig_type_45; typedef _gostring_ swig_type_46; typedef _gostring_ swig_type_47; typedef _gostring_ swig_type_48; typedef _gostring_ swig_type_49; typedef _gostring_ swig_type_50; typedef _gostring_ swig_type_51; typedef _gostring_ swig_type_52; typedef _gostring_ swig_type_53; typedef _gostring_ swig_type_54; typedef _gostring_ swig_type_55; typedef _gostring_ swig_type_56; typedef _gostring_ swig_type_57; typedef _gostring_ swig_type_58; typedef _gostring_ swig_type_59; typedef _gostring_ swig_type_60; typedef _gostring_ swig_type_61; typedef _gostring_ swig_type_62; typedef long long swig_type_63; typedef long long swig_type_64; typedef _gostring_ swig_type_65; typedef long long swig_type_66; typedef long long swig_type_67; typedef _gostring_ swig_type_68; typedef _gostring_ swig_type_69; typedef _gostring_ swig_type_70; typedef _gostring_ swig_type_71; typedef _gostring_ swig_type_72; typedef _gostring_ swig_type_73; typedef _gostring_ swig_type_74; typedef _gostring_ swig_type_75; typedef _gostring_ swig_type_76; typedef _gostring_ swig_type_77; typedef _gostring_ swig_type_78; typedef _gostring_ swig_type_79; typedef _gostring_ swig_type_80; typedef _gostring_ swig_type_81; typedef _gostring_ swig_type_82; typedef _gostring_ swig_type_83; typedef _gostring_ swig_type_84; typedef long long swig_type_85; typedef long long swig_type_86; typedef _gostring_ swig_type_87; typedef long long swig_type_88; typedef long long swig_type_89; typedef long long swig_type_90; typedef long long swig_type_91; typedef long long swig_type_92; typedef long long swig_type_93; typedef _gostring_ swig_type_94; typedef _gostring_ swig_type_95; typedef _gostring_ swig_type_96; typedef _gostring_ swig_type_97; typedef _gostring_ swig_type_98; typedef _gostring_ swig_type_99; typedef _gostring_ swig_type_100; typedef _gostring_ swig_type_101; typedef _gostring_ swig_type_102; typedef _gostring_ swig_type_103; typedef _gostring_ swig_type_104; typedef _gostring_ swig_type_105; typedef _gostring_ swig_type_106; typedef _gostring_ swig_type_107; typedef _gostring_ swig_type_108; typedef _gostring_ swig_type_109; typedef _gostring_ swig_type_110; typedef _gostring_ swig_type_111; typedef long long swig_type_112; typedef _gostring_ swig_type_113; typedef _gostring_ swig_type_114; typedef _gostring_ swig_type_115; typedef _gostring_ swig_type_116; typedef _gostring_ swig_type_117; typedef _gostring_ swig_type_118; typedef _gostring_ swig_type_119; typedef _gostring_ swig_type_120; typedef _gostring_ swig_type_121; typedef _gostring_ swig_type_122; typedef _gostring_ swig_type_123; typedef _gostring_ swig_type_124; typedef _gostring_ swig_type_125; typedef _gostring_ swig_type_126; typedef _gostring_ swig_type_127; typedef _gostring_ swig_type_128; typedef _gostring_ swig_type_129; typedef _gostring_ swig_type_130; typedef _gostring_ swig_type_131; typedef _gostring_ swig_type_132; typedef _gostring_ swig_type_133; typedef _gostring_ swig_type_134; typedef _gostring_ swig_type_135; typedef _gostring_ swig_type_136; typedef _gostring_ swig_type_137; typedef _gostring_ swig_type_138; typedef _gostring_ swig_type_139; typedef _gostring_ swig_type_140; typedef _gostring_ swig_type_141; typedef _gostring_ swig_type_142; typedef _gostring_ swig_type_143; typedef long long swig_type_144; typedef long long swig_type_145; typedef long long swig_type_146; typedef long long swig_type_147; typedef _gostring_ swig_type_148; typedef _gostring_ swig_type_149; typedef _gostring_ swig_type_150; typedef _gostring_ swig_type_151; typedef _gostring_ swig_type_152; typedef _gostring_ swig_type_153; typedef long long swig_type_154; typedef long long swig_type_155; typedef long long swig_type_156; typedef long long swig_type_157; typedef long long swig_type_158; typedef long long swig_type_159; typedef long long swig_type_160; typedef long long swig_type_161; typedef long long swig_type_162; typedef long long swig_type_163; typedef long long swig_type_164; typedef long long swig_type_165; typedef long long swig_type_166; typedef long long swig_type_167; typedef long long swig_type_168; typedef long long swig_type_169; typedef _gostring_ swig_type_170; typedef _gostring_ swig_type_171; typedef _gostring_ swig_type_172; typedef _gostring_ swig_type_173; typedef _gostring_ swig_type_174; typedef _gostring_ swig_type_175; typedef _gostring_ swig_type_176; typedef _gostring_ swig_type_177; typedef _gostring_ swig_type_178; typedef _gostring_ swig_type_179; typedef _gostring_ swig_type_180; typedef _gostring_ swig_type_181; typedef _gostring_ swig_type_182; typedef _gostring_ swig_type_183; typedef _gostring_ swig_type_184; typedef _gostring_ swig_type_185; typedef _gostring_ swig_type_186; typedef _gostring_ swig_type_187; typedef _gostring_ swig_type_188; typedef _gostring_ swig_type_189; typedef _gostring_ swig_type_190; typedef long long swig_type_191; typedef _gostring_ swig_type_192; typedef long long swig_type_193; typedef _gostring_ swig_type_194; typedef _gostring_ swig_type_195; typedef _gostring_ swig_type_196; typedef _gostring_ swig_type_197; typedef _gostring_ swig_type_198; typedef _gostring_ swig_type_199; typedef _gostring_ swig_type_200; typedef _gostring_ swig_type_201; typedef _gostring_ swig_type_202; typedef long long swig_type_203; typedef _gostring_ swig_type_204; typedef long long swig_type_205; typedef _gostring_ swig_type_206; typedef _gostring_ swig_type_207; typedef _gostring_ swig_type_208; typedef _gostring_ swig_type_209; typedef _gostring_ swig_type_210; typedef _gostring_ swig_type_211; typedef _gostring_ swig_type_212; typedef _gostring_ swig_type_213; typedef _gostring_ swig_type_214; typedef _gostring_ swig_type_215; typedef _gostring_ swig_type_216; typedef _gostring_ swig_type_217; typedef _gostring_ swig_type_218; typedef long long swig_type_219; typedef _gostring_ swig_type_220; typedef _gostring_ swig_type_221; typedef _gostring_ swig_type_222; typedef _gostring_ swig_type_223; typedef _gostring_ swig_type_224; typedef _gostring_ swig_type_225; typedef _gostring_ swig_type_226; typedef _gostring_ swig_type_227; typedef _gostring_ swig_type_228; typedef _gostring_ swig_type_229; typedef long long swig_type_230; typedef long long swig_type_231; typedef _gostring_ swig_type_232; typedef long long swig_type_233; typedef _gostring_ swig_type_234; typedef _gostring_ swig_type_235; typedef long long swig_type_236; typedef long long swig_type_237; typedef _gostring_ swig_type_238; typedef _gostring_ swig_type_239; typedef _gostring_ swig_type_240; typedef _gostring_ swig_type_241; typedef _gostring_ swig_type_242; typedef _gostring_ swig_type_243; typedef _gostring_ swig_type_244; typedef _gostring_ swig_type_245; typedef _gostring_ swig_type_246; typedef _gostring_ swig_type_247; typedef _gostring_ swig_type_248; typedef _gostring_ swig_type_249; typedef _gostring_ swig_type_250; typedef _gostring_ swig_type_251; typedef long long swig_type_252; typedef long long swig_type_253; typedef _gostring_ swig_type_254; typedef long long swig_type_255; typedef _gostring_ swig_type_256; typedef _gostring_ swig_type_257; typedef long long swig_type_258; typedef _gostring_ swig_type_259; typedef _gostring_ swig_type_260; typedef long long swig_type_261; typedef _gostring_ swig_type_262; typedef long long swig_type_263; typedef _gostring_ swig_type_264; typedef _gostring_ swig_type_265; typedef _gostring_ swig_type_266; typedef _gostring_ swig_type_267; typedef _gostring_ swig_type_268; typedef _gostring_ swig_type_269; typedef _gostring_ swig_type_270; typedef _gostring_ swig_type_271; typedef _gostring_ swig_type_272; typedef _gostring_ swig_type_273; typedef _gostring_ swig_type_274; typedef _gostring_ swig_type_275; typedef _gostring_ swig_type_276; typedef long long swig_type_277; typedef long long swig_type_278; typedef long long swig_type_279; typedef long long swig_type_280; typedef _gostring_ swig_type_281; typedef _gostring_ swig_type_282; typedef _gostring_ swig_type_283; typedef _gostring_ swig_type_284; typedef _gostring_ swig_type_285; typedef _gostring_ swig_type_286; typedef _gostring_ swig_type_287; typedef _gostring_ swig_type_288; typedef _gostring_ swig_type_289; typedef _gostring_ swig_type_290; typedef _gostring_ swig_type_291; typedef _gostring_ swig_type_292; typedef _gostring_ swig_type_293; typedef _gostring_ swig_type_294; typedef _gostring_ swig_type_295; typedef _gostring_ swig_type_296; typedef _gostring_ swig_type_297; typedef _gostring_ swig_type_298; typedef _gostring_ swig_type_299; typedef _gostring_ swig_type_300; typedef _gostring_ swig_type_301; typedef long long swig_type_302; typedef long long swig_type_303; typedef _gostring_ swig_type_304; typedef _gostring_ swig_type_305; typedef _gostring_ swig_type_306; typedef _gostring_ swig_type_307; typedef _gostring_ swig_type_308; typedef _gostring_ swig_type_309; typedef _gostring_ swig_type_310; typedef _gostring_ swig_type_311; typedef _gostring_ swig_type_312; extern void _wrap_Swig_free_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_Swig_malloc_vank_go_073f147d1da00b5b(swig_intgo arg1); extern swig_type_1 _wrap_vankVersion_get_vank_go_073f147d1da00b5b(void); extern _Bool _wrap_buildindex_recoverRepository_vank_go_073f147d1da00b5b(swig_type_2 arg1); extern void _wrap_buildindex_start_time_vank_go_073f147d1da00b5b(void); extern void _wrap_buildindex_print_event_vank_go_073f147d1da00b5b(swig_type_3 arg1); extern void _wrap_buildindex_print_status__SWIG_0_vank_go_073f147d1da00b5b(swig_type_4 arg1, swig_intgo arg2); extern void _wrap_buildindex_print_status__SWIG_1_vank_go_073f147d1da00b5b(swig_type_5 arg1, swig_intgo arg2, swig_type_6 arg3, swig_type_7 arg4); extern void _wrap_buildindex_flush_status_vank_go_073f147d1da00b5b(void); extern _Bool _wrap_buildindex_augmentSpec_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5); extern void _wrap_buildindex_mymain_vank_go_073f147d1da00b5b(swig_intgo arg1, swig_type_8 arg2, swig_type_9 arg3, swig_type_10 arg4, swig_type_11 arg5, swig_type_12 arg6); extern uintptr_t _wrap_new_SnippetBuilder_vank_go_073f147d1da00b5b(_Bool arg1); extern swig_type_13 _wrap_SnippetBuilder_build_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, uintptr_t arg3, uintptr_t arg4); extern uintptr_t _wrap_SnippetBuilder_buildField_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5); extern void _wrap_delete_SnippetBuilder_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_intgo _wrap_DocIDToInt_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_IntToDocID_vank_go_073f147d1da00b5b(swig_intgo arg1); extern void _wrap_Schema_rawtime_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Schema_rawtime_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Schema_baseTime_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_14 arg2); extern swig_type_15 _wrap_Schema_baseTime_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Schema_ro_meta_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Schema_ro_meta_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Schema_rw_meta_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Schema_rw_meta_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Schema_fields_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Schema_fields_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_Schema_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_Schema_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_FieldProps_ro_meta_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_FieldProps_ro_meta_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_FieldProps_rw_meta_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_FieldProps_rw_meta_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_FieldProps_fields_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_FieldProps_fields_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_FieldProps_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_FieldProps_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_0_vank_go_073f147d1da00b5b(swig_type_16 arg1, swig_type_17 arg2, swig_type_18 arg3, swig_type_19 arg4, swig_type_20 arg5, swig_type_21 arg6, swig_type_22 arg7, swig_type_23 arg8, swig_type_24 arg9); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_1_vank_go_073f147d1da00b5b(swig_type_25 arg1, swig_type_26 arg2, swig_type_27 arg3, swig_type_28 arg4, swig_type_29 arg5, swig_type_30 arg6, swig_type_31 arg7, swig_type_32 arg8); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_2_vank_go_073f147d1da00b5b(swig_type_33 arg1, swig_type_34 arg2, swig_type_35 arg3, swig_type_36 arg4, swig_type_37 arg5, swig_type_38 arg6, swig_type_39 arg7); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_3_vank_go_073f147d1da00b5b(swig_type_40 arg1, swig_type_41 arg2, swig_type_42 arg3, swig_type_43 arg4, swig_type_44 arg5, swig_type_45 arg6); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_4_vank_go_073f147d1da00b5b(swig_type_46 arg1, swig_type_47 arg2, swig_type_48 arg3, swig_type_49 arg4, swig_type_50 arg5); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_5_vank_go_073f147d1da00b5b(swig_type_51 arg1, swig_type_52 arg2, swig_type_53 arg3, swig_type_54 arg4); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_6_vank_go_073f147d1da00b5b(swig_type_55 arg1, swig_type_56 arg2, swig_type_57 arg3); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_7_vank_go_073f147d1da00b5b(swig_type_58 arg1, swig_type_59 arg2); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_8_vank_go_073f147d1da00b5b(swig_type_60 arg1); extern uintptr_t _wrap_new_Wrapped_InfoSpace__SWIG_9_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_Wrapped_InfoSpace_vank_go_073f147d1da00b5b(uintptr_t arg1); extern _Bool _wrap_Wrapped_InfoSpace_isAttached_vank_go_073f147d1da00b5b(uintptr_t arg1); extern _Bool _wrap_Wrapped_InfoSpace_isDetached_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_InfoSpace_initSchema_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_InfoSpace_verifySchemaPostInit_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_InfoSpace_reclaimSchema_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_Wrapped_InfoSpace_initCodecFactory_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_61 arg2, swig_type_62 arg3, swig_type_63 arg4, swig_type_64 arg5); extern uintptr_t _wrap_Wrapped_InfoSpace_lookupCodecFactory_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_65 arg2); extern void _wrap_Wrapped_InfoSpace_genROMeta_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern void _wrap_Wrapped_InfoSpace_genRWMeta_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_66 _wrap_Wrapped_InfoSpace_getWindow_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_67 _wrap_Wrapped_InfoSpace_getWindowEnd_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_Wrapped_InfoSpace_getDes_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_68 _wrap_Wrapped_InfoSpace_getApp_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_69 _wrap_Wrapped_InfoSpace_getName_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_70 _wrap_Wrapped_InfoSpace_getServer_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_71 _wrap_Wrapped_InfoSpace_getCommand_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_72 _wrap_Wrapped_InfoSpace_getIndexPath_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_73 _wrap_Wrapped_InfoSpace_getCorpusPath_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_74 _wrap_Wrapped_InfoSpace_getCorpusClass_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_75 _wrap_Wrapped_InfoSpace_getBuildParam_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_76 _wrap_Wrapped_InfoSpace_getStopParam_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_77 _wrap_Wrapped_InfoSpace_attach_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_78 _wrap_Wrapped_InfoSpace_detach_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_79 _wrap_Wrapped_InfoSpace_destroy_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_Wrapped_InfoSpace_addDoc__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_80 arg2, _Bool arg3); extern uintptr_t _wrap_Wrapped_InfoSpace_addDoc__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_81 arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_addFile_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_82 arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_addString_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_83 arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_deleteDomain_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_84 _wrap_Wrapped_InfoSpace_encodeTime_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_85 arg2); extern swig_type_86 _wrap_Wrapped_InfoSpace_decodeTime_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_87 arg2); extern swig_type_88 _wrap_Wrapped_InfoSpace_getPos_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_89 _wrap_Wrapped_InfoSpace_setPos_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_90 arg2); extern swig_type_91 _wrap_Wrapped_InfoSpace_getMax_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_92 _wrap_Wrapped_InfoSpace_setMax_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_93 arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_createCodecSet_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_94 arg2, swig_type_95 arg3); extern void _wrap_Wrapped_InfoSpace_destroyCodecSet_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_96 _wrap_Wrapped_InfoSpace_nFLess_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_97 arg2, swig_type_98 arg3); extern swig_type_99 _wrap_Wrapped_InfoSpace_nFGreater_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_100 arg2, swig_type_101 arg3); extern swig_type_102 _wrap_Wrapped_InfoSpace_nFBetween_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_103 arg2, swig_type_104 arg3, swig_type_105 arg4); extern swig_type_106 _wrap_Wrapped_InfoSpace_nFEquals_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_107 arg2, swig_type_108 arg3); extern uintptr_t _wrap_Wrapped_InfoSpace_find_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_109 arg2); extern _Bool _wrap_Wrapped_InfoSpace_domainExists_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_getDomain_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_getDomains_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Wrapped_InfoSpace_findExtent_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_110 arg2, swig_type_111 arg3, swig_type_112 arg4); extern uintptr_t _wrap_new_Wrapped_Domain_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_delete_Wrapped_Domain_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_Domain_reclaimProps_vank_go_073f147d1da00b5b(uintptr_t arg1); extern _Bool _wrap_Wrapped_Domain_getFd_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, swig_type_113 arg3, swig_voidp arg4, swig_voidp arg5); extern _Bool _wrap_Wrapped_Domain_setFd_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, swig_type_114 arg3, swig_voidp arg4, swig_voidp arg5); extern uintptr_t _wrap_Wrapped_Domain_getFds_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_115 _wrap_Wrapped_Domain_getMeta__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_116 arg2, swig_intgo arg3); extern swig_type_117 _wrap_Wrapped_Domain_getMeta__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_118 arg2); extern swig_type_119 _wrap_Wrapped_Domain_setMeta__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_120 arg2, swig_type_121 arg3, swig_intgo arg4); extern swig_type_122 _wrap_Wrapped_Domain_setMeta__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_123 arg2, swig_type_124 arg3); extern uintptr_t _wrap_Wrapped_Domain_getROMeta_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_Wrapped_Domain_getRWMeta_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_intgo _wrap_Wrapped_Domain_getCursor_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_intgo _wrap_Wrapped_Domain_setCursor_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern swig_type_125 _wrap_Wrapped_Domain_getField__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_126 arg2, swig_intgo arg3); extern swig_type_127 _wrap_Wrapped_Domain_getField__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_128 arg2); extern swig_type_129 _wrap_Wrapped_Domain_setField__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_130 arg2, swig_type_131 arg3, swig_intgo arg4); extern swig_type_132 _wrap_Wrapped_Domain_setField__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_133 arg2, swig_type_134 arg3); extern swig_type_135 _wrap_Wrapped_Domain_addField__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_136 arg2, swig_type_137 arg3, swig_intgo arg4); extern swig_type_138 _wrap_Wrapped_Domain_addField__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_139 arg2, swig_type_140 arg3); extern uintptr_t _wrap_Wrapped_Domain_getFields_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_intgo _wrap_Wrapped_Domain_getFieldCount_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_Domain_printTagIndent_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, swig_intgo arg3); extern void _wrap_Wrapped_Domain_printTagOpenValue_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, swig_intgo arg4); extern void _wrap_Wrapped_Domain_printTagClose_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, swig_intgo arg4); extern void _wrap_Wrapped_Domain_printNode_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, swig_intgo arg5, swig_intgo arg6); extern swig_type_141 _wrap_Wrapped_Domain_renderToString_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_Wrapped_Domain_save_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_142 _wrap_Wrapped_Domain_saveToFile_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_143 arg2); extern uintptr_t _wrap_new_DocIdVector__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_DocIdVector__SWIG_1_vank_go_073f147d1da00b5b(swig_type_144 arg1); extern uintptr_t _wrap_new_DocIdVector__SWIG_2_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_145 _wrap_DocIdVector_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_146 _wrap_DocIdVector_capacity_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_DocIdVector_reserve_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_147 arg2); extern _Bool _wrap_DocIdVector_isEmpty_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_DocIdVector_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_DocIdVector_add_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_DocIdVector_get_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_DocIdVector_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, uintptr_t arg3); extern void _wrap_delete_DocIdVector_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_StringPair__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_StringPair__SWIG_1_vank_go_073f147d1da00b5b(swig_type_148 arg1, swig_type_149 arg2); extern uintptr_t _wrap_new_StringPair__SWIG_2_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_StringPair_first_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_150 arg2); extern swig_type_151 _wrap_Wrapped_StringPair_first_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_StringPair_second_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_152 arg2); extern swig_type_153 _wrap_Wrapped_StringPair_second_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_delete_Wrapped_StringPair_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_StringPairVector__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_StringPairVector__SWIG_1_vank_go_073f147d1da00b5b(swig_type_154 arg1); extern uintptr_t _wrap_new_StringPairVector__SWIG_2_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_155 _wrap_StringPairVector_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_156 _wrap_StringPairVector_capacity_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_StringPairVector_reserve_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_157 arg2); extern _Bool _wrap_StringPairVector_isEmpty_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_StringPairVector_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_StringPairVector_add_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_StringPairVector_get_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_StringPairVector_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, uintptr_t arg3); extern void _wrap_delete_StringPairVector_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_DomainPtrVector__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_DomainPtrVector__SWIG_1_vank_go_073f147d1da00b5b(swig_type_158 arg1); extern uintptr_t _wrap_new_DomainPtrVector__SWIG_2_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_159 _wrap_DomainPtrVector_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_160 _wrap_DomainPtrVector_capacity_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_DomainPtrVector_reserve_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_161 arg2); extern _Bool _wrap_DomainPtrVector_isEmpty_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_DomainPtrVector_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_DomainPtrVector_add_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_DomainPtrVector_get_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_DomainPtrVector_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, uintptr_t arg3); extern void _wrap_delete_DomainPtrVector_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_IntVector__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_IntVector__SWIG_1_vank_go_073f147d1da00b5b(swig_type_162 arg1); extern uintptr_t _wrap_new_IntVector__SWIG_2_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_163 _wrap_IntVector_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_164 _wrap_IntVector_capacity_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_IntVector_reserve_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_165 arg2); extern _Bool _wrap_IntVector_isEmpty_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_IntVector_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_IntVector_add_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern swig_intgo _wrap_IntVector_get_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_IntVector_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, swig_intgo arg3); extern void _wrap_delete_IntVector_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_StringVector__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_StringVector__SWIG_1_vank_go_073f147d1da00b5b(swig_type_166 arg1); extern uintptr_t _wrap_new_StringVector__SWIG_2_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_167 _wrap_StringVector_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_168 _wrap_StringVector_capacity_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_StringVector_reserve_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_169 arg2); extern _Bool _wrap_StringVector_isEmpty_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_StringVector_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_StringVector_add_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_170 arg2); extern swig_type_171 _wrap_StringVector_get_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_StringVector_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, swig_type_172 arg3); extern void _wrap_delete_StringVector_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_deleteFileClassSpec_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_name_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_173 arg2); extern swig_type_174 _wrap_Specification_name_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_parser_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_175 arg2); extern swig_type_176 _wrap_Specification_parser_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_tokenizer_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_177 arg2); extern swig_type_178 _wrap_Specification_tokenizer_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_iterator_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_179 arg2); extern swig_type_180 _wrap_Specification_iterator_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_startDocTag_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_181 arg2); extern swig_type_182 _wrap_Specification_startDocTag_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_endDocTag_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_183 arg2); extern swig_type_184 _wrap_Specification_endDocTag_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_endMetadataTag_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_185 arg2); extern swig_type_186 _wrap_Specification_endMetadataTag_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_include_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Specification_include_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_exclude_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Specification_exclude_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_index_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Specification_index_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_metadata_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Specification_metadata_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Specification_conflations_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Specification_conflations_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_Specification_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_Specification_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_Wrapped_Parameters_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_Wrapped_Parameters_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_Parameters_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_187 arg2); extern _Bool _wrap_Wrapped_Parameters_get_bool_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_188 arg2, _Bool arg3); extern swig_intgo _wrap_Wrapped_Parameters_get_int_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_189 arg2, swig_intgo arg3); extern double _wrap_Wrapped_Parameters_get_double_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_190 arg2, double arg3); extern swig_type_191 _wrap_Wrapped_Parameters_get_INT64_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_192 arg2, swig_type_193 arg3); extern swig_type_194 _wrap_Wrapped_Parameters_get_string_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_195 arg2, swig_type_196 arg3); extern void _wrap_Wrapped_Parameters_remove_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_197 arg2); extern void _wrap_Wrapped_Parameters_set_bool_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_198 arg2, _Bool arg3); extern void _wrap_Wrapped_Parameters_set_string_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_199 arg2, swig_type_200 arg3); extern void _wrap_Wrapped_Parameters_set_int_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_201 arg2, swig_intgo arg3); extern void _wrap_Wrapped_Parameters_set_UINT64_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_202 arg2, swig_type_203 arg3); extern void _wrap_Wrapped_Parameters_set_double_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_204 arg2, double arg3); extern void _wrap_Wrapped_Parameters_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_205 _wrap_Wrapped_Parameters_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern _Bool _wrap_Wrapped_Parameters_exists_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_206 arg2); extern void _wrap_Wrapped_Parameters_load_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_207 arg2); extern void _wrap_TermExtent_begin_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern swig_intgo _wrap_TermExtent_begin_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_TermExtent_end_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern swig_intgo _wrap_TermExtent_end_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_delete_TermExtent_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_TermExtent_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_ScoredExtentResult_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_ScoredExtentResult_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_ParsedDocument_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_208 _wrap_ParsedDocument_getContent_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_ParsedDocument_vank_go_073f147d1da00b5b(void); extern void _wrap_QueryAnnotationNode_name_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_209 arg2); extern swig_type_210 _wrap_QueryAnnotationNode_name_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_QueryAnnotationNode_Xtype_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_211 arg2); extern swig_type_212 _wrap_QueryAnnotationNode_Xtype_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_QueryAnnotationNode_queryText_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_213 arg2); extern swig_type_214 _wrap_QueryAnnotationNode_queryText_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_QueryAnnotationNode_children_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_QueryAnnotationNode_children_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_QueryAnnotationNode_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_QueryAnnotationNode_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_QueryAnnotation_getQueryTree_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_QueryAnnotation_getAnnotations_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_QueryAnnotation_getResults_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_QueryAnnotation_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_QueryAnnotation_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_QueryEnvironment_vank_go_073f147d1da00b5b(void); extern void _wrap_QueryEnvironment_addServer_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_215 arg2); extern void _wrap_QueryEnvironment_addIndex_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_216 arg2); extern void _wrap_QueryEnvironment_removeServer_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_217 arg2); extern void _wrap_QueryEnvironment_removeIndex_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_218 arg2); extern void _wrap_QueryEnvironment_close_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_QueryEnvironment_setMemory_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_219 arg2); extern void _wrap_QueryEnvironment_setScoringRules_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern void _wrap_QueryEnvironment_setStopwords_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_QueryEnvironment_runQuery__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_220 arg2, swig_intgo arg3); extern uintptr_t _wrap_QueryEnvironment_runQuery__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_221 arg2, uintptr_t arg3, swig_intgo arg4); extern uintptr_t _wrap_QueryEnvironment_runAnnotatedQuery__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_222 arg2, swig_intgo arg3); extern uintptr_t _wrap_QueryEnvironment_runAnnotatedQuery__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_223 arg2, uintptr_t arg3, swig_intgo arg4); extern uintptr_t _wrap_QueryEnvironment_runQuerydocset_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_224 arg2, uintptr_t arg3, swig_intgo arg4); extern uintptr_t _wrap_QueryEnvironment_runAnnotatedQuerydocset_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_225 arg2, uintptr_t arg3, swig_intgo arg4); extern uintptr_t _wrap_QueryEnvironment_documents__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_QueryEnvironment_documents__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_QueryEnvironment_documentMetadata__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, swig_type_226 arg3); extern uintptr_t _wrap_QueryEnvironment_documentMetadata__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, swig_type_227 arg3); extern uintptr_t _wrap_QueryEnvironment_documentIDsFromMetadata_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_228 arg2, uintptr_t arg3); extern uintptr_t _wrap_QueryEnvironment_documentsFromMetadata_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_229 arg2, uintptr_t arg3); extern swig_type_230 _wrap_QueryEnvironment_termCount__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_231 _wrap_QueryEnvironment_termCount__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_232 arg2); extern swig_type_233 _wrap_QueryEnvironment_termFieldCount_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_234 arg2, swig_type_235 arg3); extern uintptr_t _wrap_QueryEnvironment_fieldList_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_236 _wrap_QueryEnvironment_documentCount__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_237 _wrap_QueryEnvironment_documentCount__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_238 arg2); extern uintptr_t _wrap_QueryEnvironment_documentVectors_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern double _wrap_QueryEnvironment_expressionCount__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_239 arg2, swig_type_240 arg3); extern double _wrap_QueryEnvironment_expressionCount__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_241 arg2); extern double _wrap_QueryEnvironment_documentExpressionCount__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_242 arg2, swig_type_243 arg3); extern double _wrap_QueryEnvironment_documentExpressionCount__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_244 arg2); extern uintptr_t _wrap_QueryEnvironment_expressionList__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_245 arg2, swig_type_246 arg3); extern uintptr_t _wrap_QueryEnvironment_expressionList__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_247 arg2); extern swig_intgo _wrap_QueryEnvironment_documentLength_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_QueryEnvironment_setFormulationParameters_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_248 _wrap_QueryEnvironment_reformulateQuery_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_249 arg2); extern swig_type_250 _wrap_QueryEnvironment_stemTerm_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_251 arg2); extern swig_type_252 _wrap_QueryEnvironment_termCountUnique_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_253 _wrap_QueryEnvironment_stemCount_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_254 arg2); extern swig_type_255 _wrap_QueryEnvironment_stemFieldCount_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_256 arg2, swig_type_257 arg3); extern swig_type_258 _wrap_QueryEnvironment_documentStemCount_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_259 arg2); extern uintptr_t _wrap_QueryEnvironment_documentsdocids_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_QueryEnvironment_documentMetadatadocids_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, swig_type_260 arg3); extern swig_type_261 _wrap_QueryEnvironment_onetermCount_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_262 arg2); extern swig_type_263 _wrap_QueryEnvironment_onedocumentCount_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_264 arg2); extern void _wrap_delete_QueryEnvironment_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_delete_QueryExpander_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_QueryExpander_runExpandedQuery__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_265 arg2, swig_intgo arg3, _Bool arg4); extern uintptr_t _wrap_QueryExpander_runExpandedQuery__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_266 arg2, swig_intgo arg3); extern swig_type_267 _wrap_QueryExpander_expand_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_268 arg2, uintptr_t arg3); extern uintptr_t _wrap_new_RMExpander_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_269 _wrap_RMExpander_expand_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_270 arg2, uintptr_t arg3); extern void _wrap_delete_RMExpander_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_RMExpander_runExpandedQuery__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t _swig_base, swig_type_271 arg1, swig_intgo arg2, _Bool arg3); extern uintptr_t _wrap_RMExpander_runExpandedQuery__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t _swig_base, swig_type_272 arg1, swig_intgo arg2); extern uintptr_t _wrap_new_PonteExpander_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_type_273 _wrap_PonteExpander_expand_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_274 arg2, uintptr_t arg3); extern void _wrap_delete_PonteExpander_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_PonteExpander_runExpandedQuery__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t _swig_base, swig_type_271 arg1, swig_intgo arg2, _Bool arg3); extern uintptr_t _wrap_PonteExpander_runExpandedQuery__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t _swig_base, swig_type_272 arg1, swig_intgo arg2); extern void _wrap_Wrapped_MetadataPair_key_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_275 arg2); extern swig_type_276 _wrap_Wrapped_MetadataPair_key_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_MetadataPair_value_set_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_Wrapped_MetadataPair_value_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_MetadataPair_valueLength_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern swig_intgo _wrap_Wrapped_MetadataPair_valueLength_get_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_MetadataPair_stripValue_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_Wrapped_MetadataPair_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_Wrapped_MetadataPair_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap_new_MetadataPairVector__SWIG_0_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_MetadataPairVector__SWIG_1_vank_go_073f147d1da00b5b(swig_type_277 arg1); extern swig_type_278 _wrap_MetadataPairVector_size_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_type_279 _wrap_MetadataPairVector_capacity_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_MetadataPairVector_reserve_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_280 arg2); extern _Bool _wrap_MetadataPairVector_isEmpty_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_MetadataPairVector_clear_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_MetadataPairVector_add_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern uintptr_t _wrap_MetadataPairVector_get_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_MetadataPairVector_set_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, uintptr_t arg3); extern void _wrap_delete_MetadataPairVector_vank_go_073f147d1da00b5b(uintptr_t arg1); extern uintptr_t _wrap__swig_NewDirectorIndexStatusIndexStatus_vank_go_073f147d1da00b5b(int); extern void _wrap_DeleteDirectorIndexStatus_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_intgo _wrap_FileOpen_IndexStatus_vank_go_073f147d1da00b5b(void); extern swig_intgo _wrap_FileSkip_IndexStatus_vank_go_073f147d1da00b5b(void); extern swig_intgo _wrap_FileError_IndexStatus_vank_go_073f147d1da00b5b(void); extern swig_intgo _wrap_FileClose_IndexStatus_vank_go_073f147d1da00b5b(void); extern swig_intgo _wrap_DocumentCount_IndexStatus_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_IndexStatus_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_IndexStatus_status_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, swig_type_281 arg3, swig_type_282 arg4, swig_intgo arg5, swig_intgo arg6); extern uintptr_t _wrap__swig_NewDirectorIndexDocumentMetaCallbackIndexDocumentMetaCallback_vank_go_073f147d1da00b5b(int); extern void _wrap_DeleteDirectorIndexDocumentMetaCallback_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap__swig_DirectorIndexDocumentMetaCallback_upcall_DocMetaCallback_vank_go_073f147d1da00b5b(uintptr_t, swig_intgo docType, swig_type_283 docClass, uintptr_t metadata); extern swig_intgo _wrap_FileSource_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b(void); extern swig_intgo _wrap_StringSource_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_IndexDocumentMetaCallback_docMetaCallback_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2, swig_type_283 arg3, uintptr_t arg4); extern uintptr_t _wrap_new_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b(void); extern uintptr_t _wrap_new_Wrapped_IndexEnvironment_vank_go_073f147d1da00b5b(void); extern void _wrap_delete_Wrapped_IndexEnvironment_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setDocumentRoot_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_284 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setAnchorTextPath_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_285 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setOffsetMetadataPath_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_286 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setOffsetAnnotationsPath_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_287 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_addFileClass__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_288 arg2, swig_type_289 arg3, swig_type_290 arg4, swig_type_291 arg5, swig_type_292 arg6, swig_type_293 arg7, swig_type_294 arg8, uintptr_t arg9, uintptr_t arg10, uintptr_t arg11, uintptr_t arg12, uintptr_t arg13); extern uintptr_t _wrap_Wrapped_IndexEnvironment_Wrapped_getFileClassSpec_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_295 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_addFileClass__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_deleteDocument_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_intgo arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setIndexedFields_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setNumericField__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_296 arg2, _Bool arg3, swig_type_297 arg4); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setNumericField__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_298 arg2, _Bool arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setOrdinalField_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_299 arg2, _Bool arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setParentalField_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_300 arg2, _Bool arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setMetadataIndexedFields_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2, uintptr_t arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setStopwords_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setStemmer_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_301 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setMemory_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_302 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setMaxDocs_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_303 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setNormalization_vank_go_073f147d1da00b5b(uintptr_t arg1, _Bool arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_setStoreDocs_vank_go_073f147d1da00b5b(uintptr_t arg1, _Bool arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_create__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_304 arg2, uintptr_t arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_create__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_305 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_open__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_306 arg2, uintptr_t arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_open__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_307 arg2); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_close_vank_go_073f147d1da00b5b(uintptr_t arg1); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_addFile__SWIG_0_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_308 arg2, uintptr_t arg3); extern void _wrap_Wrapped_IndexEnvironment_Wrapped_addFile__SWIG_1_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_309 arg2, swig_type_310 arg3, uintptr_t arg4); extern swig_intgo _wrap_Wrapped_IndexEnvironment_Wrapped_addString_vank_go_073f147d1da00b5b(uintptr_t arg1, swig_type_311 arg2, swig_type_312 arg3, uintptr_t arg4); extern swig_intgo _wrap_Wrapped_IndexEnvironment_Wrapped_addParsedDocument_vank_go_073f147d1da00b5b(uintptr_t arg1, uintptr_t arg2); extern swig_intgo _wrap_Wrapped_IndexEnvironment_Wrapped_documentsIndexed_vank_go_073f147d1da00b5b(uintptr_t arg1); extern swig_intgo _wrap_Wrapped_IndexEnvironment_Wrapped_documentsSeen_vank_go_073f147d1da00b5b(uintptr_t arg1); #undef intgo */ import "C" import "unsafe" import _ "runtime/cgo" import "sync" import "fmt" import "runtime" type _ unsafe.Pointer var Swig_escape_always_false bool var Swig_escape_val interface{} type _swig_fnptr *byte type _swig_memberptr *byte type _ sync.Mutex type swig_gostring struct { p uintptr; n int } func swigCopyString(s string) string { p := *(*swig_gostring)(unsafe.Pointer(&s)) r := string((*[0x7fffffff]byte)(unsafe.Pointer(p.p))[:p.n]) Swig_free(p.p) return r } func Swig_free(arg1 uintptr) { _swig_i_0 := arg1 C._wrap_Swig_free_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func Swig_malloc(arg1 int) (_swig_ret uintptr) { var swig_r uintptr _swig_i_0 := arg1 swig_r = (uintptr)(C._wrap_Swig_malloc_vank_go_073f147d1da00b5b(C.swig_intgo(_swig_i_0))) return swig_r } func GetVankVersion() (_swig_ret string) { var swig_r string swig_r_p := C._wrap_vankVersion_get_vank_go_073f147d1da00b5b() swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func Buildindex_recoverRepository(arg1 string) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_buildindex_recoverRepository_vank_go_073f147d1da00b5b(*(*C.swig_type_2)(unsafe.Pointer(&_swig_i_0)))) if Swig_escape_always_false { Swig_escape_val = arg1 } return swig_r } func Buildindex_start_time() { C._wrap_buildindex_start_time_vank_go_073f147d1da00b5b() } func Buildindex_print_event(arg1 string) { _swig_i_0 := arg1 C._wrap_buildindex_print_event_vank_go_073f147d1da00b5b(*(*C.swig_type_3)(unsafe.Pointer(&_swig_i_0))) if Swig_escape_always_false { Swig_escape_val = arg1 } } func Buildindex_print_status__SWIG_0(arg1 string, arg2 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_buildindex_print_status__SWIG_0_vank_go_073f147d1da00b5b(*(*C.swig_type_4)(unsafe.Pointer(&_swig_i_0)), C.swig_intgo(_swig_i_1)) if Swig_escape_always_false { Swig_escape_val = arg1 } } func Buildindex_print_status__SWIG_1(arg1 string, arg2 int, arg3 string, arg4 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 C._wrap_buildindex_print_status__SWIG_1_vank_go_073f147d1da00b5b(*(*C.swig_type_5)(unsafe.Pointer(&_swig_i_0)), C.swig_intgo(_swig_i_1), *(*C.swig_type_6)(unsafe.Pointer(&_swig_i_2)), C.swig_type_7(_swig_i_3)) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg3 } } func Buildindex_print_status(a ...interface{}) { argc := len(a) if argc == 2 { Buildindex_print_status__SWIG_0(a[0].(string), a[1].(int)) return } if argc == 4 { Buildindex_print_status__SWIG_1(a[0].(string), a[1].(int), a[2].(string), a[3].(int64)) return } panic("No match for overloaded function call") } func Buildindex_flush_status() { C._wrap_buildindex_flush_status_vank_go_073f147d1da00b5b() } func Buildindex_augmentSpec(arg1 Vank_parse_FileClassEnvironmentFactory_Specification, arg2 StringVector, arg3 StringVector, arg4 StringVector, arg5 StringVector) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1.Swigcptr() _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4.Swigcptr() _swig_i_4 := arg5.Swigcptr() swig_r = (bool)(C._wrap_buildindex_augmentSpec_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3), C.uintptr_t(_swig_i_4))) return swig_r } func Buildindex_mymain(arg1 int, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 C._wrap_buildindex_mymain_vank_go_073f147d1da00b5b(C.swig_intgo(_swig_i_0), *(*C.swig_type_8)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_9)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_10)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_11)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_12)(unsafe.Pointer(&_swig_i_5))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } } type SwigcptrSnippetBuilder uintptr func (p SwigcptrSnippetBuilder) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrSnippetBuilder) SwigIsSnippetBuilder() { } func NewSnippetBuilder(arg1 bool) (_swig_ret SnippetBuilder) { var swig_r SnippetBuilder _swig_i_0 := arg1 swig_r = (SnippetBuilder)(SwigcptrSnippetBuilder(C._wrap_new_SnippetBuilder_vank_go_073f147d1da00b5b(C._Bool(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSnippetBuilder) Build(arg2 int, arg3 ParsedDocument, arg4 QueryAnnotation) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4.Swigcptr() swig_r_p := C._wrap_SnippetBuilder_build_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSnippetBuilder) BuildField(arg2 int, arg3 ParsedDocument, arg4 QueryAnnotation, arg5 StringVector) (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4.Swigcptr() _swig_i_4 := arg5.Swigcptr() swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_SnippetBuilder_buildField_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3), C.uintptr_t(_swig_i_4)))) return swig_r } func DeleteSnippetBuilder(arg1 SnippetBuilder) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_SnippetBuilder_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type SnippetBuilder interface { Swigcptr() uintptr SwigIsSnippetBuilder() Build(arg2 int, arg3 ParsedDocument, arg4 QueryAnnotation) (_swig_ret string) BuildField(arg2 int, arg3 ParsedDocument, arg4 QueryAnnotation, arg5 StringVector) (_swig_ret StringPairVector) } func DocIDToInt(arg1 Lemur_api_DOCID_T) (_swig_ret int) { var swig_r int _swig_i_0 := arg1.Swigcptr() swig_r = (int)(C._wrap_DocIDToInt_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func IntToDocID(arg1 int) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_IntToDocID_vank_go_073f147d1da00b5b(C.swig_intgo(_swig_i_0)))) return swig_r } type SwigcptrSchema uintptr func (p SwigcptrSchema) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrSchema) SwigIsSchema() { } func (arg1 SwigcptrSchema) SetRawtime(arg2 Time_t) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Schema_rawtime_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSchema) GetRawtime() (_swig_ret Time_t) { var swig_r Time_t _swig_i_0 := arg1 swig_r = (Time_t)(SwigcptrTime_t(C._wrap_Schema_rawtime_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSchema) SetBaseTime(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Schema_baseTime_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_14)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSchema) GetBaseTime() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Schema_baseTime_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSchema) SetRo_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Schema_ro_meta_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSchema) GetRo_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) { var swig_r Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_)(SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_(C._wrap_Schema_ro_meta_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSchema) SetRw_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Schema_rw_meta_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSchema) GetRw_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) { var swig_r Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_)(SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_(C._wrap_Schema_rw_meta_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSchema) SetFields(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Schema_fields_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSchema) GetFields() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) { var swig_r Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_)(SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_(C._wrap_Schema_fields_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewSchema() (_swig_ret Schema) { var swig_r Schema swig_r = (Schema)(SwigcptrSchema(C._wrap_new_Schema_vank_go_073f147d1da00b5b())) return swig_r } func DeleteSchema(arg1 Schema) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Schema_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type Schema interface { Swigcptr() uintptr SwigIsSchema() SetRawtime(arg2 Time_t) GetRawtime() (_swig_ret Time_t) SetBaseTime(arg2 string) GetBaseTime() (_swig_ret string) SetRo_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) GetRo_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) SetRw_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) GetRw_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) SetFields(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) GetFields() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) } type SwigcptrFieldProps uintptr func (p SwigcptrFieldProps) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrFieldProps) SwigIsFieldProps() { } func (arg1 SwigcptrFieldProps) SetRo_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_FieldProps_ro_meta_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrFieldProps) GetRo_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { var swig_r Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_)(SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_(C._wrap_FieldProps_ro_meta_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrFieldProps) SetRw_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_FieldProps_rw_meta_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrFieldProps) GetRw_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { var swig_r Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_)(SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_(C._wrap_FieldProps_rw_meta_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrFieldProps) SetFields(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_FieldProps_fields_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrFieldProps) GetFields() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { var swig_r Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_)(SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_(C._wrap_FieldProps_fields_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewFieldProps() (_swig_ret FieldProps) { var swig_r FieldProps swig_r = (FieldProps)(SwigcptrFieldProps(C._wrap_new_FieldProps_vank_go_073f147d1da00b5b())) return swig_r } func DeleteFieldProps(arg1 FieldProps) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_FieldProps_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type FieldProps interface { Swigcptr() uintptr SwigIsFieldProps() SetRo_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) GetRo_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) SetRw_meta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) GetRw_meta() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) SetFields(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) GetFields() (_swig_ret Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) } type SwigcptrWrapped_InfoSpace uintptr func (p SwigcptrWrapped_InfoSpace) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrWrapped_InfoSpace) SwigIsWrapped_InfoSpace() { } func NewWrapped_InfoSpace__SWIG_0(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string, arg8 string, arg9 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 _swig_i_7 := arg8 _swig_i_8 := arg9 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_0_vank_go_073f147d1da00b5b(*(*C.swig_type_16)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_17)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_18)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_19)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_20)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_21)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_22)(unsafe.Pointer(&_swig_i_6)), *(*C.swig_type_23)(unsafe.Pointer(&_swig_i_7)), *(*C.swig_type_24)(unsafe.Pointer(&_swig_i_8))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } if Swig_escape_always_false { Swig_escape_val = arg8 } if Swig_escape_always_false { Swig_escape_val = arg9 } return swig_r } func NewWrapped_InfoSpace__SWIG_1(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string, arg8 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 _swig_i_7 := arg8 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_1_vank_go_073f147d1da00b5b(*(*C.swig_type_25)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_26)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_27)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_28)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_29)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_30)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_31)(unsafe.Pointer(&_swig_i_6)), *(*C.swig_type_32)(unsafe.Pointer(&_swig_i_7))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } if Swig_escape_always_false { Swig_escape_val = arg8 } return swig_r } func NewWrapped_InfoSpace__SWIG_2(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_2_vank_go_073f147d1da00b5b(*(*C.swig_type_33)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_34)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_35)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_36)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_37)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_38)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_39)(unsafe.Pointer(&_swig_i_6))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } return swig_r } func NewWrapped_InfoSpace__SWIG_3(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_3_vank_go_073f147d1da00b5b(*(*C.swig_type_40)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_41)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_42)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_43)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_44)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_45)(unsafe.Pointer(&_swig_i_5))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } return swig_r } func NewWrapped_InfoSpace__SWIG_4(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_4_vank_go_073f147d1da00b5b(*(*C.swig_type_46)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_47)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_48)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_49)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_50)(unsafe.Pointer(&_swig_i_4))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } return swig_r } func NewWrapped_InfoSpace__SWIG_5(arg1 string, arg2 string, arg3 string, arg4 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_5_vank_go_073f147d1da00b5b(*(*C.swig_type_51)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_52)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_53)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_54)(unsafe.Pointer(&_swig_i_3))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } return swig_r } func NewWrapped_InfoSpace__SWIG_6(arg1 string, arg2 string, arg3 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_6_vank_go_073f147d1da00b5b(*(*C.swig_type_55)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_56)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_57)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func NewWrapped_InfoSpace__SWIG_7(arg1 string, arg2 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_7_vank_go_073f147d1da00b5b(*(*C.swig_type_58)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_59)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func NewWrapped_InfoSpace__SWIG_8(arg1 string) (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace _swig_i_0 := arg1 swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_8_vank_go_073f147d1da00b5b(*(*C.swig_type_60)(unsafe.Pointer(&_swig_i_0))))) if Swig_escape_always_false { Swig_escape_val = arg1 } return swig_r } func NewWrapped_InfoSpace__SWIG_9() (_swig_ret Wrapped_InfoSpace) { var swig_r Wrapped_InfoSpace swig_r = (Wrapped_InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_9_vank_go_073f147d1da00b5b())) return swig_r } func NewWrapped_InfoSpace(a ...interface{}) Wrapped_InfoSpace { argc := len(a) if argc == 0 { return NewWrapped_InfoSpace__SWIG_9() } if argc == 1 { return NewWrapped_InfoSpace__SWIG_8(a[0].(string)) } if argc == 2 { return NewWrapped_InfoSpace__SWIG_7(a[0].(string), a[1].(string)) } if argc == 3 { return NewWrapped_InfoSpace__SWIG_6(a[0].(string), a[1].(string), a[2].(string)) } if argc == 4 { return NewWrapped_InfoSpace__SWIG_5(a[0].(string), a[1].(string), a[2].(string), a[3].(string)) } if argc == 5 { return NewWrapped_InfoSpace__SWIG_4(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string)) } if argc == 6 { return NewWrapped_InfoSpace__SWIG_3(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string)) } if argc == 7 { return NewWrapped_InfoSpace__SWIG_2(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string)) } if argc == 8 { return NewWrapped_InfoSpace__SWIG_1(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string), a[7].(string)) } if argc == 9 { return NewWrapped_InfoSpace__SWIG_0(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string), a[7].(string), a[8].(string)) } panic("No match for overloaded function call") } func DeleteWrapped_InfoSpace(arg1 Wrapped_InfoSpace) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Wrapped_InfoSpace_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_InfoSpace) IsAttached() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_Wrapped_InfoSpace_isAttached_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) IsDetached() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_Wrapped_InfoSpace_isDetached_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) InitSchema() { _swig_i_0 := arg1 C._wrap_Wrapped_InfoSpace_initSchema_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_InfoSpace) VerifySchemaPostInit() { _swig_i_0 := arg1 C._wrap_Wrapped_InfoSpace_verifySchemaPostInit_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_InfoSpace) ReclaimSchema() { _swig_i_0 := arg1 C._wrap_Wrapped_InfoSpace_reclaimSchema_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_InfoSpace) InitCodecFactory(arg2 string, arg3 string, arg4 int64, arg5 int64) (_swig_ret Ride_codec_CodecFactory) { var swig_r Ride_codec_CodecFactory _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 swig_r = (Ride_codec_CodecFactory)(SwigcptrRide_codec_CodecFactory(C._wrap_Wrapped_InfoSpace_initCodecFactory_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_61)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_62)(unsafe.Pointer(&_swig_i_2)), C.swig_type_63(_swig_i_3), C.swig_type_64(_swig_i_4)))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) LookupCodecFactory(arg2 string) (_swig_ret Ride_codec_CodecFactory) { var swig_r Ride_codec_CodecFactory _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Ride_codec_CodecFactory)(SwigcptrRide_codec_CodecFactory(C._wrap_Wrapped_InfoSpace_lookupCodecFactory_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_65)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GenROMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Wrapped_InfoSpace_genROMeta_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrWrapped_InfoSpace) GenRWMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Wrapped_InfoSpace_genRWMeta_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrWrapped_InfoSpace) GetWindow() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_getWindow_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetWindowEnd() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_getWindowEnd_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetDes() (_swig_ret Ride_api_Des) { var swig_r Ride_api_Des _swig_i_0 := arg1 swig_r = (Ride_api_Des)(SwigcptrRide_api_Des(C._wrap_Wrapped_InfoSpace_getDes_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetApp() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getApp_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetName() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getName_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetServer() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getServer_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetCommand() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getCommand_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetIndexPath() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getIndexPath_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetCorpusPath() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getCorpusPath_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetCorpusClass() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getCorpusClass_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetBuildParam() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getBuildParam_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) GetStopParam() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_getStopParam_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) Attach() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_attach_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) Detach() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_detach_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) Destroy() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_InfoSpace_destroy_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) AddDoc__SWIG_0(arg2 string, arg3 bool) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_addDoc__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_80)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) AddDoc__SWIG_1(arg2 string) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_addDoc__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_81)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrWrapped_InfoSpace) AddDoc(a ...interface{}) Lemur_api_DOCID_T { argc := len(a) if argc == 1 { return p.AddDoc__SWIG_1(a[0].(string)) } if argc == 2 { return p.AddDoc__SWIG_0(a[0].(string), a[1].(bool)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_InfoSpace) AddFile(arg2 string) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_addFile_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_82)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) AddString(arg2 string) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_addString_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_83)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) DeleteDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_deleteDomain_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) EncodeTime(arg2 int64) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_Wrapped_InfoSpace_encodeTime_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_85(_swig_i_1)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) DecodeTime(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_decodeTime_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_87)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetPos() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_getPos_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) SetPos(arg2 int64) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_setPos_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_90(_swig_i_1))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetMax() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_getMax_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) SetMax(arg2 int64) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_Wrapped_InfoSpace_setMax_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_93(_swig_i_1))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) CreateCodecSet(arg2 string, arg3 string) (_swig_ret Ride_codec_Codec) { var swig_r Ride_codec_Codec _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Ride_codec_Codec)(SwigcptrRide_codec_Codec(C._wrap_Wrapped_InfoSpace_createCodecSet_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_94)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_95)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) DestroyCodecSet(arg2 Ride_codec_Codec) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Wrapped_InfoSpace_destroyCodecSet_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrWrapped_InfoSpace) NFLess(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_InfoSpace_nFLess_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_97)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_98)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) NFGreater(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_InfoSpace_nFGreater_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_100)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_101)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) NFBetween(arg2 string, arg3 string, arg4 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r_p := C._wrap_Wrapped_InfoSpace_nFBetween_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_103)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_104)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_105)(unsafe.Pointer(&_swig_i_3))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) NFEquals(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_InfoSpace_nFEquals_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_107)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_108)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_InfoSpace) Find(arg2 string) (_swig_ret DocIdVector) { var swig_r DocIdVector _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (DocIdVector)(SwigcptrDocIdVector(C._wrap_Wrapped_InfoSpace_find_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_109)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) DomainExists(arg2 Lemur_api_DOCID_T) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (bool)(C._wrap_Wrapped_InfoSpace_domainExists_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Wrapped_Domain) { var swig_r Wrapped_Domain _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Wrapped_Domain)(SwigcptrWrapped_Domain(C._wrap_Wrapped_InfoSpace_getDomain_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) GetDomains(arg2 DocIdVector) (_swig_ret DomainPtrVector) { var swig_r DomainPtrVector _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (DomainPtrVector)(SwigcptrDomainPtrVector(C._wrap_Wrapped_InfoSpace_getDomains_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrWrapped_InfoSpace) FindExtent(arg2 string, arg3 string, arg4 int64) (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_Wrapped_InfoSpace_findExtent_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_110)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_111)(unsafe.Pointer(&_swig_i_2)), C.swig_type_112(_swig_i_3)))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } type Wrapped_InfoSpace interface { Swigcptr() uintptr SwigIsWrapped_InfoSpace() IsAttached() (_swig_ret bool) IsDetached() (_swig_ret bool) InitSchema() VerifySchemaPostInit() ReclaimSchema() InitCodecFactory(arg2 string, arg3 string, arg4 int64, arg5 int64) (_swig_ret Ride_codec_CodecFactory) LookupCodecFactory(arg2 string) (_swig_ret Ride_codec_CodecFactory) GenROMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) GenRWMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) GetWindow() (_swig_ret int64) GetWindowEnd() (_swig_ret int64) GetDes() (_swig_ret Ride_api_Des) GetApp() (_swig_ret string) GetName() (_swig_ret string) GetServer() (_swig_ret string) GetCommand() (_swig_ret string) GetIndexPath() (_swig_ret string) GetCorpusPath() (_swig_ret string) GetCorpusClass() (_swig_ret string) GetBuildParam() (_swig_ret string) GetStopParam() (_swig_ret string) Attach() (_swig_ret string) Detach() (_swig_ret string) Destroy() (_swig_ret string) AddDoc(a ...interface{}) Lemur_api_DOCID_T AddFile(arg2 string) (_swig_ret Lemur_api_DOCID_T) AddString(arg2 string) (_swig_ret Lemur_api_DOCID_T) DeleteDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Lemur_api_DOCID_T) EncodeTime(arg2 int64) (_swig_ret string) DecodeTime(arg2 string) (_swig_ret int64) GetPos() (_swig_ret int64) SetPos(arg2 int64) (_swig_ret int64) GetMax() (_swig_ret int64) SetMax(arg2 int64) (_swig_ret int64) CreateCodecSet(arg2 string, arg3 string) (_swig_ret Ride_codec_Codec) DestroyCodecSet(arg2 Ride_codec_Codec) NFLess(arg2 string, arg3 string) (_swig_ret string) NFGreater(arg2 string, arg3 string) (_swig_ret string) NFBetween(arg2 string, arg3 string, arg4 string) (_swig_ret string) NFEquals(arg2 string, arg3 string) (_swig_ret string) Find(arg2 string) (_swig_ret DocIdVector) DomainExists(arg2 Lemur_api_DOCID_T) (_swig_ret bool) GetDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Wrapped_Domain) GetDomains(arg2 DocIdVector) (_swig_ret DomainPtrVector) FindExtent(arg2 string, arg3 string, arg4 int64) (_swig_ret StringVector) } type SwigcptrWrapped_Domain uintptr func (p SwigcptrWrapped_Domain) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrWrapped_Domain) SwigIsWrapped_Domain() { } func NewWrapped_Domain(arg1 Wrapped_InfoSpace) (_swig_ret Wrapped_Domain) { var swig_r Wrapped_Domain _swig_i_0 := arg1.Swigcptr() swig_r = (Wrapped_Domain)(SwigcptrWrapped_Domain(C._wrap_new_Wrapped_Domain_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func DeleteWrapped_Domain(arg1 Wrapped_Domain) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Wrapped_Domain_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_Domain) ReclaimProps() { _swig_i_0 := arg1 C._wrap_Wrapped_Domain_reclaimProps_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_Domain) GetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 swig_r = (bool)(C._wrap_Wrapped_Domain_getFd_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), *(*C.swig_type_113)(unsafe.Pointer(&_swig_i_2)), C.swig_voidp(_swig_i_3), C.swig_voidp(_swig_i_4))) if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrWrapped_Domain) SetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 swig_r = (bool)(C._wrap_Wrapped_Domain_setFd_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), *(*C.swig_type_114)(unsafe.Pointer(&_swig_i_2)), C.swig_voidp(_swig_i_3), C.swig_voidp(_swig_i_4))) if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrWrapped_Domain) GetFds(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_Wrapped_Domain_getFds_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrWrapped_Domain) GetMeta__SWIG_0(arg2 string, arg3 int) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_Domain_getMeta__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_116)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Domain) GetMeta__SWIG_1(arg2 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_Wrapped_Domain_getMeta__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_118)(unsafe.Pointer(&_swig_i_1))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (p SwigcptrWrapped_Domain) GetMeta(a ...interface{}) string { argc := len(a) if argc == 1 { return p.GetMeta__SWIG_1(a[0].(string)) } if argc == 2 { return p.GetMeta__SWIG_0(a[0].(string), a[1].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) SetMeta__SWIG_0(arg2 string, arg3 string, arg4 int) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r_p := C._wrap_Wrapped_Domain_setMeta__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_120)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_121)(unsafe.Pointer(&_swig_i_2)), C.swig_intgo(_swig_i_3)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Domain) SetMeta__SWIG_1(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_Domain_setMeta__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_123)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_124)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (p SwigcptrWrapped_Domain) SetMeta(a ...interface{}) string { argc := len(a) if argc == 2 { return p.SetMeta__SWIG_1(a[0].(string), a[1].(string)) } if argc == 3 { return p.SetMeta__SWIG_0(a[0].(string), a[1].(string), a[2].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) GetROMeta() (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1 swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_Wrapped_Domain_getROMeta_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrWrapped_Domain) GetRWMeta() (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1 swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_Wrapped_Domain_getRWMeta_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrWrapped_Domain) GetCursor() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_Wrapped_Domain_getCursor_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_Domain) SetCursor(arg2 int) (_swig_ret int) { var swig_r int _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int)(C._wrap_Wrapped_Domain_setCursor_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))) return swig_r } func (arg1 SwigcptrWrapped_Domain) GetField__SWIG_0(arg2 string, arg3 int) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_Domain_getField__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_126)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Domain) GetField__SWIG_1(arg2 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_Wrapped_Domain_getField__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_128)(unsafe.Pointer(&_swig_i_1))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (p SwigcptrWrapped_Domain) GetField(a ...interface{}) string { argc := len(a) if argc == 1 { return p.GetField__SWIG_1(a[0].(string)) } if argc == 2 { return p.GetField__SWIG_0(a[0].(string), a[1].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) SetField__SWIG_0(arg2 string, arg3 string, arg4 int) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r_p := C._wrap_Wrapped_Domain_setField__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_130)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_131)(unsafe.Pointer(&_swig_i_2)), C.swig_intgo(_swig_i_3)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Domain) SetField__SWIG_1(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_Domain_setField__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_133)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_134)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (p SwigcptrWrapped_Domain) SetField(a ...interface{}) string { argc := len(a) if argc == 2 { return p.SetField__SWIG_1(a[0].(string), a[1].(string)) } if argc == 3 { return p.SetField__SWIG_0(a[0].(string), a[1].(string), a[2].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) AddField__SWIG_0(arg2 string, arg3 string, arg4 int) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r_p := C._wrap_Wrapped_Domain_addField__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_136)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_137)(unsafe.Pointer(&_swig_i_2)), C.swig_intgo(_swig_i_3)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Domain) AddField__SWIG_1(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_Domain_addField__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_139)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_140)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (p SwigcptrWrapped_Domain) AddField(a ...interface{}) string { argc := len(a) if argc == 2 { return p.AddField__SWIG_1(a[0].(string), a[1].(string)) } if argc == 3 { return p.AddField__SWIG_0(a[0].(string), a[1].(string), a[2].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) GetFields() (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1 swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_Wrapped_Domain_getFields_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrWrapped_Domain) GetFieldCount() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_Wrapped_Domain_getFieldCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_Domain) PrintTagIndent(arg2 Std_stringstream, arg3 int) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3 C._wrap_Wrapped_Domain_printTagIndent_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.swig_intgo(_swig_i_2)) } func (arg1 SwigcptrWrapped_Domain) PrintTagOpenValue(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4 C._wrap_Wrapped_Domain_printTagOpenValue_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3)) } func (arg1 SwigcptrWrapped_Domain) PrintTagClose(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4 C._wrap_Wrapped_Domain_printTagClose_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3)) } func (arg1 SwigcptrWrapped_Domain) PrintNode(arg2 Std_stringstream, arg3 Std_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_, arg4 Std_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_, arg5 int, arg6 int) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4.Swigcptr() _swig_i_4 := arg5 _swig_i_5 := arg6 C._wrap_Wrapped_Domain_printNode_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3), C.swig_intgo(_swig_i_4), C.swig_intgo(_swig_i_5)) } func (arg1 SwigcptrWrapped_Domain) RenderToString() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_Domain_renderToString_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Domain) Save() (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_Domain_save_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrWrapped_Domain) SaveToFile(arg2 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_Wrapped_Domain_saveToFile_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_143)(unsafe.Pointer(&_swig_i_1))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } type Wrapped_Domain interface { Swigcptr() uintptr SwigIsWrapped_Domain() ReclaimProps() GetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool) SetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool) GetFds(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (_swig_ret StringPairVector) GetMeta(a ...interface{}) string SetMeta(a ...interface{}) string GetROMeta() (_swig_ret StringPairVector) GetRWMeta() (_swig_ret StringPairVector) GetCursor() (_swig_ret int) SetCursor(arg2 int) (_swig_ret int) GetField(a ...interface{}) string SetField(a ...interface{}) string AddField(a ...interface{}) string GetFields() (_swig_ret StringPairVector) GetFieldCount() (_swig_ret int) PrintTagIndent(arg2 Std_stringstream, arg3 int) PrintTagOpenValue(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) PrintTagClose(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) PrintNode(arg2 Std_stringstream, arg3 Std_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_, arg4 Std_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_, arg5 int, arg6 int) RenderToString() (_swig_ret string) Save() (_swig_ret Lemur_api_DOCID_T) SaveToFile(arg2 string) (_swig_ret string) } type SwigcptrDocIdVector uintptr func (p SwigcptrDocIdVector) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrDocIdVector) SwigIsDocIdVector() { } func NewDocIdVector__SWIG_0() (_swig_ret DocIdVector) { var swig_r DocIdVector swig_r = (DocIdVector)(SwigcptrDocIdVector(C._wrap_new_DocIdVector__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewDocIdVector__SWIG_1(arg1 int64) (_swig_ret DocIdVector) { var swig_r DocIdVector _swig_i_0 := arg1 swig_r = (DocIdVector)(SwigcptrDocIdVector(C._wrap_new_DocIdVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_144(_swig_i_0)))) return swig_r } func NewDocIdVector__SWIG_2(arg1 DocIdVector) (_swig_ret DocIdVector) { var swig_r DocIdVector _swig_i_0 := arg1.Swigcptr() swig_r = (DocIdVector)(SwigcptrDocIdVector(C._wrap_new_DocIdVector__SWIG_2_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewDocIdVector(a ...interface{}) DocIdVector { argc := len(a) if argc == 0 { return NewDocIdVector__SWIG_0() } if argc == 1 { if _, ok := a[0].(int64); !ok { goto check_2 } return NewDocIdVector__SWIG_1(a[0].(int64)) } check_2: if argc == 1 { return NewDocIdVector__SWIG_2(a[0].(DocIdVector)) } panic("No match for overloaded function call") } func (arg1 SwigcptrDocIdVector) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_DocIdVector_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrDocIdVector) Capacity() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_DocIdVector_capacity_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrDocIdVector) Reserve(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_DocIdVector_reserve_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_147(_swig_i_1)) } func (arg1 SwigcptrDocIdVector) IsEmpty() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_DocIdVector_isEmpty_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrDocIdVector) Clear() { _swig_i_0 := arg1 C._wrap_DocIdVector_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrDocIdVector) Add(arg2 Lemur_api_DOCID_T) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_DocIdVector_add_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrDocIdVector) Get(arg2 int) (_swig_ret Lemur_api_DOCID_T) { var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_DocIdVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))) return swig_r } func (arg1 SwigcptrDocIdVector) Set(arg2 int, arg3 Lemur_api_DOCID_T) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_DocIdVector_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2)) } func DeleteDocIdVector(arg1 DocIdVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_DocIdVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type DocIdVector interface { Swigcptr() uintptr SwigIsDocIdVector() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 Lemur_api_DOCID_T) Get(arg2 int) (_swig_ret Lemur_api_DOCID_T) Set(arg2 int, arg3 Lemur_api_DOCID_T) } type SwigcptrWrapped_StringPair uintptr func (p SwigcptrWrapped_StringPair) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrWrapped_StringPair) SwigIsWrapped_StringPair() { } func NewStringPair__SWIG_0() (_swig_ret Wrapped_StringPair) { var swig_r Wrapped_StringPair swig_r = (Wrapped_StringPair)(SwigcptrWrapped_StringPair(C._wrap_new_StringPair__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewStringPair__SWIG_1(arg1 string, arg2 string) (_swig_ret Wrapped_StringPair) { var swig_r Wrapped_StringPair _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Wrapped_StringPair)(SwigcptrWrapped_StringPair(C._wrap_new_StringPair__SWIG_1_vank_go_073f147d1da00b5b(*(*C.swig_type_148)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_149)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func NewStringPair__SWIG_2(arg1 Wrapped_StringPair) (_swig_ret Wrapped_StringPair) { var swig_r Wrapped_StringPair _swig_i_0 := arg1.Swigcptr() swig_r = (Wrapped_StringPair)(SwigcptrWrapped_StringPair(C._wrap_new_StringPair__SWIG_2_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewStringPair(a ...interface{}) Wrapped_StringPair { argc := len(a) if argc == 0 { return NewStringPair__SWIG_0() } if argc == 1 { return NewStringPair__SWIG_2(a[0].(Wrapped_StringPair)) } if argc == 2 { return NewStringPair__SWIG_1(a[0].(string), a[1].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_StringPair) SetFirst(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_StringPair_first_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_150)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_StringPair) GetFirst() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_StringPair_first_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_StringPair) SetSecond(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_StringPair_second_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_152)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_StringPair) GetSecond() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_StringPair_second_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func DeleteWrapped_StringPair(arg1 Wrapped_StringPair) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Wrapped_StringPair_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type Wrapped_StringPair interface { Swigcptr() uintptr SwigIsWrapped_StringPair() SetFirst(arg2 string) GetFirst() (_swig_ret string) SetSecond(arg2 string) GetSecond() (_swig_ret string) } type SwigcptrStringPairVector uintptr func (p SwigcptrStringPairVector) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrStringPairVector) SwigIsStringPairVector() { } func NewStringPairVector__SWIG_0() (_swig_ret StringPairVector) { var swig_r StringPairVector swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_new_StringPairVector__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewStringPairVector__SWIG_1(arg1 int64) (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1 swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_new_StringPairVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_154(_swig_i_0)))) return swig_r } func NewStringPairVector__SWIG_2(arg1 StringPairVector) (_swig_ret StringPairVector) { var swig_r StringPairVector _swig_i_0 := arg1.Swigcptr() swig_r = (StringPairVector)(SwigcptrStringPairVector(C._wrap_new_StringPairVector__SWIG_2_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewStringPairVector(a ...interface{}) StringPairVector { argc := len(a) if argc == 0 { return NewStringPairVector__SWIG_0() } if argc == 1 { if _, ok := a[0].(int64); !ok { goto check_2 } return NewStringPairVector__SWIG_1(a[0].(int64)) } check_2: if argc == 1 { return NewStringPairVector__SWIG_2(a[0].(StringPairVector)) } panic("No match for overloaded function call") } func (arg1 SwigcptrStringPairVector) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_StringPairVector_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrStringPairVector) Capacity() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_StringPairVector_capacity_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrStringPairVector) Reserve(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_StringPairVector_reserve_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_157(_swig_i_1)) } func (arg1 SwigcptrStringPairVector) IsEmpty() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_StringPairVector_isEmpty_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrStringPairVector) Clear() { _swig_i_0 := arg1 C._wrap_StringPairVector_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrStringPairVector) Add(arg2 Wrapped_StringPair) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_StringPairVector_add_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrStringPairVector) Get(arg2 int) (_swig_ret Wrapped_StringPair) { var swig_r Wrapped_StringPair _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Wrapped_StringPair)(SwigcptrWrapped_StringPair(C._wrap_StringPairVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))) return swig_r } func (arg1 SwigcptrStringPairVector) Set(arg2 int, arg3 Wrapped_StringPair) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_StringPairVector_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2)) } func DeleteStringPairVector(arg1 StringPairVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_StringPairVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type StringPairVector interface { Swigcptr() uintptr SwigIsStringPairVector() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 Wrapped_StringPair) Get(arg2 int) (_swig_ret Wrapped_StringPair) Set(arg2 int, arg3 Wrapped_StringPair) } type SwigcptrDomainPtrVector uintptr func (p SwigcptrDomainPtrVector) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrDomainPtrVector) SwigIsDomainPtrVector() { } func NewDomainPtrVector__SWIG_0() (_swig_ret DomainPtrVector) { var swig_r DomainPtrVector swig_r = (DomainPtrVector)(SwigcptrDomainPtrVector(C._wrap_new_DomainPtrVector__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewDomainPtrVector__SWIG_1(arg1 int64) (_swig_ret DomainPtrVector) { var swig_r DomainPtrVector _swig_i_0 := arg1 swig_r = (DomainPtrVector)(SwigcptrDomainPtrVector(C._wrap_new_DomainPtrVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_158(_swig_i_0)))) return swig_r } func NewDomainPtrVector__SWIG_2(arg1 DomainPtrVector) (_swig_ret DomainPtrVector) { var swig_r DomainPtrVector _swig_i_0 := arg1.Swigcptr() swig_r = (DomainPtrVector)(SwigcptrDomainPtrVector(C._wrap_new_DomainPtrVector__SWIG_2_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewDomainPtrVector(a ...interface{}) DomainPtrVector { argc := len(a) if argc == 0 { return NewDomainPtrVector__SWIG_0() } if argc == 1 { if _, ok := a[0].(int64); !ok { goto check_2 } return NewDomainPtrVector__SWIG_1(a[0].(int64)) } check_2: if argc == 1 { return NewDomainPtrVector__SWIG_2(a[0].(DomainPtrVector)) } panic("No match for overloaded function call") } func (arg1 SwigcptrDomainPtrVector) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_DomainPtrVector_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrDomainPtrVector) Capacity() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_DomainPtrVector_capacity_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrDomainPtrVector) Reserve(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_DomainPtrVector_reserve_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_161(_swig_i_1)) } func (arg1 SwigcptrDomainPtrVector) IsEmpty() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_DomainPtrVector_isEmpty_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrDomainPtrVector) Clear() { _swig_i_0 := arg1 C._wrap_DomainPtrVector_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrDomainPtrVector) Add(arg2 Wrapped_Domain) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_DomainPtrVector_add_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrDomainPtrVector) Get(arg2 int) (_swig_ret Wrapped_Domain) { var swig_r Wrapped_Domain _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Wrapped_Domain)(SwigcptrWrapped_Domain(C._wrap_DomainPtrVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))) return swig_r } func (arg1 SwigcptrDomainPtrVector) Set(arg2 int, arg3 Wrapped_Domain) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_DomainPtrVector_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2)) } func DeleteDomainPtrVector(arg1 DomainPtrVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_DomainPtrVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type DomainPtrVector interface { Swigcptr() uintptr SwigIsDomainPtrVector() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 Wrapped_Domain) Get(arg2 int) (_swig_ret Wrapped_Domain) Set(arg2 int, arg3 Wrapped_Domain) } type SwigcptrIntVector uintptr func (p SwigcptrIntVector) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrIntVector) SwigIsIntVector() { } func NewIntVector__SWIG_0() (_swig_ret IntVector) { var swig_r IntVector swig_r = (IntVector)(SwigcptrIntVector(C._wrap_new_IntVector__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewIntVector__SWIG_1(arg1 int64) (_swig_ret IntVector) { var swig_r IntVector _swig_i_0 := arg1 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_new_IntVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_162(_swig_i_0)))) return swig_r } func NewIntVector__SWIG_2(arg1 IntVector) (_swig_ret IntVector) { var swig_r IntVector _swig_i_0 := arg1.Swigcptr() swig_r = (IntVector)(SwigcptrIntVector(C._wrap_new_IntVector__SWIG_2_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewIntVector(a ...interface{}) IntVector { argc := len(a) if argc == 0 { return NewIntVector__SWIG_0() } if argc == 1 { if _, ok := a[0].(int64); !ok { goto check_2 } return NewIntVector__SWIG_1(a[0].(int64)) } check_2: if argc == 1 { return NewIntVector__SWIG_2(a[0].(IntVector)) } panic("No match for overloaded function call") } func (arg1 SwigcptrIntVector) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_IntVector_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrIntVector) Capacity() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_IntVector_capacity_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrIntVector) Reserve(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_IntVector_reserve_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_165(_swig_i_1)) } func (arg1 SwigcptrIntVector) IsEmpty() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_IntVector_isEmpty_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrIntVector) Clear() { _swig_i_0 := arg1 C._wrap_IntVector_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrIntVector) Add(arg2 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_IntVector_add_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)) } func (arg1 SwigcptrIntVector) Get(arg2 int) (_swig_ret int) { var swig_r int _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int)(C._wrap_IntVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))) return swig_r } func (arg1 SwigcptrIntVector) Set(arg2 int, arg3 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_IntVector_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.swig_intgo(_swig_i_2)) } func DeleteIntVector(arg1 IntVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_IntVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type IntVector interface { Swigcptr() uintptr SwigIsIntVector() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 int) Get(arg2 int) (_swig_ret int) Set(arg2 int, arg3 int) } type SwigcptrStringVector uintptr func (p SwigcptrStringVector) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrStringVector) SwigIsStringVector() { } func NewStringVector__SWIG_0() (_swig_ret StringVector) { var swig_r StringVector swig_r = (StringVector)(SwigcptrStringVector(C._wrap_new_StringVector__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewStringVector__SWIG_1(arg1 int64) (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_new_StringVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_166(_swig_i_0)))) return swig_r } func NewStringVector__SWIG_2(arg1 StringVector) (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1.Swigcptr() swig_r = (StringVector)(SwigcptrStringVector(C._wrap_new_StringVector__SWIG_2_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewStringVector(a ...interface{}) StringVector { argc := len(a) if argc == 0 { return NewStringVector__SWIG_0() } if argc == 1 { if _, ok := a[0].(int64); !ok { goto check_2 } return NewStringVector__SWIG_1(a[0].(int64)) } check_2: if argc == 1 { return NewStringVector__SWIG_2(a[0].(StringVector)) } panic("No match for overloaded function call") } func (arg1 SwigcptrStringVector) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_StringVector_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrStringVector) Capacity() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_StringVector_capacity_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrStringVector) Reserve(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_StringVector_reserve_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_169(_swig_i_1)) } func (arg1 SwigcptrStringVector) IsEmpty() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_StringVector_isEmpty_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrStringVector) Clear() { _swig_i_0 := arg1 C._wrap_StringVector_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrStringVector) Add(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_StringVector_add_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_170)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrStringVector) Get(arg2 int) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_StringVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrStringVector) Set(arg2 int, arg3 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_StringVector_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), *(*C.swig_type_172)(unsafe.Pointer(&_swig_i_2))) if Swig_escape_always_false { Swig_escape_val = arg3 } } func DeleteStringVector(arg1 StringVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_StringVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type StringVector interface { Swigcptr() uintptr SwigIsStringVector() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 string) Get(arg2 int) (_swig_ret string) Set(arg2 int, arg3 string) } func Wrapped_deleteFileClassSpec(arg1 Vank_parse_FileClassEnvironmentFactory_Specification) { _swig_i_0 := arg1.Swigcptr() C._wrap_Wrapped_deleteFileClassSpec_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type SwigcptrSpecification uintptr func (p SwigcptrSpecification) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrSpecification) SwigIsSpecification() { } func (arg1 SwigcptrSpecification) SetName(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_name_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_173)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetName() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_name_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetParser(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_parser_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_175)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetParser() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_parser_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetTokenizer(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_tokenizer_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_177)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetTokenizer() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_tokenizer_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetIterator(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_iterator_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_179)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetIterator() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_iterator_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetStartDocTag(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_startDocTag_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_181)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetStartDocTag() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_startDocTag_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetEndDocTag(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_endDocTag_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_183)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetEndDocTag() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_endDocTag_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetEndMetadataTag(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Specification_endMetadataTag_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_185)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrSpecification) GetEndMetadataTag() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Specification_endMetadataTag_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrSpecification) SetInclude(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Specification_include_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSpecification) GetInclude() (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_Specification_include_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSpecification) SetExclude(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Specification_exclude_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSpecification) GetExclude() (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_Specification_exclude_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSpecification) SetIndex(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Specification_index_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSpecification) GetIndex() (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_Specification_index_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSpecification) SetMetadata(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Specification_metadata_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSpecification) GetMetadata() (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_Specification_metadata_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrSpecification) SetConflations(arg2 Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Specification_conflations_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrSpecification) GetConflations() (_swig_ret Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_) { var swig_r Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_ _swig_i_0 := arg1 swig_r = (Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_)(SwigcptrStd_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_(C._wrap_Specification_conflations_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewSpecification() (_swig_ret Specification) { var swig_r Specification swig_r = (Specification)(SwigcptrSpecification(C._wrap_new_Specification_vank_go_073f147d1da00b5b())) return swig_r } func DeleteSpecification(arg1 Specification) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Specification_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type Specification interface { Swigcptr() uintptr SwigIsSpecification() SetName(arg2 string) GetName() (_swig_ret string) SetParser(arg2 string) GetParser() (_swig_ret string) SetTokenizer(arg2 string) GetTokenizer() (_swig_ret string) SetIterator(arg2 string) GetIterator() (_swig_ret string) SetStartDocTag(arg2 string) GetStartDocTag() (_swig_ret string) SetEndDocTag(arg2 string) GetEndDocTag() (_swig_ret string) SetEndMetadataTag(arg2 string) GetEndMetadataTag() (_swig_ret string) SetInclude(arg2 StringVector) GetInclude() (_swig_ret StringVector) SetExclude(arg2 StringVector) GetExclude() (_swig_ret StringVector) SetIndex(arg2 StringVector) GetIndex() (_swig_ret StringVector) SetMetadata(arg2 StringVector) GetMetadata() (_swig_ret StringVector) SetConflations(arg2 Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_) GetConflations() (_swig_ret Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_) } type SwigcptrWrapped_Parameters uintptr func (p SwigcptrWrapped_Parameters) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrWrapped_Parameters) SwigIsWrapped_Parameters() { } func NewWrapped_Parameters() (_swig_ret Wrapped_Parameters) { var swig_r Wrapped_Parameters swig_r = (Wrapped_Parameters)(SwigcptrWrapped_Parameters(C._wrap_new_Wrapped_Parameters_vank_go_073f147d1da00b5b())) return swig_r } func DeleteWrapped_Parameters(arg1 Wrapped_Parameters) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Wrapped_Parameters_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_Parameters) Set(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_Parameters_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_187)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_Parameters) Get_bool(arg2 string, arg3 bool) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (bool)(C._wrap_Wrapped_Parameters_get_bool_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_188)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_Parameters) Get_int(arg2 string, arg3 int) (_swig_ret int) { var swig_r int _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (int)(C._wrap_Wrapped_Parameters_get_int_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_189)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_Parameters) Get_double(arg2 string, arg3 float64) (_swig_ret float64) { var swig_r float64 _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (float64)(C._wrap_Wrapped_Parameters_get_double_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_190)(unsafe.Pointer(&_swig_i_1)), C.double(_swig_i_2))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_Parameters) Get_INT64(arg2 string, arg3 int64) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (int64)(C._wrap_Wrapped_Parameters_get_INT64_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_192)(unsafe.Pointer(&_swig_i_1)), C.swig_type_193(_swig_i_2))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_Parameters) Get_string(arg2 string, arg3 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r_p := C._wrap_Wrapped_Parameters_get_string_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_195)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_196)(unsafe.Pointer(&_swig_i_2))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_Parameters) Remove(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_Parameters_remove_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_197)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_Parameters) Set_bool(arg2 string, arg3 bool) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_Parameters_set_bool_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_198)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_Parameters) Set_string(arg2 string, arg3 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_Parameters_set_string_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_199)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_200)(unsafe.Pointer(&_swig_i_2))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } } func (arg1 SwigcptrWrapped_Parameters) Set_int(arg2 string, arg3 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_Parameters_set_int_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_201)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_Parameters) Set_UINT64(arg2 string, arg3 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_Parameters_set_UINT64_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_202)(unsafe.Pointer(&_swig_i_1)), C.swig_type_203(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_Parameters) Set_double(arg2 string, arg3 float64) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_Parameters_set_double_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_204)(unsafe.Pointer(&_swig_i_1)), C.double(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_Parameters) Clear() { _swig_i_0 := arg1 C._wrap_Wrapped_Parameters_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_Parameters) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_Wrapped_Parameters_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_Parameters) Exists(arg2 string) (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (bool)(C._wrap_Wrapped_Parameters_exists_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_206)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_Parameters) Load(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_Parameters_load_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_207)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } type Wrapped_Parameters interface { Swigcptr() uintptr SwigIsWrapped_Parameters() Set(arg2 string) Get_bool(arg2 string, arg3 bool) (_swig_ret bool) Get_int(arg2 string, arg3 int) (_swig_ret int) Get_double(arg2 string, arg3 float64) (_swig_ret float64) Get_INT64(arg2 string, arg3 int64) (_swig_ret int64) Get_string(arg2 string, arg3 string) (_swig_ret string) Remove(arg2 string) Set_bool(arg2 string, arg3 bool) Set_string(arg2 string, arg3 string) Set_int(arg2 string, arg3 int) Set_UINT64(arg2 string, arg3 int64) Set_double(arg2 string, arg3 float64) Clear() Size() (_swig_ret int64) Exists(arg2 string) (_swig_ret bool) Load(arg2 string) } type SwigcptrTermExtent uintptr func (p SwigcptrTermExtent) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrTermExtent) SwigIsTermExtent() { } func (arg1 SwigcptrTermExtent) SetBegin(arg2 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_TermExtent_begin_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)) } func (arg1 SwigcptrTermExtent) GetBegin() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_TermExtent_begin_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrTermExtent) SetEnd(arg2 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_TermExtent_end_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)) } func (arg1 SwigcptrTermExtent) GetEnd() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_TermExtent_end_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func DeleteTermExtent(arg1 TermExtent) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_TermExtent_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func NewTermExtent() (_swig_ret TermExtent) { var swig_r TermExtent swig_r = (TermExtent)(SwigcptrTermExtent(C._wrap_new_TermExtent_vank_go_073f147d1da00b5b())) return swig_r } type TermExtent interface { Swigcptr() uintptr SwigIsTermExtent() SetBegin(arg2 int) GetBegin() (_swig_ret int) SetEnd(arg2 int) GetEnd() (_swig_ret int) } type SwigcptrScoredExtentResult uintptr func (p SwigcptrScoredExtentResult) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrScoredExtentResult) SwigIsScoredExtentResult() { } func DeleteScoredExtentResult(arg1 ScoredExtentResult) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_ScoredExtentResult_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func NewScoredExtentResult() (_swig_ret ScoredExtentResult) { var swig_r ScoredExtentResult swig_r = (ScoredExtentResult)(SwigcptrScoredExtentResult(C._wrap_new_ScoredExtentResult_vank_go_073f147d1da00b5b())) return swig_r } type ScoredExtentResult interface { Swigcptr() uintptr SwigIsScoredExtentResult() } type SwigcptrParsedDocument uintptr func (p SwigcptrParsedDocument) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrParsedDocument) SwigIsParsedDocument() { } func DeleteParsedDocument(arg1 ParsedDocument) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_ParsedDocument_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrParsedDocument) GetContent() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_ParsedDocument_getContent_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func NewParsedDocument() (_swig_ret ParsedDocument) { var swig_r ParsedDocument swig_r = (ParsedDocument)(SwigcptrParsedDocument(C._wrap_new_ParsedDocument_vank_go_073f147d1da00b5b())) return swig_r } type ParsedDocument interface { Swigcptr() uintptr SwigIsParsedDocument() GetContent() (_swig_ret string) } type SwigcptrQueryAnnotationNode uintptr func (p SwigcptrQueryAnnotationNode) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrQueryAnnotationNode) SwigIsQueryAnnotationNode() { } func (arg1 SwigcptrQueryAnnotationNode) SetName(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryAnnotationNode_name_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_209)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryAnnotationNode) GetName() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_QueryAnnotationNode_name_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrQueryAnnotationNode) SetXtype(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryAnnotationNode_Xtype_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_211)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryAnnotationNode) GetXtype() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_QueryAnnotationNode_Xtype_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrQueryAnnotationNode) SetQueryText(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryAnnotationNode_queryText_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_213)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryAnnotationNode) GetQueryText() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_QueryAnnotationNode_queryText_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrQueryAnnotationNode) SetChildren(arg2 Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_QueryAnnotationNode_children_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrQueryAnnotationNode) GetChildren() (_swig_ret Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_) { var swig_r Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_)(SwigcptrStd_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_(C._wrap_QueryAnnotationNode_children_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewQueryAnnotationNode() (_swig_ret QueryAnnotationNode) { var swig_r QueryAnnotationNode swig_r = (QueryAnnotationNode)(SwigcptrQueryAnnotationNode(C._wrap_new_QueryAnnotationNode_vank_go_073f147d1da00b5b())) return swig_r } func DeleteQueryAnnotationNode(arg1 QueryAnnotationNode) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_QueryAnnotationNode_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type QueryAnnotationNode interface { Swigcptr() uintptr SwigIsQueryAnnotationNode() SetName(arg2 string) GetName() (_swig_ret string) SetXtype(arg2 string) GetXtype() (_swig_ret string) SetQueryText(arg2 string) GetQueryText() (_swig_ret string) SetChildren(arg2 Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_) GetChildren() (_swig_ret Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_) } type SwigcptrQueryAnnotation uintptr func (p SwigcptrQueryAnnotation) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrQueryAnnotation) SwigIsQueryAnnotation() { } func (arg1 SwigcptrQueryAnnotation) GetQueryTree() (_swig_ret QueryAnnotationNode) { var swig_r QueryAnnotationNode _swig_i_0 := arg1 swig_r = (QueryAnnotationNode)(SwigcptrQueryAnnotationNode(C._wrap_QueryAnnotation_getQueryTree_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrQueryAnnotation) GetAnnotations() (_swig_ret Std_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_) { var swig_r Std_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_ _swig_i_0 := arg1 swig_r = (Std_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_)(SwigcptrStd_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_(C._wrap_QueryAnnotation_getAnnotations_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrQueryAnnotation) GetResults() (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryAnnotation_getResults_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func NewQueryAnnotation() (_swig_ret QueryAnnotation) { var swig_r QueryAnnotation swig_r = (QueryAnnotation)(SwigcptrQueryAnnotation(C._wrap_new_QueryAnnotation_vank_go_073f147d1da00b5b())) return swig_r } func DeleteQueryAnnotation(arg1 QueryAnnotation) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_QueryAnnotation_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type QueryAnnotation interface { Swigcptr() uintptr SwigIsQueryAnnotation() GetQueryTree() (_swig_ret QueryAnnotationNode) GetAnnotations() (_swig_ret Std_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_) GetResults() (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) } type SwigcptrQueryEnvironment uintptr func (p SwigcptrQueryEnvironment) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrQueryEnvironment) SwigIsQueryEnvironment() { } func NewQueryEnvironment() (_swig_ret QueryEnvironment) { var swig_r QueryEnvironment swig_r = (QueryEnvironment)(SwigcptrQueryEnvironment(C._wrap_new_QueryEnvironment_vank_go_073f147d1da00b5b())) return swig_r } func (arg1 SwigcptrQueryEnvironment) AddServer(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryEnvironment_addServer_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_215)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryEnvironment) AddIndex(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryEnvironment_addIndex_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_216)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryEnvironment) RemoveServer(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryEnvironment_removeServer_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_217)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryEnvironment) RemoveIndex(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryEnvironment_removeIndex_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_218)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrQueryEnvironment) Close() { _swig_i_0 := arg1 C._wrap_QueryEnvironment_close_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrQueryEnvironment) SetMemory(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_QueryEnvironment_setMemory_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_219(_swig_i_1)) } func (arg1 SwigcptrQueryEnvironment) SetScoringRules(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_QueryEnvironment_setScoringRules_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrQueryEnvironment) SetStopwords(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_QueryEnvironment_setStopwords_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrQueryEnvironment) RunQuery__SWIG_0(arg2 string, arg3 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryEnvironment_runQuery__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_220)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) RunQuery__SWIG_1(arg2 string, arg3 IntVector, arg4 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryEnvironment_runQuery__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_221)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) RunQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ { argc := len(a) if argc == 2 { return p.RunQuery__SWIG_0(a[0].(string), a[1].(int)) } if argc == 3 { return p.RunQuery__SWIG_1(a[0].(string), a[1].(IntVector), a[2].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) RunAnnotatedQuery__SWIG_0(arg2 string, arg3 int) (_swig_ret QueryAnnotation) { var swig_r QueryAnnotation _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (QueryAnnotation)(SwigcptrQueryAnnotation(C._wrap_QueryEnvironment_runAnnotatedQuery__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_222)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) RunAnnotatedQuery__SWIG_1(arg2 string, arg3 IntVector, arg4 int) (_swig_ret QueryAnnotation) { var swig_r QueryAnnotation _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4 swig_r = (QueryAnnotation)(SwigcptrQueryAnnotation(C._wrap_QueryEnvironment_runAnnotatedQuery__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_223)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) RunAnnotatedQuery(a ...interface{}) QueryAnnotation { argc := len(a) if argc == 2 { return p.RunAnnotatedQuery__SWIG_0(a[0].(string), a[1].(int)) } if argc == 3 { return p.RunAnnotatedQuery__SWIG_1(a[0].(string), a[1].(IntVector), a[2].(int)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) RunQuerydocset(arg2 string, arg3 DocIdVector, arg4 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryEnvironment_runQuerydocset_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_224)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) RunAnnotatedQuerydocset(arg2 string, arg3 DocIdVector, arg4 int) (_swig_ret QueryAnnotation) { var swig_r QueryAnnotation _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() _swig_i_3 := arg4 swig_r = (QueryAnnotation)(SwigcptrQueryAnnotation(C._wrap_QueryEnvironment_runAnnotatedQuerydocset_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_225)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) Documents__SWIG_0(arg2 IntVector) (_swig_ret Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) { var swig_r Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_)(SwigcptrStd_vector_Sl_vank_api_ParsedDocument_Sm__Sg_(C._wrap_QueryEnvironment_documents__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrQueryEnvironment) Documents__SWIG_1(arg2 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) { var swig_r Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_)(SwigcptrStd_vector_Sl_vank_api_ParsedDocument_Sm__Sg_(C._wrap_QueryEnvironment_documents__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (p SwigcptrQueryEnvironment) Documents(a ...interface{}) Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ { argc := len(a) if argc == 1 { if _, ok := a[0].(SwigcptrIntVector); !ok { goto check_1 } return p.Documents__SWIG_0(a[0].(IntVector)) } check_1: if argc == 1 { return p.Documents__SWIG_1(a[0].(Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) DocumentMetadata__SWIG_0(arg2 IntVector, arg3 string) (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_QueryEnvironment_documentMetadata__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), *(*C.swig_type_226)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentMetadata__SWIG_1(arg2 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_, arg3 string) (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_QueryEnvironment_documentMetadata__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), *(*C.swig_type_227)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (p SwigcptrQueryEnvironment) DocumentMetadata(a ...interface{}) StringVector { argc := len(a) if argc == 2 { if _, ok := a[0].(SwigcptrIntVector); !ok { goto check_1 } return p.DocumentMetadata__SWIG_0(a[0].(IntVector), a[1].(string)) } check_1: if argc == 2 { return p.DocumentMetadata__SWIG_1(a[0].(Std_vector_Sl_vank_api_ScoredExtentResult_Sg_), a[1].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) DocumentIDsFromMetadata(arg2 string, arg3 StringVector) (_swig_ret IntVector) { var swig_r IntVector _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() swig_r = (IntVector)(SwigcptrIntVector(C._wrap_QueryEnvironment_documentIDsFromMetadata_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_228)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentsFromMetadata(arg2 string, arg3 StringVector) (_swig_ret Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) { var swig_r Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() swig_r = (Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_)(SwigcptrStd_vector_Sl_vank_api_ParsedDocument_Sm__Sg_(C._wrap_QueryEnvironment_documentsFromMetadata_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_229)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) TermCount__SWIG_0() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_QueryEnvironment_termCount__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrQueryEnvironment) TermCount__SWIG_1(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_QueryEnvironment_termCount__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_232)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) TermCount(a ...interface{}) int64 { argc := len(a) if argc == 0 { return p.TermCount__SWIG_0() } if argc == 1 { return p.TermCount__SWIG_1(a[0].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) TermFieldCount(arg2 string, arg3 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (int64)(C._wrap_QueryEnvironment_termFieldCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_234)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_235)(unsafe.Pointer(&_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) FieldList() (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_QueryEnvironment_fieldList_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentCount__SWIG_0() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_QueryEnvironment_documentCount__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentCount__SWIG_1(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_QueryEnvironment_documentCount__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_238)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) DocumentCount(a ...interface{}) int64 { argc := len(a) if argc == 0 { return p.DocumentCount__SWIG_0() } if argc == 1 { return p.DocumentCount__SWIG_1(a[0].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) DocumentVectors(arg2 IntVector) (_swig_ret Std_vector_Sl_vank_api_DocumentVector_Sm__Sg_) { var swig_r Std_vector_Sl_vank_api_DocumentVector_Sm__Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Std_vector_Sl_vank_api_DocumentVector_Sm__Sg_)(SwigcptrStd_vector_Sl_vank_api_DocumentVector_Sm__Sg_(C._wrap_QueryEnvironment_documentVectors_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrQueryEnvironment) ExpressionCount__SWIG_0(arg2 string, arg3 string) (_swig_ret float64) { var swig_r float64 _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (float64)(C._wrap_QueryEnvironment_expressionCount__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_239)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_240)(unsafe.Pointer(&_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) ExpressionCount__SWIG_1(arg2 string) (_swig_ret float64) { var swig_r float64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (float64)(C._wrap_QueryEnvironment_expressionCount__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_241)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) ExpressionCount(a ...interface{}) float64 { argc := len(a) if argc == 1 { return p.ExpressionCount__SWIG_1(a[0].(string)) } if argc == 2 { return p.ExpressionCount__SWIG_0(a[0].(string), a[1].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) DocumentExpressionCount__SWIG_0(arg2 string, arg3 string) (_swig_ret float64) { var swig_r float64 _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (float64)(C._wrap_QueryEnvironment_documentExpressionCount__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_242)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_243)(unsafe.Pointer(&_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentExpressionCount__SWIG_1(arg2 string) (_swig_ret float64) { var swig_r float64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (float64)(C._wrap_QueryEnvironment_documentExpressionCount__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_244)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) DocumentExpressionCount(a ...interface{}) float64 { argc := len(a) if argc == 1 { return p.DocumentExpressionCount__SWIG_1(a[0].(string)) } if argc == 2 { return p.DocumentExpressionCount__SWIG_0(a[0].(string), a[1].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) ExpressionList__SWIG_0(arg2 string, arg3 string) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryEnvironment_expressionList__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_245)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_246)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) ExpressionList__SWIG_1(arg2 string) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryEnvironment_expressionList__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_247)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryEnvironment) ExpressionList(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ { argc := len(a) if argc == 1 { return p.ExpressionList__SWIG_1(a[0].(string)) } if argc == 2 { return p.ExpressionList__SWIG_0(a[0].(string), a[1].(string)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryEnvironment) DocumentLength(arg2 int) (_swig_ret int) { var swig_r int _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int)(C._wrap_QueryEnvironment_documentLength_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))) return swig_r } func (arg1 SwigcptrQueryEnvironment) SetFormulationParameters(arg2 Wrapped_Parameters) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_QueryEnvironment_setFormulationParameters_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrQueryEnvironment) ReformulateQuery(arg2 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_QueryEnvironment_reformulateQuery_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_249)(unsafe.Pointer(&_swig_i_1))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrQueryEnvironment) StemTerm(arg2 string) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r_p := C._wrap_QueryEnvironment_stemTerm_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_251)(unsafe.Pointer(&_swig_i_1))) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrQueryEnvironment) TermCountUnique() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_QueryEnvironment_termCountUnique_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrQueryEnvironment) StemCount(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_QueryEnvironment_stemCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_254)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) StemFieldCount(arg2 string, arg3 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (int64)(C._wrap_QueryEnvironment_stemFieldCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_256)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_257)(unsafe.Pointer(&_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentStemCount(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_QueryEnvironment_documentStemCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_259)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) Documentsdocids(arg2 DocIdVector) (_swig_ret Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) { var swig_r Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_)(SwigcptrStd_vector_Sl_vank_api_ParsedDocument_Sm__Sg_(C._wrap_QueryEnvironment_documentsdocids_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrQueryEnvironment) DocumentMetadatadocids(arg2 DocIdVector, arg3 string) (_swig_ret StringVector) { var swig_r StringVector _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_QueryEnvironment_documentMetadatadocids_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), *(*C.swig_type_260)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrQueryEnvironment) OnetermCount(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_QueryEnvironment_onetermCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_262)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryEnvironment) OnedocumentCount(arg2 string) (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (int64)(C._wrap_QueryEnvironment_onedocumentCount_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_264)(unsafe.Pointer(&_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func DeleteQueryEnvironment(arg1 QueryEnvironment) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_QueryEnvironment_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type QueryEnvironment interface { Swigcptr() uintptr SwigIsQueryEnvironment() AddServer(arg2 string) AddIndex(arg2 string) RemoveServer(arg2 string) RemoveIndex(arg2 string) Close() SetMemory(arg2 int64) SetScoringRules(arg2 StringVector) SetStopwords(arg2 StringVector) RunQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ RunAnnotatedQuery(a ...interface{}) QueryAnnotation RunQuerydocset(arg2 string, arg3 DocIdVector, arg4 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) RunAnnotatedQuerydocset(arg2 string, arg3 DocIdVector, arg4 int) (_swig_ret QueryAnnotation) Documents(a ...interface{}) Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ DocumentMetadata(a ...interface{}) StringVector DocumentIDsFromMetadata(arg2 string, arg3 StringVector) (_swig_ret IntVector) DocumentsFromMetadata(arg2 string, arg3 StringVector) (_swig_ret Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) TermCount(a ...interface{}) int64 TermFieldCount(arg2 string, arg3 string) (_swig_ret int64) FieldList() (_swig_ret StringVector) DocumentCount(a ...interface{}) int64 DocumentVectors(arg2 IntVector) (_swig_ret Std_vector_Sl_vank_api_DocumentVector_Sm__Sg_) ExpressionCount(a ...interface{}) float64 DocumentExpressionCount(a ...interface{}) float64 ExpressionList(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ DocumentLength(arg2 int) (_swig_ret int) SetFormulationParameters(arg2 Wrapped_Parameters) ReformulateQuery(arg2 string) (_swig_ret string) StemTerm(arg2 string) (_swig_ret string) TermCountUnique() (_swig_ret int64) StemCount(arg2 string) (_swig_ret int64) StemFieldCount(arg2 string, arg3 string) (_swig_ret int64) DocumentStemCount(arg2 string) (_swig_ret int64) Documentsdocids(arg2 DocIdVector) (_swig_ret Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) DocumentMetadatadocids(arg2 DocIdVector, arg3 string) (_swig_ret StringVector) OnetermCount(arg2 string) (_swig_ret int64) OnedocumentCount(arg2 string) (_swig_ret int64) } type SwigcptrQueryExpander uintptr func (p SwigcptrQueryExpander) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrQueryExpander) SwigIsQueryExpander() { } func DeleteQueryExpander(arg1 QueryExpander) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_QueryExpander_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrQueryExpander) RunExpandedQuery__SWIG_0(arg2 string, arg3 int, arg4 bool) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryExpander_runExpandedQuery__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_265)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2), C._Bool(_swig_i_3)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrQueryExpander) RunExpandedQuery__SWIG_1(arg2 string, arg3 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_QueryExpander_runExpandedQuery__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_266)(unsafe.Pointer(&_swig_i_1)), C.swig_intgo(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (p SwigcptrQueryExpander) RunExpandedQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ { argc := len(a) if argc == 2 { return p.RunExpandedQuery__SWIG_1(a[0].(string), a[1].(int)) } if argc == 3 { return p.RunExpandedQuery__SWIG_0(a[0].(string), a[1].(int), a[2].(bool)) } panic("No match for overloaded function call") } func (arg1 SwigcptrQueryExpander) Expand(arg2 string, arg3 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() swig_r_p := C._wrap_QueryExpander_expand_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_268)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } type QueryExpander interface { Swigcptr() uintptr SwigIsQueryExpander() RunExpandedQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ Expand(arg2 string, arg3 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret string) } type SwigcptrRMExpander uintptr func (p SwigcptrRMExpander) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrRMExpander) SwigIsRMExpander() { } func NewRMExpander(arg1 QueryEnvironment, arg2 Wrapped_Parameters) (_swig_ret RMExpander) { var swig_r RMExpander _swig_i_0 := arg1.Swigcptr() _swig_i_1 := arg2.Swigcptr() swig_r = (RMExpander)(SwigcptrRMExpander(C._wrap_new_RMExpander_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrRMExpander) Expand(arg2 string, arg3 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() swig_r_p := C._wrap_RMExpander_expand_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_270)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func DeleteRMExpander(arg1 RMExpander) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_RMExpander_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (_swig_base SwigcptrRMExpander) RunExpandedQuery__SWIG_0(arg1 string, arg2 int, arg3 bool) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_RMExpander_runExpandedQuery__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_base), *(*C.swig_type_271)(unsafe.Pointer(&_swig_i_0)), C.swig_intgo(_swig_i_1), C._Bool(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg1 } return swig_r } func (_swig_base SwigcptrRMExpander) RunExpandedQuery__SWIG_1(arg1 string, arg2 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_RMExpander_runExpandedQuery__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_base), *(*C.swig_type_272)(unsafe.Pointer(&_swig_i_0)), C.swig_intgo(_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg1 } return swig_r } func (p SwigcptrRMExpander) RunExpandedQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ { argc := len(a) if argc == 2 { return p.RunExpandedQuery__SWIG_1(a[0].(string), a[1].(int)) } if argc == 3 { return p.RunExpandedQuery__SWIG_0(a[0].(string), a[1].(int), a[2].(bool)) } panic("No match for overloaded function call") } func (p SwigcptrRMExpander) SwigIsQueryExpander() { } func (p SwigcptrRMExpander) SwigGetQueryExpander() QueryExpander { return SwigcptrQueryExpander(p.Swigcptr()) } type RMExpander interface { Swigcptr() uintptr SwigIsRMExpander() Expand(arg2 string, arg3 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret string) RunExpandedQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ SwigIsQueryExpander() SwigGetQueryExpander() QueryExpander } type SwigcptrPonteExpander uintptr func (p SwigcptrPonteExpander) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrPonteExpander) SwigIsPonteExpander() { } func NewPonteExpander(arg1 QueryEnvironment, arg2 Wrapped_Parameters) (_swig_ret PonteExpander) { var swig_r PonteExpander _swig_i_0 := arg1.Swigcptr() _swig_i_1 := arg2.Swigcptr() swig_r = (PonteExpander)(SwigcptrPonteExpander(C._wrap_new_PonteExpander_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r } func (arg1 SwigcptrPonteExpander) Expand(arg2 string, arg3 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret string) { var swig_r string _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() swig_r_p := C._wrap_PonteExpander_expand_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_274)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) if Swig_escape_always_false { Swig_escape_val = arg2 } var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func DeletePonteExpander(arg1 PonteExpander) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_PonteExpander_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (_swig_base SwigcptrPonteExpander) RunExpandedQuery__SWIG_0(arg1 string, arg2 int, arg3 bool) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_PonteExpander_runExpandedQuery__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_base), *(*C.swig_type_271)(unsafe.Pointer(&_swig_i_0)), C.swig_intgo(_swig_i_1), C._Bool(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg1 } return swig_r } func (_swig_base SwigcptrPonteExpander) RunExpandedQuery__SWIG_1(arg1 string, arg2 int) (_swig_ret Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) { var swig_r Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Std_vector_Sl_vank_api_ScoredExtentResult_Sg_)(SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_(C._wrap_PonteExpander_runExpandedQuery__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_base), *(*C.swig_type_272)(unsafe.Pointer(&_swig_i_0)), C.swig_intgo(_swig_i_1)))) if Swig_escape_always_false { Swig_escape_val = arg1 } return swig_r } func (p SwigcptrPonteExpander) RunExpandedQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ { argc := len(a) if argc == 2 { return p.RunExpandedQuery__SWIG_1(a[0].(string), a[1].(int)) } if argc == 3 { return p.RunExpandedQuery__SWIG_0(a[0].(string), a[1].(int), a[2].(bool)) } panic("No match for overloaded function call") } func (p SwigcptrPonteExpander) SwigIsQueryExpander() { } func (p SwigcptrPonteExpander) SwigGetQueryExpander() QueryExpander { return SwigcptrQueryExpander(p.Swigcptr()) } type PonteExpander interface { Swigcptr() uintptr SwigIsPonteExpander() Expand(arg2 string, arg3 Std_vector_Sl_vank_api_ScoredExtentResult_Sg_) (_swig_ret string) RunExpandedQuery(a ...interface{}) Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ SwigIsQueryExpander() SwigGetQueryExpander() QueryExpander } type SwigcptrWrapped_MetadataPair uintptr func (p SwigcptrWrapped_MetadataPair) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrWrapped_MetadataPair) SwigIsWrapped_MetadataPair() { } func (arg1 SwigcptrWrapped_MetadataPair) SetKey(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_MetadataPair_key_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_275)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_MetadataPair) GetKey() (_swig_ret string) { var swig_r string _swig_i_0 := arg1 swig_r_p := C._wrap_Wrapped_MetadataPair_key_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) swig_r = *(*string)(unsafe.Pointer(&swig_r_p)) var swig_r_1 string swig_r_1 = swigCopyString(swig_r) return swig_r_1 } func (arg1 SwigcptrWrapped_MetadataPair) SetValue(arg2 uintptr) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_MetadataPair_value_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrWrapped_MetadataPair) GetValue() (_swig_ret uintptr) { var swig_r uintptr _swig_i_0 := arg1 swig_r = (uintptr)(C._wrap_Wrapped_MetadataPair_value_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_MetadataPair) SetValueLength(arg2 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_MetadataPair_valueLength_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)) } func (arg1 SwigcptrWrapped_MetadataPair) GetValueLength() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_Wrapped_MetadataPair_valueLength_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_MetadataPair) StripValue() { _swig_i_0 := arg1 C._wrap_Wrapped_MetadataPair_stripValue_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func NewWrapped_MetadataPair() (_swig_ret Wrapped_MetadataPair) { var swig_r Wrapped_MetadataPair swig_r = (Wrapped_MetadataPair)(SwigcptrWrapped_MetadataPair(C._wrap_new_Wrapped_MetadataPair_vank_go_073f147d1da00b5b())) return swig_r } func DeleteWrapped_MetadataPair(arg1 Wrapped_MetadataPair) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Wrapped_MetadataPair_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type Wrapped_MetadataPair interface { Swigcptr() uintptr SwigIsWrapped_MetadataPair() SetKey(arg2 string) GetKey() (_swig_ret string) SetValue(arg2 uintptr) GetValue() (_swig_ret uintptr) SetValueLength(arg2 int) GetValueLength() (_swig_ret int) StripValue() } type SwigcptrMetadataPairVector uintptr func (p SwigcptrMetadataPairVector) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrMetadataPairVector) SwigIsMetadataPairVector() { } func NewMetadataPairVector__SWIG_0() (_swig_ret MetadataPairVector) { var swig_r MetadataPairVector swig_r = (MetadataPairVector)(SwigcptrMetadataPairVector(C._wrap_new_MetadataPairVector__SWIG_0_vank_go_073f147d1da00b5b())) return swig_r } func NewMetadataPairVector__SWIG_1(arg1 int64) (_swig_ret MetadataPairVector) { var swig_r MetadataPairVector _swig_i_0 := arg1 swig_r = (MetadataPairVector)(SwigcptrMetadataPairVector(C._wrap_new_MetadataPairVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_277(_swig_i_0)))) return swig_r } func NewMetadataPairVector(a ...interface{}) MetadataPairVector { argc := len(a) if argc == 0 { return NewMetadataPairVector__SWIG_0() } if argc == 1 { return NewMetadataPairVector__SWIG_1(a[0].(int64)) } panic("No match for overloaded function call") } func (arg1 SwigcptrMetadataPairVector) Size() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_MetadataPairVector_size_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrMetadataPairVector) Capacity() (_swig_ret int64) { var swig_r int64 _swig_i_0 := arg1 swig_r = (int64)(C._wrap_MetadataPairVector_capacity_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrMetadataPairVector) Reserve(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_MetadataPairVector_reserve_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_280(_swig_i_1)) } func (arg1 SwigcptrMetadataPairVector) IsEmpty() (_swig_ret bool) { var swig_r bool _swig_i_0 := arg1 swig_r = (bool)(C._wrap_MetadataPairVector_isEmpty_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrMetadataPairVector) Clear() { _swig_i_0 := arg1 C._wrap_MetadataPairVector_clear_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrMetadataPairVector) Add(arg2 Wrapped_MetadataPair) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_MetadataPairVector_add_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrMetadataPairVector) Get(arg2 int) (_swig_ret Wrapped_MetadataPair) { var swig_r Wrapped_MetadataPair _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Wrapped_MetadataPair)(SwigcptrWrapped_MetadataPair(C._wrap_MetadataPairVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))) return swig_r } func (arg1 SwigcptrMetadataPairVector) Set(arg2 int, arg3 Wrapped_MetadataPair) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_MetadataPairVector_set_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2)) } func DeleteMetadataPairVector(arg1 MetadataPairVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_MetadataPairVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type MetadataPairVector interface { Swigcptr() uintptr SwigIsMetadataPairVector() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 Wrapped_MetadataPair) Get(arg2 int) (_swig_ret Wrapped_MetadataPair) Set(arg2 int, arg3 Wrapped_MetadataPair) } type _swig_DirectorIndexStatus struct { SwigcptrIndexStatus v interface{} } func (p *_swig_DirectorIndexStatus) Swigcptr() uintptr { return p.SwigcptrIndexStatus.Swigcptr() } func (p *_swig_DirectorIndexStatus) SwigIsIndexStatus() { } func (p *_swig_DirectorIndexStatus) DirectorInterface() interface{} { return p.v } func NewDirectorIndexStatus(v interface{}) IndexStatus { p := &_swig_DirectorIndexStatus{0, v} p.SwigcptrIndexStatus = SwigcptrIndexStatus(C._wrap__swig_NewDirectorIndexStatusIndexStatus_vank_go_073f147d1da00b5b(C.int(swigDirectorAdd(p)))) return p } func DeleteDirectorIndexStatus(arg1 IndexStatus) { _swig_i_0 := arg1.Swigcptr() C._wrap_DeleteDirectorIndexStatus_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } //export Swiggo_DeleteDirector_IndexStatus_vank_go_073f147d1da00b5b func Swiggo_DeleteDirector_IndexStatus_vank_go_073f147d1da00b5b(c int) { swigDirectorLookup(c).(*_swig_DirectorIndexStatus).SwigcptrIndexStatus = 0 swigDirectorDelete(c) } type _swig_DirectorInterfaceIndexStatusStatus interface { Status(int, string, string, int, int) } func (swig_p *_swig_DirectorIndexStatus) Status(code int, documentPath string, error string, documentsIndexed int, documentsSeen int) { if swig_g, swig_ok := swig_p.v.(_swig_DirectorInterfaceIndexStatusStatus); swig_ok { swig_g.Status(code, documentPath, error, documentsIndexed, documentsSeen) return } panic("call to pure virtual method") } //export Swig_DirectorIndexStatus_callback_status_vank_go_073f147d1da00b5b func Swig_DirectorIndexStatus_callback_status_vank_go_073f147d1da00b5b(swig_c int, code int, documentPath string, error string, documentsIndexed int, documentsSeen int) { var _swig_i_1 string var _swig_i_2 string swig_p := swigDirectorLookup(swig_c).(*_swig_DirectorIndexStatus) _swig_i_1 = swigCopyString(documentPath) _swig_i_2 = swigCopyString(error) swig_p.Status(code, _swig_i_1, _swig_i_2, documentsIndexed, documentsSeen) } type SwigcptrIndexStatus uintptr func (p SwigcptrIndexStatus) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrIndexStatus) SwigIsIndexStatus() { } func (p SwigcptrIndexStatus) DirectorInterface() interface{} { return nil } type VankApiIndexStatusAction_code int func _swig_getIndexStatus_FileOpen_IndexStatus() (_swig_ret VankApiIndexStatusAction_code) { var swig_r VankApiIndexStatusAction_code swig_r = (VankApiIndexStatusAction_code)(C._wrap_FileOpen_IndexStatus_vank_go_073f147d1da00b5b()) return swig_r } var IndexStatusFileOpen VankApiIndexStatusAction_code = _swig_getIndexStatus_FileOpen_IndexStatus() func _swig_getIndexStatus_FileSkip_IndexStatus() (_swig_ret VankApiIndexStatusAction_code) { var swig_r VankApiIndexStatusAction_code swig_r = (VankApiIndexStatusAction_code)(C._wrap_FileSkip_IndexStatus_vank_go_073f147d1da00b5b()) return swig_r } var IndexStatusFileSkip VankApiIndexStatusAction_code = _swig_getIndexStatus_FileSkip_IndexStatus() func _swig_getIndexStatus_FileError_IndexStatus() (_swig_ret VankApiIndexStatusAction_code) { var swig_r VankApiIndexStatusAction_code swig_r = (VankApiIndexStatusAction_code)(C._wrap_FileError_IndexStatus_vank_go_073f147d1da00b5b()) return swig_r } var IndexStatusFileError VankApiIndexStatusAction_code = _swig_getIndexStatus_FileError_IndexStatus() func _swig_getIndexStatus_FileClose_IndexStatus() (_swig_ret VankApiIndexStatusAction_code) { var swig_r VankApiIndexStatusAction_code swig_r = (VankApiIndexStatusAction_code)(C._wrap_FileClose_IndexStatus_vank_go_073f147d1da00b5b()) return swig_r } var IndexStatusFileClose VankApiIndexStatusAction_code = _swig_getIndexStatus_FileClose_IndexStatus() func _swig_getIndexStatus_DocumentCount_IndexStatus() (_swig_ret VankApiIndexStatusAction_code) { var swig_r VankApiIndexStatusAction_code swig_r = (VankApiIndexStatusAction_code)(C._wrap_DocumentCount_IndexStatus_vank_go_073f147d1da00b5b()) return swig_r } var IndexStatusDocumentCount VankApiIndexStatusAction_code = _swig_getIndexStatus_DocumentCount_IndexStatus() func DeleteIndexStatus(arg1 IndexStatus) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_IndexStatus_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrIndexStatus) Status(arg2 int, arg3 string, arg4 string, arg5 int, arg6 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 C._wrap_IndexStatus_status_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), *(*C.swig_type_281)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_282)(unsafe.Pointer(&_swig_i_3)), C.swig_intgo(_swig_i_4), C.swig_intgo(_swig_i_5)) if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } } type IndexStatus interface { Swigcptr() uintptr SwigIsIndexStatus() DirectorInterface() interface{} Status(arg2 int, arg3 string, arg4 string, arg5 int, arg6 int) } type _swig_DirectorIndexDocumentMetaCallback struct { SwigcptrIndexDocumentMetaCallback v interface{} } func (p *_swig_DirectorIndexDocumentMetaCallback) Swigcptr() uintptr { return p.SwigcptrIndexDocumentMetaCallback.Swigcptr() } func (p *_swig_DirectorIndexDocumentMetaCallback) SwigIsIndexDocumentMetaCallback() { } func (p *_swig_DirectorIndexDocumentMetaCallback) DirectorInterface() interface{} { return p.v } func NewDirectorIndexDocumentMetaCallback(v interface{}) IndexDocumentMetaCallback { p := &_swig_DirectorIndexDocumentMetaCallback{0, v} p.SwigcptrIndexDocumentMetaCallback = SwigcptrIndexDocumentMetaCallback(C._wrap__swig_NewDirectorIndexDocumentMetaCallbackIndexDocumentMetaCallback_vank_go_073f147d1da00b5b(C.int(swigDirectorAdd(p)))) return p } func DeleteDirectorIndexDocumentMetaCallback(arg1 IndexDocumentMetaCallback) { _swig_i_0 := arg1.Swigcptr() C._wrap_DeleteDirectorIndexDocumentMetaCallback_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } //export Swiggo_DeleteDirector_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b func Swiggo_DeleteDirector_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b(c int) { swigDirectorLookup(c).(*_swig_DirectorIndexDocumentMetaCallback).SwigcptrIndexDocumentMetaCallback = 0 swigDirectorDelete(c) } type _swig_DirectorInterfaceIndexDocumentMetaCallbackDocMetaCallback interface { DocMetaCallback(int, string, Vank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_) } func (swig_p *_swig_DirectorIndexDocumentMetaCallback) DocMetaCallback(docType int, docClass string, metadata Vank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_) { if swig_g, swig_ok := swig_p.v.(_swig_DirectorInterfaceIndexDocumentMetaCallbackDocMetaCallback); swig_ok { swig_g.DocMetaCallback(docType, docClass, metadata) return } _swig_i_0 := docType _swig_i_1 := docClass _swig_i_2 := metadata.Swigcptr() C._wrap__swig_DirectorIndexDocumentMetaCallback_upcall_DocMetaCallback_vank_go_073f147d1da00b5b(C.uintptr_t(swig_p.SwigcptrIndexDocumentMetaCallback), C.swig_intgo(_swig_i_0), *(*C.swig_type_283)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = _swig_i_1 } } func DirectorIndexDocumentMetaCallbackDocMetaCallback(p IndexDocumentMetaCallback, arg2 int, arg3 string, arg4 Vank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_) { _swig_i_0 := arg2 _swig_i_1 := arg3 _swig_i_2 := arg4.Swigcptr() C._wrap__swig_DirectorIndexDocumentMetaCallback_upcall_DocMetaCallback_vank_go_073f147d1da00b5b(C.uintptr_t(p.(*_swig_DirectorIndexDocumentMetaCallback).SwigcptrIndexDocumentMetaCallback), C.swig_intgo(_swig_i_0), *(*C.swig_type_283)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = _swig_i_1 } } //export Swig_DirectorIndexDocumentMetaCallback_callback_docMetaCallback_vank_go_073f147d1da00b5b func Swig_DirectorIndexDocumentMetaCallback_callback_docMetaCallback_vank_go_073f147d1da00b5b(swig_c int, arg2 int, arg3 string, arg4 uintptr) { var _swig_i_1 string swig_p := swigDirectorLookup(swig_c).(*_swig_DirectorIndexDocumentMetaCallback) _swig_i_1 = swigCopyString(arg3) swig_p.DocMetaCallback(arg2, _swig_i_1, SwigcptrVank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_(arg4)) } type SwigcptrIndexDocumentMetaCallback uintptr func (p SwigcptrIndexDocumentMetaCallback) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrIndexDocumentMetaCallback) SwigIsIndexDocumentMetaCallback() { } func (p SwigcptrIndexDocumentMetaCallback) DirectorInterface() interface{} { return nil } type VankApiIndexDocumentMetaCallbackSource_type int func _swig_getIndexDocumentMetaCallback_FileSource_IndexDocumentMetaCallback() (_swig_ret VankApiIndexDocumentMetaCallbackSource_type) { var swig_r VankApiIndexDocumentMetaCallbackSource_type swig_r = (VankApiIndexDocumentMetaCallbackSource_type)(C._wrap_FileSource_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b()) return swig_r } var IndexDocumentMetaCallbackFileSource VankApiIndexDocumentMetaCallbackSource_type = _swig_getIndexDocumentMetaCallback_FileSource_IndexDocumentMetaCallback() func _swig_getIndexDocumentMetaCallback_StringSource_IndexDocumentMetaCallback() (_swig_ret VankApiIndexDocumentMetaCallbackSource_type) { var swig_r VankApiIndexDocumentMetaCallbackSource_type swig_r = (VankApiIndexDocumentMetaCallbackSource_type)(C._wrap_StringSource_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b()) return swig_r } var IndexDocumentMetaCallbackStringSource VankApiIndexDocumentMetaCallbackSource_type = _swig_getIndexDocumentMetaCallback_StringSource_IndexDocumentMetaCallback() func DeleteIndexDocumentMetaCallback(arg1 IndexDocumentMetaCallback) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrIndexDocumentMetaCallback) DocMetaCallback(arg2 int, arg3 string, arg4 Vank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4.Swigcptr() C._wrap_IndexDocumentMetaCallback_docMetaCallback_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), *(*C.swig_type_283)(unsafe.Pointer(&_swig_i_2)), C.uintptr_t(_swig_i_3)) if Swig_escape_always_false { Swig_escape_val = arg3 } } func NewIndexDocumentMetaCallback() (_swig_ret IndexDocumentMetaCallback) { var swig_r IndexDocumentMetaCallback swig_r = (IndexDocumentMetaCallback)(SwigcptrIndexDocumentMetaCallback(C._wrap_new_IndexDocumentMetaCallback_vank_go_073f147d1da00b5b())) return swig_r } type IndexDocumentMetaCallback interface { Swigcptr() uintptr SwigIsIndexDocumentMetaCallback() DirectorInterface() interface{} DocMetaCallback(arg2 int, arg3 string, arg4 Vank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_) } type SwigcptrWrapped_IndexEnvironment uintptr func (p SwigcptrWrapped_IndexEnvironment) Swigcptr() uintptr { return (uintptr)(p) } func (p SwigcptrWrapped_IndexEnvironment) SwigIsWrapped_IndexEnvironment() { } func NewWrapped_IndexEnvironment() (_swig_ret Wrapped_IndexEnvironment) { var swig_r Wrapped_IndexEnvironment swig_r = (Wrapped_IndexEnvironment)(SwigcptrWrapped_IndexEnvironment(C._wrap_new_Wrapped_IndexEnvironment_vank_go_073f147d1da00b5b())) return swig_r } func DeleteWrapped_IndexEnvironment(arg1 Wrapped_IndexEnvironment) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_Wrapped_IndexEnvironment_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setDocumentRoot(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setDocumentRoot_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_284)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setAnchorTextPath(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setAnchorTextPath_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_285)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setOffsetMetadataPath(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setOffsetMetadataPath_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_286)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setOffsetAnnotationsPath(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setOffsetAnnotationsPath_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_287)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_addFileClass__SWIG_0(arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string, arg8 string, arg9 StringVector, arg10 StringVector, arg11 StringVector, arg12 StringVector, arg13 Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 _swig_i_7 := arg8 _swig_i_8 := arg9.Swigcptr() _swig_i_9 := arg10.Swigcptr() _swig_i_10 := arg11.Swigcptr() _swig_i_11 := arg12.Swigcptr() _swig_i_12 := arg13.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_addFileClass__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_288)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_289)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_290)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_291)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_292)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_293)(unsafe.Pointer(&_swig_i_6)), *(*C.swig_type_294)(unsafe.Pointer(&_swig_i_7)), C.uintptr_t(_swig_i_8), C.uintptr_t(_swig_i_9), C.uintptr_t(_swig_i_10), C.uintptr_t(_swig_i_11), C.uintptr_t(_swig_i_12)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } if Swig_escape_always_false { Swig_escape_val = arg8 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_getFileClassSpec(arg2 string) (_swig_ret Vank_parse_FileClassEnvironmentFactory_Specification) { var swig_r Vank_parse_FileClassEnvironmentFactory_Specification _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Vank_parse_FileClassEnvironmentFactory_Specification)(SwigcptrVank_parse_FileClassEnvironmentFactory_Specification(C._wrap_Wrapped_IndexEnvironment_Wrapped_getFileClassSpec_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_295)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_addFileClass__SWIG_1(arg2 Vank_parse_FileClassEnvironmentFactory_Specification) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_addFileClass__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (p SwigcptrWrapped_IndexEnvironment) Wrapped_addFileClass(a ...interface{}) { argc := len(a) if argc == 1 { p.Wrapped_addFileClass__SWIG_1(a[0].(Vank_parse_FileClassEnvironmentFactory_Specification)) return } if argc == 12 { p.Wrapped_addFileClass__SWIG_0(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string), a[7].(StringVector), a[8].(StringVector), a[9].(StringVector), a[10].(StringVector), a[11].(Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_deleteDocument(arg2 int) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_deleteDocument_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setIndexedFields(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_setIndexedFields_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setNumericField__SWIG_0(arg2 string, arg3 bool, arg4 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 C._wrap_Wrapped_IndexEnvironment_Wrapped_setNumericField__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_296)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2), *(*C.swig_type_297)(unsafe.Pointer(&_swig_i_3))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg4 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setNumericField__SWIG_1(arg2 string, arg3 bool) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_IndexEnvironment_Wrapped_setNumericField__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_298)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (p SwigcptrWrapped_IndexEnvironment) Wrapped_setNumericField(a ...interface{}) { argc := len(a) if argc == 2 { p.Wrapped_setNumericField__SWIG_1(a[0].(string), a[1].(bool)) return } if argc == 3 { p.Wrapped_setNumericField__SWIG_0(a[0].(string), a[1].(bool), a[2].(string)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setOrdinalField(arg2 string, arg3 bool) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_IndexEnvironment_Wrapped_setOrdinalField_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_299)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setParentalField(arg2 string, arg3 bool) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 C._wrap_Wrapped_IndexEnvironment_Wrapped_setParentalField_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_300)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setMetadataIndexedFields(arg2 StringVector, arg3 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() _swig_i_2 := arg3.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_setMetadataIndexedFields_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setStopwords(arg2 StringVector) { _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_setStopwords_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setStemmer(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setStemmer_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_301)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setMemory(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setMemory_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_302(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setMaxDocs(arg2 int64) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setMaxDocs_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_type_303(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setNormalization(arg2 bool) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setNormalization_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_setStoreDocs(arg2 bool) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_setStoreDocs_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_create__SWIG_0(arg2 string, arg3 IndexStatus) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_create__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_304)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_create__SWIG_1(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_create__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_305)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (p SwigcptrWrapped_IndexEnvironment) Wrapped_create(a ...interface{}) { argc := len(a) if argc == 1 { p.Wrapped_create__SWIG_1(a[0].(string)) return } if argc == 2 { p.Wrapped_create__SWIG_0(a[0].(string), a[1].(IndexStatus)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_open__SWIG_0(arg2 string, arg3 IndexStatus) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_open__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_306)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_open__SWIG_1(arg2 string) { _swig_i_0 := arg1 _swig_i_1 := arg2 C._wrap_Wrapped_IndexEnvironment_Wrapped_open__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_307)(unsafe.Pointer(&_swig_i_1))) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (p SwigcptrWrapped_IndexEnvironment) Wrapped_open(a ...interface{}) { argc := len(a) if argc == 1 { p.Wrapped_open__SWIG_1(a[0].(string)) return } if argc == 2 { p.Wrapped_open__SWIG_0(a[0].(string), a[1].(IndexStatus)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_close() { _swig_i_0 := arg1 C._wrap_Wrapped_IndexEnvironment_Wrapped_close_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_addFile__SWIG_0(arg2 string, arg3 IndexDocumentMetaCallback) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_addFile__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_308)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)) if Swig_escape_always_false { Swig_escape_val = arg2 } } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_addFile__SWIG_1(arg2 string, arg3 string, arg4 IndexDocumentMetaCallback) { _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4.Swigcptr() C._wrap_Wrapped_IndexEnvironment_Wrapped_addFile__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_309)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_310)(unsafe.Pointer(&_swig_i_2)), C.uintptr_t(_swig_i_3)) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } } func (p SwigcptrWrapped_IndexEnvironment) Wrapped_addFile(a ...interface{}) { argc := len(a) if argc == 2 { p.Wrapped_addFile__SWIG_0(a[0].(string), a[1].(IndexDocumentMetaCallback)) return } if argc == 3 { p.Wrapped_addFile__SWIG_1(a[0].(string), a[1].(string), a[2].(IndexDocumentMetaCallback)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_addString(arg2 string, arg3 string, arg4 MetadataPairVector) (_swig_ret int) { var swig_r int _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4.Swigcptr() swig_r = (int)(C._wrap_Wrapped_IndexEnvironment_Wrapped_addString_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_311)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_312)(unsafe.Pointer(&_swig_i_2)), C.uintptr_t(_swig_i_3))) if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } return swig_r } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_addParsedDocument(arg2 ParsedDocument) (_swig_ret int) { var swig_r int _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (int)(C._wrap_Wrapped_IndexEnvironment_Wrapped_addParsedDocument_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))) return swig_r } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_documentsIndexed() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_Wrapped_IndexEnvironment_Wrapped_documentsIndexed_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } func (arg1 SwigcptrWrapped_IndexEnvironment) Wrapped_documentsSeen() (_swig_ret int) { var swig_r int _swig_i_0 := arg1 swig_r = (int)(C._wrap_Wrapped_IndexEnvironment_Wrapped_documentsSeen_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0))) return swig_r } type Wrapped_IndexEnvironment interface { Swigcptr() uintptr SwigIsWrapped_IndexEnvironment() Wrapped_setDocumentRoot(arg2 string) Wrapped_setAnchorTextPath(arg2 string) Wrapped_setOffsetMetadataPath(arg2 string) Wrapped_setOffsetAnnotationsPath(arg2 string) Wrapped_getFileClassSpec(arg2 string) (_swig_ret Vank_parse_FileClassEnvironmentFactory_Specification) Wrapped_addFileClass(a ...interface{}) Wrapped_deleteDocument(arg2 int) Wrapped_setIndexedFields(arg2 StringVector) Wrapped_setNumericField(a ...interface{}) Wrapped_setOrdinalField(arg2 string, arg3 bool) Wrapped_setParentalField(arg2 string, arg3 bool) Wrapped_setMetadataIndexedFields(arg2 StringVector, arg3 StringVector) Wrapped_setStopwords(arg2 StringVector) Wrapped_setStemmer(arg2 string) Wrapped_setMemory(arg2 int64) Wrapped_setMaxDocs(arg2 int64) Wrapped_setNormalization(arg2 bool) Wrapped_setStoreDocs(arg2 bool) Wrapped_create(a ...interface{}) Wrapped_open(a ...interface{}) Wrapped_close() Wrapped_addFile(a ...interface{}) Wrapped_addString(arg2 string, arg3 string, arg4 MetadataPairVector) (_swig_ret int) Wrapped_addParsedDocument(arg2 ParsedDocument) (_swig_ret int) Wrapped_documentsIndexed() (_swig_ret int) Wrapped_documentsSeen() (_swig_ret int) } // // catch will recover from a panic and store the recover message to the error // parameter. The error must be passed by reference in order to be returned to the // calling function. // // // see index_environment_test.go for more details on the following note. // ... // however, the "catch" panic handler does not trap all the exceptions and // the cgo crosscall results in a segmentation violation [ most likely due // the pair's value, both void * and value length, are in random state ] // // TODO: figure out how we may trap all C exceptions. // there seems to be path cases where the execution thread context (thread // stack and frame pointer) is switched on syscalls (to avoid GC and other // GO thread from blocking. And on return, the completion may run on a // different thread. This panic handler may be on a different stack??? // review comments in go/src/runtime/cgocall.go // ... // func catch(err *error) { if r := recover(); r != nil { var sf []string = []string{} var pc []uintptr var skip, fc int = 0, 0 fc = runtime.Callers(skip, pc) if fc > 0 { fp := runtime.CallersFrames(pc) if fp != nil { var more bool var f runtime.Frame for more = true; more; f, more = fp.Next() { sf = append(sf, fmt.Sprintf("%v %v %v %v\n", f.PC, f.Function, f.File, f.Line)) } } } *err = fmt.Errorf("Panic stack %v, error %v", sf, r) } } // // extend Parameters.i // type Parameters interface { Wrapped_Parameters // can't seem to name function Load, compiler declares it is a duplicate. // the wrapped method varies in signature only with the return type, // which is empty/void. perhaps this is a signature mapping 'feature' // when the c++ method return is void? MyLoad(string) error } func NewParameters() (swig_r Parameters, err error) { defer catch(&err) swig_r = (Parameters)(SwigcptrWrapped_Parameters(C._wrap_new_Wrapped_Parameters_vank_go_073f147d1da00b5b())) return } // Load catching panics generated in the %exception block and turn them into // a go error type func (e SwigcptrWrapped_Parameters) MyLoad(s string) (err error) { defer catch(&err) e.Load(s) return } // // extend IndexEnvironment.i // type IndexEnvironment interface { Wrapped_IndexEnvironment SetDocumentRoot(arg2 string) (err error) SetAnchorTextPath(arg2 string) (err error) SetOffsetMetadataPath(arg2 string) (err error) SetOffsetAnnotationsPath(arg2 string) (err error) GetFileClassSpec(arg2 string) (_swig_ret Vank_parse_FileClassEnvironmentFactory_Specification, err error) AddFileClass(a ...interface{}) (err error) DeleteDocument(arg2 int) (err error) SetIndexedFields(arg2 StringVector) (err error) SetNumericField(a ...interface{}) (err error) SetOrdinalField(arg2 string, arg3 bool) (err error) SetParentalField(arg2 string, arg3 bool) (err error) SetMetadataIndexedFields(arg2 StringVector, arg3 StringVector) (err error) SetStopwords(arg2 StringVector) (err error) SetStemmer(arg2 string) (err error) SetMemory(arg2 int64) (err error) SetMaxDocs(arg2 int64) (err error) SetNormalization(arg2 bool) (err error) SetStoreDocs(arg2 bool) (err error) Create(a ...interface{}) (err error) Open(a ...interface{}) (err error) Close() (err error) AddFile(a ...interface{}) (err error) AddString(arg2 string, arg3 string, arg4 MetadataPairVector) (_swig_ret int, err error) AddParsedDocument(arg2 ParsedDocument) (_swig_ret int, err error) DocumentsIndexed() (_swig_ret int, err error) DocumentsSeen() (_swig_ret int, err error) } func NewIndexEnvironment() (swig_r IndexEnvironment, err error) { defer catch(&err) swig_r = (IndexEnvironment)(SwigcptrWrapped_IndexEnvironment(C._wrap_new_Wrapped_IndexEnvironment_vank_go_073f147d1da00b5b())) return } func (e SwigcptrWrapped_IndexEnvironment) SetDocumentRoot(arg2 string) (err error) { defer catch(&err) e.Wrapped_setDocumentRoot(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetAnchorTextPath(arg2 string) (err error) { defer catch(&err) e.Wrapped_setAnchorTextPath(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetOffsetMetadataPath(arg2 string) (err error) { defer catch(&err) e.Wrapped_setOffsetMetadataPath(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetOffsetAnnotationsPath(arg2 string) (err error) { defer catch(&err) e.Wrapped_setOffsetAnnotationsPath(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) GetFileClassSpec(arg2 string) (_swig_ret Vank_parse_FileClassEnvironmentFactory_Specification, err error) { defer catch(&err) _swig_ret = e.Wrapped_getFileClassSpec(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) AddFileClass(a ...interface{}) (err error) { defer catch(&err) argc := len(a) if argc == 1 { e.Wrapped_addFileClass(a[0].(Vank_parse_FileClassEnvironmentFactory_Specification)) return } if argc == 12 { e.Wrapped_addFileClass(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string), a[7].(StringVector), a[8].(StringVector), a[9].(StringVector), a[10].(StringVector), a[11].(Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_)) return } panic("No match for overloaded function call") return } func (e SwigcptrWrapped_IndexEnvironment) DeleteDocument(arg2 int) (err error) { defer catch(&err) e.Wrapped_deleteDocument(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetIndexedFields(arg2 StringVector) (err error) { defer catch(&err) e.Wrapped_setIndexedFields(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetNumericField(a ...interface{}) (err error) { defer catch(&err) argc := len(a) if argc == 2 { e.Wrapped_setNumericField(a[0].(string), a[1].(bool)) return } if argc == 3 { e.Wrapped_setNumericField(a[0].(string), a[1].(bool), a[2].(string)) return } panic("No match for overloaded function call") // can't nest variadit function //e.Wrapped_setNumericField(a) return } func (e SwigcptrWrapped_IndexEnvironment) SetOrdinalField(arg2 string, arg3 bool) (err error) { defer catch(&err) e.Wrapped_setOrdinalField(arg2, arg3) return } func (e SwigcptrWrapped_IndexEnvironment) SetParentalField(arg2 string, arg3 bool) (err error) { defer catch(&err) e.Wrapped_setParentalField(arg2, arg3) return } func (e SwigcptrWrapped_IndexEnvironment) SetMetadataIndexedFields(arg2 StringVector, arg3 StringVector) (err error) { defer catch(&err) e.Wrapped_setMetadataIndexedFields(arg2, arg3) return } func (e SwigcptrWrapped_IndexEnvironment) SetStopwords(arg2 StringVector) (err error) { defer catch(&err) e.Wrapped_setStopwords(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetStemmer(arg2 string) (err error) { defer catch(&err) e.Wrapped_setStemmer(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetMemory(arg2 int64) (err error) { defer catch(&err) e.Wrapped_setMemory(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetMaxDocs(arg2 int64) (err error) { defer catch(&err) e.Wrapped_setMaxDocs(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetNormalization(arg2 bool) (err error) { defer catch(&err) e.Wrapped_setNormalization(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) SetStoreDocs(arg2 bool) (err error) { defer catch(&err) e.Wrapped_setStoreDocs(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) Create(a ...interface{}) (err error) { defer catch(&err) argc := len(a) if argc == 1 { e.Wrapped_create(a[0].(string)) return } if argc == 2 { e.Wrapped_create(a[0].(string), a[1].(IndexStatus)) return } panic("No match for overloaded function call") return } func (e SwigcptrWrapped_IndexEnvironment) Open(a ...interface{}) (err error) { defer catch(&err) argc := len(a) if argc == 1 { e.Wrapped_open(a[0].(string)) return } if argc == 2 { e.Wrapped_open(a[0].(string), a[1].(IndexStatus)) return } panic("No match for overloaded function call") return } func (e SwigcptrWrapped_IndexEnvironment) Close() (err error) { defer catch(&err) e.Wrapped_close() return } func (e SwigcptrWrapped_IndexEnvironment) AddFile(a ...interface{}) (err error) { defer catch(&err) argc := len(a) if argc == 2 { e.Wrapped_addFile__SWIG_0(a[0].(string), a[1].(IndexDocumentMetaCallback)) return } if argc == 3 { e.Wrapped_addFile__SWIG_1(a[0].(string), a[1].(string), a[2].(IndexDocumentMetaCallback)) return } panic("No match for overloaded function call") return } func (e SwigcptrWrapped_IndexEnvironment) AddString(arg2 string, arg3 string, arg4 MetadataPairVector) (_swig_ret int, err error) { defer catch(&err) _swig_ret = e.Wrapped_addString(arg2, arg3, arg4) return } func (e SwigcptrWrapped_IndexEnvironment) AddParsedDocument(arg2 ParsedDocument) (_swig_ret int, err error) { defer catch(&err) _swig_ret = e.Wrapped_addParsedDocument(arg2) return } func (e SwigcptrWrapped_IndexEnvironment) DocumentsIndexed() (_swig_ret int, err error) { defer catch(&err) _swig_ret = e.Wrapped_documentsIndexed() return } func (e SwigcptrWrapped_IndexEnvironment) DocumentsSeen() (_swig_ret int, err error) { defer catch(&err) _swig_ret = e.Wrapped_documentsSeen() return } // // the GO type MyStatusMonitor is subclassed from C++ type vank::api::IndexStatus // this requires that director feature be enabled, look for // '%module(directors="1") modulename' under ifdef SWIGGO in vank.i and look // for '%feature("director") modulename' in IndexEnvironment.i // // MyStatusMonitor is a superset of IndexStatus and hence can be used as a // drop in replacement for IndexStatus but the reverse causes a compile time // error. refer to swig docs for details (SWIG 3.0: 23.4.7 Go Director Classes) // type MyStatusMonitor interface { IndexStatus DeleteIndexStatus() IsIndexStatus() } // Via embedding myStatusMonitor "inherits" all methods of IndexStatus. // isgs => Index Status GO Structure type myStatusMonitor struct { IndexStatus } func (isgs *myStatusMonitor) DeleteIndexStatus() { DeleteDirectorIndexStatus(isgs.IndexStatus) } func (isgs *myStatusMonitor) IsIndexStatus() {} type overwrittenMethodsOnIndexStatus struct { is IndexStatus } func (om *overwrittenMethodsOnIndexStatus) Status( code int, documentFile string, error string, documentsIndexed int, documentsSeen int ) { // C++ code defines class local enums, method signature uses int for code // swiggo generates constants we cannot use because of signature mismatch // note: must match C++ definition const ( FileOpen = iota FileSkip FileError FileClose DocumentCount ) switch(code) { case FileOpen: Buildindex_print_event( fmt.Sprintf("Opened %v", documentFile) ) case FileClose: Buildindex_print_event( fmt.Sprintf("Closed %v", documentFile) ) case FileSkip: Buildindex_print_event( fmt.Sprintf("Skipped %v", documentFile) ) case FileError: Buildindex_print_event( fmt.Sprintf("Error in %v : %v", documentFile, error) ) default: fallthrough case DocumentCount: if( documentsSeen < 10 || (documentsSeen % 500) == 0 ) { // note: C++ signature wants second count as INT64, but it is int here in GO //Buildindex_print_status( "Documents parsed: ", documentsSeen, " Documents indexed: ", documentsIndexed ) // so use this instead. Buildindex_print_event( fmt.Sprintf("Documents parsed: %v Documents indexed: %v", documentsSeen, documentsIndexed) ) Buildindex_flush_status() } } } func NewMyStatusMonitor() MyStatusMonitor { om := &overwrittenMethodsOnIndexStatus{} ins := NewDirectorIndexStatus(om) om.is = ins isgs := &myStatusMonitor{IndexStatus: ins} return isgs } func DeleteMyStatusMonitor(isgs MyStatusMonitor) { isgs.DeleteIndexStatus() } // // the GO type MyDocumentMetaEditor is subclassed from C++ type vank::api::IndexDocumentMetaCallback // this requires that director feature be enabled, look for // '%module(directors="1") modulename' under ifdef SWIGGO in vank.i and look // for '%feature("director") modulename' in IndexEnvironment.i // // MyDocumentMetaEditor is a superset of IndexDocumentMetaCallback and hence can be used as a // drop in replacement for IndexDocumentMetaCallback but the reverse causes a compile time // error. refer to swig docs for details (SWIG 3.0: 23.4.7 Go Director Classes) // type MyDocumentMetaEditor interface { IndexDocumentMetaCallback DeleteIndexDocumentMetaCallback() IsIndexDocumentMetaCallback() } // Via embedding myDocumentMetaEditor "inherits" all methods of IndexDocumentMetaCallback. // idmcgs => Index Document Meta Callback GO Structure type myDocumentMetaEditor struct { IndexDocumentMetaCallback } func (idmcgs *myDocumentMetaEditor) DeleteIndexDocumentMetaCallback() { DeleteDirectorIndexDocumentMetaCallback(idmcgs.IndexDocumentMetaCallback) } func (idmcgs *myDocumentMetaEditor) IsIndexDocumentMetaCallback() {} type overwrittenMethodsOnIndexDocumentMetaCallback struct { idmc IndexDocumentMetaCallback } func (om *overwrittenMethodsOnIndexDocumentMetaCallback) DocMetaCallback( docType int, docClass string, metadata MetadataPairVector ) { // C++ code defines class local enums, method signature uses int for code // swiggo generates constants we cannot use because of signature mismatch // note: must match C++ definition const ( FileSource = iota StringSource ) vs := int(metadata.Size()) switch(docType) { case FileSource: Buildindex_print_event( fmt.Sprintf("File document class %v metadata size %v", docClass, vs) ) for i := 0; i < vs; i++ { m := metadata.Get(i) p := m.GetValue() len := m.GetValueLength() s := (*[1<<30]byte)(unsafe.Pointer(p))[:len] _swig_ret := make([]byte, len, len) i := copy(_swig_ret, s) // if i != len { // err := fmt.Errorf("Wrapped_MetadataPair.WGetValue: expected to copy %v but copied %v", len, i) // } Buildindex_print_event( fmt.Sprintf(" metadata %v: %v = %v\n", i, p, string(_swig_ret)) ) } break; case StringSource: Buildindex_print_event( fmt.Sprintf("String document class %v", docClass) ) break; default: Buildindex_print_event( fmt.Sprintf("Invalid document type %v", docType) ) break; } } func NewMyDocumentMetaEditor() MyDocumentMetaEditor { om := &overwrittenMethodsOnIndexDocumentMetaCallback{} ins := NewDirectorIndexDocumentMetaCallback(om) om.idmc = ins idmcgs := &myDocumentMetaEditor{IndexDocumentMetaCallback: ins} return idmcgs } func DeleteMyDocumentMetaEditor(idmcgs MyDocumentMetaEditor) { idmcgs.DeleteIndexDocumentMetaCallback() } // // extend wrapped VankBuildIndex.i // func Wrapped_Buildindex_recoverRepository(arg1 string) (_swig_ret bool, err error) { defer catch(&err) _swig_ret = Buildindex_recoverRepository(arg1) return } func Wrapped_Buildindex_augmentSpec(spec Vank_parse_FileClassEnvironmentFactory_Specification, fields StringVector, metadata StringVector, metadataForward StringVector, metadataBackward StringVector ) (_swig_ret bool, err error) { defer catch(&err) _swig_ret = Buildindex_augmentSpec(spec, fields, metadata, metadataForward, metadataBackward ) return } func Wrapped_Buildindex_mymain(argc int, arg0, arg1, arg2, arg3, arg4 string) (err error) { defer catch(&err) Buildindex_mymain(argc, arg0, arg1, arg2, arg3, arg4) return } // // extend MetadataPair.i // type MetadataPair interface { Wrapped_MetadataPair WSetKey(arg2 string) (err error) WGetKey() (_swig_ret string, err error) WSetValue(arg2 []byte) (err error) WGetValue() (_swig_ret []byte, err error) WReset() WClear() (err error) } func NewMetadataPair() (_swig_ret MetadataPair, err error) { defer catch(&err) _swig_ret = (MetadataPair)(SwigcptrWrapped_MetadataPair(C._wrap_new_Wrapped_MetadataPair_vank_go_073f147d1da00b5b())) if _swig_ret == nil { return } _swig_ret.WReset() return } func DeleteMetadataPair(arg1 MetadataPair) { // don't leak resource arg1.WClear() DeleteWrapped_MetadataPair(arg1) return } func (m SwigcptrWrapped_MetadataPair) WReset() { var zvs string var zvv uintptr = 0 // initialize key/value to zero values m.SetKey(zvs) m.SetValue(zvv) m.SetValueLength(0) return } func (m SwigcptrWrapped_MetadataPair) WClear() (err error) { defer catch(&err) // overrwrite reference to GO resource var zvs string m.SetKey(zvs) // don't leak C++ resource p := m.GetValue() l := m.GetValueLength() if l > 0 && p > 0 { Swig_free(p) } m.WReset() return } func (m SwigcptrWrapped_MetadataPair) WSetKey(arg2 string) (err error) { defer catch(&err) m.SetKey(arg2) return } func (m SwigcptrWrapped_MetadataPair) WGetKey() (_swig_ret string, err error) { defer catch(&err) _swig_ret = m.GetKey() return } func (m SwigcptrWrapped_MetadataPair) WSetValue(arg2 []byte) (err error) { defer catch(&err) // don't leak C++ resource that may have already been set p := m.GetValue() l := m.GetValueLength() if l > 0 && p > 0 { Swig_free(p) } p = Swig_malloc(len(arg2)) s := (*[1<<30]byte)(unsafe.Pointer(p))[:len(arg2)] i := copy(s, arg2) if i != len(arg2) { err = fmt.Errorf("Wrapped_MetadataPair.WSetValue: expected to copy %v but copied %v", len(arg2), i) return } m.SetValue(uintptr(unsafe.Pointer(p))) m.SetValueLength(len(arg2)) //fmt.Printf("WSetValue: len %v cap %v arg2 %v i %v\n", len(arg2), cap(arg2), arg2, i) return } func (m SwigcptrWrapped_MetadataPair) WGetValue() (_swig_ret []byte, err error) { defer catch(&err) p := m.GetValue() len := m.GetValueLength() s := (*[1<<30]byte)(unsafe.Pointer(p))[:len] _swig_ret = make([]byte, len, len) i := copy(_swig_ret, s) if i != len { err = fmt.Errorf("Wrapped_MetadataPair.WGetValue: expected to copy %v but copied %v", len, i) } return } // // extend MetadataPairVector.i // type Wrapped_MetadataPairVector interface { MetadataPairVector WReserve(arg2 int64) (err error) WClear() (err error) WAdd(arg2 MetadataPair) (err error) WGet(arg2 int) (_swig_ret MetadataPair, err error) WSet(arg2 int, arg3 MetadataPair) (err error) } func NewWrapped_MetadataPairVector(a ...interface{}) (swig_r Wrapped_MetadataPairVector, err error) { defer catch(&err) argc := len(a) if argc == 0 { swig_r = (Wrapped_MetadataPairVector)(SwigcptrMetadataPairVector(C._wrap_new_MetadataPairVector__SWIG_0_vank_go_073f147d1da00b5b())) return } if argc == 1 { _swig_i_0 := a[0].(int) swig_r = (Wrapped_MetadataPairVector)(SwigcptrMetadataPairVector(C._wrap_new_MetadataPairVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_277(_swig_i_0)))) return } panic("No match for overloaded function call") } func (arg1 SwigcptrMetadataPairVector) WReserve(arg2 int64) (err error) { defer catch(&err) arg1.Reserve(arg2) return } func (arg1 SwigcptrMetadataPairVector) WClear() (err error) { defer catch(&err) arg1.Clear() return } func (arg1 SwigcptrMetadataPairVector) WAdd(arg2 MetadataPair) (err error) { defer catch(&err) arg1.Add(arg2) return } func (arg1 SwigcptrMetadataPairVector) WGet(arg2 int) (_swig_ret MetadataPair, err error) { defer catch(&err) // // we want to return the extended wrapped pair interface instead // (named MetadataPair). The C++ MetadataPair class is first renamed to // Wrapped_MetadataPair so we can subclass it in GO using the director // feature. When we wrap the (GO) MetadataPairVector specialization, it // references the renamed C++ class type and not the GO subclass. So the // generated code returns the renamed interface type Wrapped_MetadataPair // instead of the GO MetadataPairVector vector interface type. //_swig_ret = arg1.Get(arg2) //return _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_ret = (MetadataPair)(SwigcptrWrapped_MetadataPair(C._wrap_MetadataPairVector_get_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))) return } func (arg1 SwigcptrMetadataPairVector) WSet(arg2 int, arg3 MetadataPair) (err error) { defer catch(&err) arg1.Set(arg2, arg3) return } func DeleteWrapped_MetadataPairVector(arg1 Wrapped_MetadataPairVector) { DeleteMetadataPairVector(arg1) } // // extend Odms.i // type InfoSpace interface { Wrapped_InfoSpace InfoSpaceIsAttached() (_swig_ret bool, err error) InfoSpaceIsDetached() (_swig_ret bool, err error) InfoSpaceInitSchema() (err error) InfoSpaceVerifySchemaPostInit() (err error) InfoSpaceReclaimSchema() (err error) InfoSpaceInitCodecFactory(arg2 string, arg3 string, arg4 int64, arg5 int64) (_swig_ret Ride_codec_CodecFactory, err error) InfoSpaceLookupCodecFactory(arg2 string) (_swig_ret Ride_codec_CodecFactory, err error) InfoSpaceGenROMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (err error) InfoSpaceGenRWMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (err error) InfoSpaceGetWindow() (_swig_ret int64, err error) InfoSpaceGetWindowEnd() (_swig_ret int64, err error) InfoSpaceGetDes() (_swig_ret Ride_api_Des, err error) InfoSpaceGetApp() (_swig_ret string, err error) InfoSpaceGetName() (_swig_ret string, err error) InfoSpaceGetServer() (_swig_ret string, err error) InfoSpaceGetCommand() (_swig_ret string, err error) InfoSpaceGetIndexPath() (_swig_ret string, err error) InfoSpaceGetCorpusPath() (_swig_ret string, err error) InfoSpaceGetCorpusClass() (_swig_ret string, err error) InfoSpaceGetBuildParam() (_swig_ret string, err error) InfoSpaceGetStopParam() (_swig_ret string, err error) InfoSpaceAttach() (_swig_ret string, err error) InfoSpaceDetach() (_swig_ret string, err error) InfoSpaceDestroy() (_swig_ret string, err error) InfoSpaceAddDoc(a ...interface{}) (_swig_ret Lemur_api_DOCID_T, err error) InfoSpaceAddFile(arg2 string) (_swig_ret Lemur_api_DOCID_T, err error) InfoSpaceAddString(arg2 string) (_swig_ret Lemur_api_DOCID_T, err error) InfoSpaceDeleteDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Lemur_api_DOCID_T, err error) InfoSpaceEncodeTime(arg2 int64) (_swig_ret string, err error) InfoSpaceDecodeTime(arg2 string) (_swig_ret int64, err error) InfoSpaceGetPos() (_swig_ret int64, err error) InfoSpaceSetPos(arg2 int64) (_swig_ret int64, err error) InfoSpaceGetMax() (_swig_ret int64, err error) InfoSpaceSetMax(arg2 int64) (_swig_ret int64, err error) InfoSpaceCreateCodecSet(arg2 string, arg3 string) (_swig_ret Ride_codec_Codec, err error) InfoSpaceDestroyCodecSet(arg2 Ride_codec_Codec) (err error) InfoSpaceNFLess(arg2 string, arg3 string) (_swig_ret string, err error) InfoSpaceNFGreater(arg2 string, arg3 string) (_swig_ret string, err error) InfoSpaceNFBetween(arg2 string, arg3 string, arg4 string) (_swig_ret string, err error) InfoSpaceNFEquals(arg2 string, arg3 string) (_swig_ret string, err error) InfoSpaceFind(arg2 string) (_swig_ret DocIdVector, err error) InfoSpaceDomainExists(arg2 Lemur_api_DOCID_T) (_swig_ret bool, err error) InfoSpaceGetDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Domain, err error) InfoSpaceGetDomains(arg2 DocIdVector) (_swig_ret DomainPtrVector, err error) InfoSpaceFindExtent(arg2 string, arg3 string, arg4 int64) (_swig_ret StringVector, err error) NewDomain() (_swig_ret Domain, err error) } func NewInfoSpace__SWIG_0(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string, arg8 string, arg9 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 _swig_i_7 := arg8 _swig_i_8 := arg9 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_0_vank_go_073f147d1da00b5b(*(*C.swig_type_16)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_17)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_18)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_19)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_20)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_21)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_22)(unsafe.Pointer(&_swig_i_6)), *(*C.swig_type_23)(unsafe.Pointer(&_swig_i_7)), *(*C.swig_type_24)(unsafe.Pointer(&_swig_i_8))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } if Swig_escape_always_false { Swig_escape_val = arg8 } if Swig_escape_always_false { Swig_escape_val = arg9 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_1(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string, arg8 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 _swig_i_7 := arg8 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_1_vank_go_073f147d1da00b5b(*(*C.swig_type_25)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_26)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_27)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_28)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_29)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_30)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_31)(unsafe.Pointer(&_swig_i_6)), *(*C.swig_type_32)(unsafe.Pointer(&_swig_i_7))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } if Swig_escape_always_false { Swig_escape_val = arg8 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_2(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 _swig_i_6 := arg7 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_2_vank_go_073f147d1da00b5b(*(*C.swig_type_33)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_34)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_35)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_36)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_37)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_38)(unsafe.Pointer(&_swig_i_5)), *(*C.swig_type_39)(unsafe.Pointer(&_swig_i_6))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if Swig_escape_always_false { Swig_escape_val = arg7 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_3(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 _swig_i_5 := arg6 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_3_vank_go_073f147d1da00b5b(*(*C.swig_type_40)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_41)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_42)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_43)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_44)(unsafe.Pointer(&_swig_i_4)), *(*C.swig_type_45)(unsafe.Pointer(&_swig_i_5))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if Swig_escape_always_false { Swig_escape_val = arg6 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_4(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 _swig_i_4 := arg5 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_4_vank_go_073f147d1da00b5b(*(*C.swig_type_46)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_47)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_48)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_49)(unsafe.Pointer(&_swig_i_3)), *(*C.swig_type_50)(unsafe.Pointer(&_swig_i_4))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if Swig_escape_always_false { Swig_escape_val = arg5 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_5(arg1 string, arg2 string, arg3 string, arg4 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 _swig_i_3 := arg4 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_5_vank_go_073f147d1da00b5b(*(*C.swig_type_51)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_52)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_53)(unsafe.Pointer(&_swig_i_2)), *(*C.swig_type_54)(unsafe.Pointer(&_swig_i_3))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if Swig_escape_always_false { Swig_escape_val = arg4 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_6(arg1 string, arg2 string, arg3 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_6_vank_go_073f147d1da00b5b(*(*C.swig_type_55)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_56)(unsafe.Pointer(&_swig_i_1)), *(*C.swig_type_57)(unsafe.Pointer(&_swig_i_2))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if Swig_escape_always_false { Swig_escape_val = arg3 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_7(arg1 string, arg2 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_7_vank_go_073f147d1da00b5b(*(*C.swig_type_58)(unsafe.Pointer(&_swig_i_0)), *(*C.swig_type_59)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if Swig_escape_always_false { Swig_escape_val = arg2 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_8(arg1 string) (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace _swig_i_0 := arg1 swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_8_vank_go_073f147d1da00b5b(*(*C.swig_type_60)(unsafe.Pointer(&_swig_i_0))))) if Swig_escape_always_false { Swig_escape_val = arg1 } if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace__SWIG_9() (_swig_ret InfoSpace, err error) { defer catch(&err) var swig_r InfoSpace swig_r = (InfoSpace)(SwigcptrWrapped_InfoSpace(C._wrap_new_Wrapped_InfoSpace__SWIG_9_vank_go_073f147d1da00b5b())) if swig_r == nil { err = fmt.Errorf("failed to allocate NewInfoSpace.\n") } return swig_r, err } func NewInfoSpace(a ...interface{}) (swig_r InfoSpace, err error) { defer catch(&err) argc := len(a) if argc == 0 { swig_r, err = NewInfoSpace__SWIG_9() return } if argc == 1 { swig_r, err = NewInfoSpace__SWIG_8(a[0].(string)) return } if argc == 2 { swig_r, err = NewInfoSpace__SWIG_7(a[0].(string), a[1].(string)) return } if argc == 3 { return NewInfoSpace__SWIG_6(a[0].(string), a[1].(string), a[2].(string)) } if argc == 4 { return NewInfoSpace__SWIG_5(a[0].(string), a[1].(string), a[2].(string), a[3].(string)) } if argc == 5 { return NewInfoSpace__SWIG_4(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string)) } if argc == 6 { return NewInfoSpace__SWIG_3(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string)) } if argc == 7 { return NewInfoSpace__SWIG_2(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string)) } if argc == 8 { return NewInfoSpace__SWIG_1(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string), a[7].(string)) } if argc == 9 { return NewInfoSpace__SWIG_0(a[0].(string), a[1].(string), a[2].(string), a[3].(string), a[4].(string), a[5].(string), a[6].(string), a[7].(string), a[8].(string)) } panic("No match for overloaded function call") } func DeleteInfoSpace(arg1 InfoSpace) { DeleteWrapped_InfoSpace(arg1) } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceIsAttached() (_swig_ret bool, err error) { defer catch(&err) _swig_ret = arg1.IsAttached() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceIsDetached() (_swig_ret bool, err error) { defer catch(&err) _swig_ret = arg1.IsDetached() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceInitSchema() (err error) { defer catch(&err) arg1.InitSchema() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceVerifySchemaPostInit() (err error) { defer catch(&err) arg1.VerifySchemaPostInit() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceReclaimSchema() (err error) { defer catch(&err) arg1.ReclaimSchema() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceInitCodecFactory(arg2 string, arg3 string, arg4 int64, arg5 int64) (_swig_ret Ride_codec_CodecFactory, err error) { defer catch(&err) _swig_ret = arg1.InitCodecFactory(arg2, arg3, arg4, arg5) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceLookupCodecFactory(arg2 string) (_swig_ret Ride_codec_CodecFactory, err error) { defer catch(&err) _swig_ret = arg1.LookupCodecFactory(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGenROMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (err error) { defer catch(&err) arg1.GenROMeta(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGenRWMeta(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (err error) { defer catch(&err) arg1.GenRWMeta(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetWindow() (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.GetWindow() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetWindowEnd() (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.GetWindowEnd() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetDes() (_swig_ret Ride_api_Des, err error) { defer catch(&err) _swig_ret = arg1.GetDes() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetApp() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetApp() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetName() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetName() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetServer() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetServer() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetCommand() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetCommand() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetIndexPath() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetIndexPath() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetCorpusPath() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetCorpusPath() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetCorpusClass() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetCorpusClass() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetBuildParam() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetBuildParam() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetStopParam() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.GetStopParam() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceAttach() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.Attach() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceDetach() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.Detach() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceDestroy() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.Destroy() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceAddDoc(a ...interface{}) (_swig_ret Lemur_api_DOCID_T, err error) { defer catch(&err) argc := len(a) if argc == 1 { var arg2 = a[0].(string) var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_addDoc__SWIG_1_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_80)(unsafe.Pointer(&_swig_i_1))))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r, err } if argc == 2 { var arg2 = a[0].(string) var arg3 = a[1].(bool) var swig_r Lemur_api_DOCID_T _swig_i_0 := arg1 _swig_i_1 := arg2 _swig_i_2 := arg3 swig_r = (Lemur_api_DOCID_T)(SwigcptrLemur_api_DOCID_T(C._wrap_Wrapped_InfoSpace_addDoc__SWIG_0_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), *(*C.swig_type_81)(unsafe.Pointer(&_swig_i_1)), C._Bool(_swig_i_2)))) if Swig_escape_always_false { Swig_escape_val = arg2 } return swig_r, err } panic("No match for overloaded function call") return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceAddFile(arg2 string) (_swig_ret Lemur_api_DOCID_T, err error) { defer catch(&err) _swig_ret = arg1.AddFile(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceAddString(arg2 string) (_swig_ret Lemur_api_DOCID_T, err error) { defer catch(&err) _swig_ret = arg1.AddString(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceDeleteDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Lemur_api_DOCID_T, err error) { defer catch(&err) _swig_ret = arg1.DeleteDomain(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceEncodeTime(arg2 int64) (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.EncodeTime(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceDecodeTime(arg2 string) (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.DecodeTime(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetPos() (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.GetPos() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceSetPos(arg2 int64) (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.SetPos(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetMax() (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.GetMax() return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceSetMax(arg2 int64) (_swig_ret int64, err error) { defer catch(&err) _swig_ret = arg1.SetMax(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceCreateCodecSet(arg2 string, arg3 string) (_swig_ret Ride_codec_Codec, err error) { defer catch(&err) _swig_ret = arg1.CreateCodecSet(arg2, arg3) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceDestroyCodecSet(arg2 Ride_codec_Codec) (err error) { defer catch(&err) arg1.DestroyCodecSet(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceNFLess(arg2 string, arg3 string) (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.NFLess(arg2, arg3) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceNFGreater(arg2 string, arg3 string) (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.NFGreater(arg2, arg3) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceNFBetween(arg2 string, arg3 string, arg4 string) (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.NFBetween(arg2, arg3, arg4) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceNFEquals(arg2 string, arg3 string) (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.NFEquals(arg2, arg3) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceFind(arg2 string) (_swig_ret DocIdVector, err error) { defer catch(&err) _swig_ret = arg1.Find(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceDomainExists(arg2 Lemur_api_DOCID_T) (_swig_ret bool, err error) { defer catch(&err) _swig_ret = arg1.DomainExists(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetDomain(arg2 Lemur_api_DOCID_T) (_swig_ret Domain, err error) { defer catch(&err) var swig_r Domain _swig_i_0 := arg1 _swig_i_1 := arg2.Swigcptr() swig_r = (Domain)(SwigcptrWrapped_Domain(C._wrap_Wrapped_InfoSpace_getDomain_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1)))) return swig_r, err } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceGetDomains(arg2 DocIdVector) (_swig_ret DomainPtrVector, err error) { defer catch(&err) _swig_ret = arg1.GetDomains(arg2) return } func (arg1 SwigcptrWrapped_InfoSpace) InfoSpaceFindExtent(arg2 string, arg3 string, arg4 int64) (_swig_ret StringVector, err error) { defer catch(&err) _swig_ret = arg1.FindExtent(arg2, arg3, arg4) return } func (arg1 SwigcptrWrapped_InfoSpace) NewDomain() (_swig_ret Domain, err error) { defer catch(&err) _swig_i_0 := arg1.Swigcptr() _swig_ret = (Domain)(SwigcptrWrapped_Domain(C._wrap_new_Wrapped_Domain_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)))) return } // NewDomain is part of InfoSpace interface func DeleteDomain(arg1 Domain) { DeleteWrapped_Domain(arg1) } type Domain interface { Wrapped_Domain DomainReclaimProps() (err error) DomainGetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool, err error) DomainSetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool, err error) DomainGetFds(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (_swig_ret StringPairVector, err error) DomainGetMeta(a ...interface{}) (_swig_ret string, err error) DomainSetMeta(a ...interface{}) (_swig_ret string, err error) DomainGetROMeta() (_swig_ret StringPairVector, err error) DomainGetRWMeta() (_swig_ret StringPairVector, err error) DomainGetCursor() (_swig_ret int, err error) DomainSetCursor(arg2 int) (_swig_ret int, err error) DomainGetField(a ...interface{}) (_swig_ret string, err error) DomainSetField(a ...interface{}) (_swig_ret string, err error) DomainAddField(a ...interface{}) (_swig_ret string, err error) DomainGetFields() (_swig_ret StringPairVector, err error) DomainGetFieldCount() (_swig_ret int, err error) DomainPrintTagIndent(arg2 Std_stringstream, arg3 int) (err error) DomainPrintTagOpenValue(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) (err error) DomainPrintTagClose(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) (err error) DomainPrintNode(arg2 Std_stringstream, arg3 Std_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_, arg4 Std_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_, arg5 int, arg6 int) (err error) DomainRenderToString() (_swig_ret string, err error) DomainSave() (_swig_ret Lemur_api_DOCID_T, err error) DomainSaveToFile(arg2 string) (_swig_ret string, err error) } func (arg1 SwigcptrWrapped_Domain) DomainReclaimProps() (err error) { defer catch(&err) arg1.ReclaimProps() return } func (arg1 SwigcptrWrapped_Domain) DomainGetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool, err error) { defer catch(&err) _swig_ret = arg1.GetFd(arg2, arg3, arg4, arg5) return } func (arg1 SwigcptrWrapped_Domain) DomainSetFd(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_, arg3 string, arg4 *string, arg5 *int) (_swig_ret bool, err error) { defer catch(&err) _swig_ret = arg1.SetFd(arg2, arg3, arg4, arg5) return } func (arg1 SwigcptrWrapped_Domain) DomainGetFds(arg2 Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) (_swig_ret StringPairVector, err error) { defer catch(&err) _swig_ret = arg1.GetFds(arg2) return } func (arg1 SwigcptrWrapped_Domain) DomainGetMeta(a ...interface{}) (_swig_ret string, err error) { defer catch(&err) argc := len(a) if argc == 1 { _swig_ret = arg1.GetMeta(a[0].(string)) return } if argc == 2 { _swig_ret = arg1.GetMeta(a[0].(string), a[1].(int)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) DomainSetMeta(a ...interface{}) (_swig_ret string, err error) { defer catch(&err) argc := len(a) if argc == 2 { _swig_ret = arg1.SetMeta(a[0].(string), a[1].(string)) return } if argc == 3 { _swig_ret = arg1.SetMeta(a[0].(string), a[1].(string), a[2].(int)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) DomainGetROMeta() (_swig_ret StringPairVector, err error) { defer catch(&err) _swig_ret = arg1.GetROMeta() return } func (arg1 SwigcptrWrapped_Domain) DomainGetRWMeta() (_swig_ret StringPairVector, err error) { defer catch(&err) _swig_ret = arg1.GetRWMeta() return } func (arg1 SwigcptrWrapped_Domain) DomainGetCursor() (_swig_ret int, err error) { defer catch(&err) _swig_ret = arg1.GetCursor() return } func (arg1 SwigcptrWrapped_Domain) DomainSetCursor(arg2 int) (_swig_ret int, err error) { defer catch(&err) _swig_ret = arg1.SetCursor(arg2) return } func (arg1 SwigcptrWrapped_Domain) DomainGetField(a ...interface{}) (_swig_ret string, err error) { defer catch(&err) argc := len(a) if argc == 1 { _swig_ret = arg1.GetField__SWIG_1(a[0].(string)) return } if argc == 2 { _swig_ret = arg1.GetField__SWIG_0(a[0].(string), a[1].(int)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) DomainSetField(a ...interface{}) (_swig_ret string, err error) { defer catch(&err) argc := len(a) if argc == 2 { _swig_ret = arg1.SetField__SWIG_1(a[0].(string), a[1].(string)) return } if argc == 3 { _swig_ret = arg1.SetField__SWIG_0(a[0].(string), a[1].(string), a[2].(int)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) DomainAddField(a ...interface{}) (_swig_ret string, err error) { defer catch(&err) argc := len(a) if argc == 2 { _swig_ret = arg1.AddField__SWIG_1(a[0].(string), a[1].(string)) return } if argc == 3 { _swig_ret = arg1.AddField__SWIG_0(a[0].(string), a[1].(string), a[2].(int)) return } panic("No match for overloaded function call") } func (arg1 SwigcptrWrapped_Domain) DomainGetFields() (_swig_ret StringPairVector, err error) { defer catch(&err) _swig_ret = arg1.GetFields() return } func (arg1 SwigcptrWrapped_Domain) DomainGetFieldCount() (_swig_ret int, err error) { defer catch(&err) _swig_ret = arg1.GetFieldCount() return } func (arg1 SwigcptrWrapped_Domain) DomainPrintTagIndent(arg2 Std_stringstream, arg3 int) (err error) { defer catch(&err) arg1.PrintTagIndent(arg2, arg3) return } func (arg1 SwigcptrWrapped_Domain) DomainPrintTagOpenValue(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) (err error) { defer catch(&err) arg1.PrintTagOpenValue(arg2, arg3, arg4) return } func (arg1 SwigcptrWrapped_Domain) DomainPrintTagClose(arg2 Std_stringstream, arg3 Wrapped_StringPair, arg4 int) (err error) { defer catch(&err) arg1.PrintTagClose(arg2, arg3, arg4) return } func (arg1 SwigcptrWrapped_Domain) DomainPrintNode(arg2 Std_stringstream, arg3 Std_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_, arg4 Std_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_, arg5 int, arg6 int) (err error) { defer catch(&err) arg1.PrintNode(arg2, arg3, arg4, arg5, arg6) return } func (arg1 SwigcptrWrapped_Domain) DomainRenderToString() (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.RenderToString() return } func (arg1 SwigcptrWrapped_Domain) DomainSave() (_swig_ret Lemur_api_DOCID_T, err error) { defer catch(&err) _swig_ret = arg1.Save() return } func (arg1 SwigcptrWrapped_Domain) DomainSaveToFile(arg2 string) (_swig_ret string, err error) { defer catch(&err) _swig_ret = arg1.SaveToFile(arg2) return } // // extend DocIdVector.i // type Wrapped_DocIdVector interface { DocIdVector WReserve(arg2 int64) (err error) WClear() (err error) WAdd(arg2 Lemur_api_DOCID_T) (err error) WGet(arg2 int) (_swig_ret Lemur_api_DOCID_T, err error) WSet(arg2 int, arg3 Lemur_api_DOCID_T) (err error) } func NewWrapped_DocIdVector(a ...interface{}) (swig_r Wrapped_DocIdVector, err error) { defer catch(&err) argc := len(a) if argc == 0 { swig_r = (Wrapped_DocIdVector)(SwigcptrDocIdVector(C._wrap_new_DocIdVector__SWIG_0_vank_go_073f147d1da00b5b())) return } if argc == 1 { _swig_i_0 := a[0].(int) swig_r = (Wrapped_DocIdVector)(SwigcptrDocIdVector(C._wrap_new_DocIdVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_144(_swig_i_0)))) return } panic("No match for overloaded function call") } func (arg1 SwigcptrDocIdVector) WReserve(arg2 int64) (err error) { defer catch(&err) arg1.Reserve(arg2) return } func (arg1 SwigcptrDocIdVector) WClear() (err error) { defer catch(&err) arg1.Clear() return } func (arg1 SwigcptrDocIdVector) WAdd(arg2 Lemur_api_DOCID_T) (err error) { defer catch(&err) arg1.Add(arg2) return } func (arg1 SwigcptrDocIdVector) WGet(arg2 int) (_swig_ret Lemur_api_DOCID_T, err error) { defer catch(&err) _swig_ret = arg1.Get(arg2) return } func (arg1 SwigcptrDocIdVector) WSet(arg2 int, arg3 Lemur_api_DOCID_T) (err error) { defer catch(&err) arg1.Set(arg2, arg3) return } func DeleteWrapped_DocIdVector(arg1 Wrapped_DocIdVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_DocIdVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } // // extend StringPairVector.i // type Wrapped_StringPairVector interface { StringPairVector WReserve(arg2 int64) (err error) WClear() (err error) WAdd(arg2 Wrapped_StringPair) (err error) WGet(arg2 int) (_swig_ret Wrapped_StringPair, err error) WSet(arg2 int, arg3 Wrapped_StringPair) (err error) } func NewWrapped_StringPairVector(a ...interface{}) (swig_r Wrapped_StringPairVector, err error) { defer catch(&err) argc := len(a) if argc == 0 { swig_r = (Wrapped_StringPairVector)(SwigcptrStringPairVector(C._wrap_new_StringPairVector__SWIG_0_vank_go_073f147d1da00b5b())) return } if argc == 1 { _swig_i_0 := a[0].(int64) swig_r = (Wrapped_StringPairVector)(SwigcptrStringPairVector(C._wrap_new_StringPairVector__SWIG_1_vank_go_073f147d1da00b5b(C.swig_type_154(_swig_i_0)))) return } panic("No match for overloaded function call") } func (arg1 SwigcptrStringPairVector) WReserve(arg2 int64) (err error) { defer catch(&err) arg1.Reserve(arg2) return } func (arg1 SwigcptrStringPairVector) WClear() (err error) { defer catch(&err) arg1.Clear() return } func (arg1 SwigcptrStringPairVector) WAdd(arg2 Wrapped_StringPair) (err error) { defer catch(&err) arg1.Add(arg2) return } func (arg1 SwigcptrStringPairVector) WGet(arg2 int) (_swig_ret Wrapped_StringPair, err error) { defer catch(&err) _swig_ret = arg1.Get(arg2) return } func (arg1 SwigcptrStringPairVector) WSet(arg2 int, arg3 Wrapped_StringPair) (err error) { defer catch(&err) arg1.Set(arg2, arg3) return } func DeleteWrapped_StringPairVector(arg1 Wrapped_StringPairVector) { _swig_i_0 := arg1.Swigcptr() C._wrap_delete_StringPairVector_vank_go_073f147d1da00b5b(C.uintptr_t(_swig_i_0)) } type SwigcptrStd_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ uintptr type Std_vector_Sl_vank_api_ParsedDocument_Sm__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_vank_api_ParsedDocument_Sm__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrTime_t uintptr type Time_t interface { Swigcptr() uintptr; } func (p SwigcptrTime_t) Swigcptr() uintptr { return uintptr(p) } type SwigcptrVank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_ uintptr type Vank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrVank_utility_greedy_vector_Sl_vank_parse_MetadataPair_Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_ uintptr type Std_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_vank_api_QueryAnnotationNode_Sm__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrRide_codec_CodecFactory uintptr type Ride_codec_CodecFactory interface { Swigcptr() uintptr; } func (p SwigcptrRide_codec_CodecFactory) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_vector_Sl_vank_api_DocumentVector_Sm__Sg_ uintptr type Std_vector_Sl_vank_api_DocumentVector_Sm__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_vank_api_DocumentVector_Sm__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_ uintptr type Std_vector_Sl_vank_api_ScoredExtentResult_Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_vank_api_ScoredExtentResult_Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_ uintptr type Std_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_map_Sl_std_string_Sc_std_vector_Sl_vank_api_ScoredExtentResult_Sg__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrRide_api_Des uintptr type Ride_api_Des interface { Swigcptr() uintptr; } func (p SwigcptrRide_api_Des) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_ uintptr type Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_CodecFactory_Sm__Sg__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_ uintptr type Std_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_std_pair_Sl_std_string_Sc_ride_codec_Codec_Sm__Sg__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_ uintptr type Std_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_vector_Sl_std_set_Sl_int_Sg__Sm__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrLemur_api_DOCID_T uintptr type Lemur_api_DOCID_T interface { Swigcptr() uintptr; } func (p SwigcptrLemur_api_DOCID_T) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_stringstream uintptr type Std_stringstream interface { Swigcptr() uintptr; } func (p SwigcptrStd_stringstream) Swigcptr() uintptr { return uintptr(p) } type SwigcptrRide_codec_Codec uintptr type Ride_codec_Codec interface { Swigcptr() uintptr; } func (p SwigcptrRide_codec_Codec) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_ uintptr type Std_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_map_Sl_int_Sc_std_pair_Sl_std_string_Sc_std_string_Sg__Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrSwigDirector_IndexDocumentMetaCallback uintptr type SwigDirector_IndexDocumentMetaCallback interface { Swigcptr() uintptr; } func (p SwigcptrSwigDirector_IndexDocumentMetaCallback) Swigcptr() uintptr { return uintptr(p) } type SwigcptrStd_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_ uintptr type Std_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_ interface { Swigcptr() uintptr; } func (p SwigcptrStd_map_Sl_vank_parse_ConflationPattern_Sm__Sc_std_string_Sg_) Swigcptr() uintptr { return uintptr(p) } type SwigcptrVank_parse_FileClassEnvironmentFactory_Specification uintptr type Vank_parse_FileClassEnvironmentFactory_Specification interface { Swigcptr() uintptr; } func (p SwigcptrVank_parse_FileClassEnvironmentFactory_Specification) Swigcptr() uintptr { return uintptr(p) } var swigDirectorTrack struct { sync.Mutex m map[int]interface{} c int } func swigDirectorAdd(v interface{}) int { swigDirectorTrack.Lock() defer swigDirectorTrack.Unlock() if swigDirectorTrack.m == nil { swigDirectorTrack.m = make(map[int]interface{}) } swigDirectorTrack.c++ ret := swigDirectorTrack.c swigDirectorTrack.m[ret] = v return ret } func swigDirectorLookup(c int) interface{} { swigDirectorTrack.Lock() defer swigDirectorTrack.Unlock() ret := swigDirectorTrack.m[c] if ret == nil { panic("C++ director pointer not found (possible use-after-free)") } return ret } func swigDirectorDelete(c int) { swigDirectorTrack.Lock() defer swigDirectorTrack.Unlock() if swigDirectorTrack.m[c] == nil { if c > swigDirectorTrack.c { panic("C++ director pointer invalid (possible memory corruption") } else { panic("C++ director pointer not found (possible use-after-free)") } } delete(swigDirectorTrack.m, c) }