rroonga 6.0.5-x86-mingw32 → 6.0.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +15 -0
- data/ext/groonga/rb-grn-column.c +23 -17
- data/ext/groonga/rb-grn-context.c +24 -22
- data/ext/groonga/rb-grn-exception.c +2 -256
- data/ext/groonga/rb-grn-index-column.c +21 -9
- data/ext/groonga/rb-grn-object.c +98 -62
- data/ext/groonga/rb-grn-table-sort-keys.c +1 -1
- data/ext/groonga/rb-grn-table.c +2 -2
- data/ext/groonga/rb-grn-variable-size-column.c +13 -7
- data/ext/groonga/rb-grn.h +1 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/rroonga-build.rb +3 -3
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-variable-size-column.rb +1 -1
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/{libmsgpack-4.dll → libmsgpackc.dll} +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +2 -0
- data/vendor/local/include/groonga/groonga/column.h +29 -0
- data/vendor/local/include/groonga/groonga/dump.h +1 -1
- data/vendor/local/include/groonga/groonga/error.h +29 -0
- data/vendor/local/include/groonga/groonga/groonga.h +6 -1
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +4 -70
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/array_ref.hpp +4 -161
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/bool.hpp +2 -53
- data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +1 -146
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +4 -416
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +2 -83
- data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +2 -74
- data/vendor/local/include/msgpack/adaptor/carray.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +2 -144
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +3 -53
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +5 -127
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +5 -78
- data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +5 -78
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +5 -83
- data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +5 -57
- data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +5 -71
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +5 -165
- data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +5 -71
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +5 -171
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +5 -161
- data/vendor/local/include/msgpack/adaptor/define.hpp +3 -17
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +142 -0
- data/vendor/local/include/msgpack/adaptor/deque.hpp +3 -96
- data/vendor/local/include/msgpack/adaptor/ext.hpp +3 -223
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +4 -285
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/float.hpp +2 -110
- data/vendor/local/include/msgpack/adaptor/int.hpp +4 -415
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/list.hpp +2 -93
- data/vendor/local/include/msgpack/adaptor/map.hpp +3 -291
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +2 -6
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/nil.hpp +3 -70
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/pair.hpp +2 -70
- data/vendor/local/include/msgpack/adaptor/raw.hpp +3 -92
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/set.hpp +2 -175
- data/vendor/local/include/msgpack/adaptor/size_equal_only.hpp +17 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/string.hpp +2 -73
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw.hpp +3 -92
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +2 -108
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +2 -75
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +2 -76
- data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +2 -76
- data/vendor/local/include/msgpack/cpp_config.hpp +4 -111
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer.hpp +5 -48
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +33 -0
- data/vendor/local/include/msgpack/iterator.hpp +3 -23
- data/vendor/local/include/msgpack/iterator_decl.hpp +17 -0
- data/vendor/local/include/msgpack/meta.hpp +3 -36
- data/vendor/local/include/msgpack/meta_decl.hpp +17 -0
- data/vendor/local/include/msgpack/object.hpp +5 -799
- data/vendor/local/include/msgpack/object_decl.hpp +17 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +4 -180
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +17 -0
- data/vendor/local/include/msgpack/pack.hpp +4 -1077
- data/vendor/local/include/msgpack/pack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/predef.h +6 -1
- data/vendor/local/include/msgpack/predef/architecture.h +3 -1
- data/vendor/local/include/msgpack/predef/architecture/alpha.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/arm.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/blackfin.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/convex.h +3 -5
- data/vendor/local/include/msgpack/predef/architecture/ia64.h +3 -3
- data/vendor/local/include/msgpack/predef/architecture/m68k.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/mips.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/parisc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/ppc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/pyramid.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/rs6k.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/sparc.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/superh.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/sys370.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/sys390.h +3 -4
- data/vendor/local/include/msgpack/predef/architecture/x86.h +6 -6
- data/vendor/local/include/msgpack/predef/architecture/x86/32.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/x86/64.h +4 -4
- data/vendor/local/include/msgpack/predef/architecture/z.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler.h +3 -1
- data/vendor/local/include/msgpack/predef/compiler/borland.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/clang.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/comeau.h +4 -5
- data/vendor/local/include/msgpack/predef/compiler/compaq.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/diab.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/dignus.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/edg.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/ekopath.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/gcc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +3 -3
- data/vendor/local/include/msgpack/predef/compiler/greenhills.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/iar.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/ibm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/intel.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/kai.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/llvm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/metaware.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/microtec.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/mpw.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/palm.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/pgi.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/sunpro.h +17 -8
- data/vendor/local/include/msgpack/predef/compiler/tendra.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/visualc.h +3 -4
- data/vendor/local/include/msgpack/predef/compiler/watcom.h +3 -4
- data/vendor/local/include/msgpack/predef/detail/_cassert.h +1 -1
- data/vendor/local/include/msgpack/predef/detail/_exception.h +1 -1
- data/vendor/local/include/msgpack/predef/detail/test_def.h +71 -0
- data/vendor/local/include/msgpack/predef/hardware.h +16 -0
- data/vendor/local/include/msgpack/predef/hardware/simd.h +119 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/arm.h +57 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/arm/versions.h +32 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/ppc.h +69 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/ppc/versions.h +51 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86.h +123 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86/versions.h +129 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd.h +87 -0
- data/vendor/local/include/msgpack/predef/hardware/simd/x86_amd/versions.h +51 -0
- data/vendor/local/include/msgpack/predef/language.h +3 -1
- data/vendor/local/include/msgpack/predef/language/objc.h +3 -4
- data/vendor/local/include/msgpack/predef/language/stdc.h +3 -4
- data/vendor/local/include/msgpack/predef/language/stdcpp.h +8 -11
- data/vendor/local/include/msgpack/predef/library.h +3 -1
- data/vendor/local/include/msgpack/predef/library/c.h +3 -1
- data/vendor/local/include/msgpack/predef/library/c/gnu.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/uc.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/vms.h +3 -4
- data/vendor/local/include/msgpack/predef/library/c/zos.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std.h +3 -1
- data/vendor/local/include/msgpack/predef/library/std/cxx.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/libcomo.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/modena.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/msl.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/roguewave.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/sgi.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/stlport.h +3 -4
- data/vendor/local/include/msgpack/predef/library/std/vacpp.h +3 -4
- data/vendor/local/include/msgpack/predef/make.h +2 -2
- data/vendor/local/include/msgpack/predef/os.h +3 -1
- data/vendor/local/include/msgpack/predef/os/aix.h +3 -4
- data/vendor/local/include/msgpack/predef/os/amigaos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/android.h +3 -4
- data/vendor/local/include/msgpack/predef/os/beos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/bsd.h +11 -3
- data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/free.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/net.h +3 -3
- data/vendor/local/include/msgpack/predef/os/bsd/open.h +3 -3
- data/vendor/local/include/msgpack/predef/os/cygwin.h +4 -5
- data/vendor/local/include/msgpack/predef/os/haiku.h +3 -4
- data/vendor/local/include/msgpack/predef/os/hpux.h +3 -4
- data/vendor/local/include/msgpack/predef/os/ios.h +3 -3
- data/vendor/local/include/msgpack/predef/os/irix.h +3 -4
- data/vendor/local/include/msgpack/predef/os/linux.h +3 -4
- data/vendor/local/include/msgpack/predef/os/macos.h +3 -4
- data/vendor/local/include/msgpack/predef/os/os400.h +3 -4
- data/vendor/local/include/msgpack/predef/os/qnxnto.h +3 -4
- data/vendor/local/include/msgpack/predef/os/solaris.h +3 -4
- data/vendor/local/include/msgpack/predef/os/unix.h +3 -3
- data/vendor/local/include/msgpack/predef/os/vms.h +3 -4
- data/vendor/local/include/msgpack/predef/os/windows.h +3 -3
- data/vendor/local/include/msgpack/predef/other.h +3 -1
- data/vendor/local/include/msgpack/predef/other/endian.h +4 -5
- data/vendor/local/include/msgpack/predef/platform.h +3 -1
- data/vendor/local/include/msgpack/predef/platform/mingw.h +3 -4
- data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_phone.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +4 -3
- data/vendor/local/include/msgpack/predef/platform/windows_store.h +4 -3
- data/vendor/local/include/msgpack/predef/version.h +2 -2
- data/vendor/local/include/msgpack/predef/version_number.h +1 -2
- data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/config/config.hpp +5 -2
- data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +4 -0
- data/vendor/local/include/msgpack/preprocessor/library.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +19 -1
- data/vendor/local/include/msgpack/preprocessor/seq/detail/is_empty.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +57 -10
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +58 -10
- data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +18 -2
- data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +18 -2
- data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +1 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +10 -1
- data/vendor/local/include/msgpack/sbuffer.hpp +4 -139
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +17 -0
- data/vendor/local/include/msgpack/sysdep.h +9 -5
- data/vendor/local/include/msgpack/type.hpp +2 -0
- data/vendor/local/include/msgpack/unpack.hpp +5 -1698
- data/vendor/local/include/msgpack/unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/v1/adaptor/adaptor_base.hpp +116 -0
- data/vendor/local/include/msgpack/v1/adaptor/adaptor_base_decl.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +305 -0
- data/vendor/local/include/msgpack/v1/adaptor/array_ref_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v1/adaptor/bool.hpp +66 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +160 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +441 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp +62 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/optional.hpp +96 -0
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_ref.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +253 -0
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +92 -0
- data/vendor/local/include/msgpack/v1/adaptor/check_container_size.hpp +67 -0
- data/vendor/local/include/msgpack/v1/adaptor/check_container_size_decl.hpp +44 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +138 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +94 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp +68 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +175 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +182 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +172 -0
- data/vendor/local/include/msgpack/v1/adaptor/define.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +108 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_array.hpp +6 -71
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp +135 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_define_map.hpp +7 -61
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp +135 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp03_msgpack_tuple.hpp +1095 -579
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +317 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_array.hpp +5 -71
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp +39 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_define_map.hpp +7 -62
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp +37 -0
- data/vendor/local/include/msgpack/{adaptor → v1/adaptor}/detail/cpp11_msgpack_tuple.hpp +30 -85
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +120 -0
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +236 -0
- data/vendor/local/include/msgpack/v1/adaptor/ext_decl.hpp +38 -0
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +283 -0
- data/vendor/local/include/msgpack/v1/adaptor/fixint_decl.hpp +46 -0
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +123 -0
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +426 -0
- data/vendor/local/include/msgpack/v1/adaptor/int_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +106 -0
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +314 -0
- data/vendor/local/include/msgpack/v1/adaptor/map_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v1/adaptor/nil.hpp +76 -0
- data/vendor/local/include/msgpack/v1/adaptor/nil_decl.hpp +44 -0
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +83 -0
- data/vendor/local/include/msgpack/v1/adaptor/raw.hpp +106 -0
- data/vendor/local/include/msgpack/v1/adaptor/raw_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +188 -0
- data/vendor/local/include/msgpack/v1/adaptor/size_equal_only.hpp +118 -0
- data/vendor/local/include/msgpack/v1/adaptor/size_equal_only_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +171 -0
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +165 -0
- data/vendor/local/include/msgpack/v1/adaptor/v4raw.hpp +105 -0
- data/vendor/local/include/msgpack/v1/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +121 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +114 -0
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +114 -0
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +129 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +131 -0
- data/vendor/local/include/msgpack/{detail → v1/detail}/cpp03_zone.hpp +10 -21
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +46 -0
- data/vendor/local/include/msgpack/{detail → v1/detail}/cpp11_zone.hpp +10 -18
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +47 -0
- data/vendor/local/include/msgpack/v1/fbuffer.hpp +60 -0
- data/vendor/local/include/msgpack/v1/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v1/iterator.hpp +40 -0
- data/vendor/local/include/msgpack/v1/iterator_decl.hpp +40 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +47 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v1/object.hpp +865 -0
- data/vendor/local/include/msgpack/v1/object_decl.hpp +112 -0
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +252 -0
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +76 -0
- data/vendor/local/include/msgpack/v1/pack.hpp +1602 -0
- data/vendor/local/include/msgpack/v1/pack_decl.hpp +91 -0
- data/vendor/local/include/msgpack/v1/preprocessor.hpp +19 -0
- data/vendor/local/include/msgpack/v1/sbuffer.hpp +149 -0
- data/vendor/local/include/msgpack/v1/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +1672 -0
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +461 -0
- data/vendor/local/include/msgpack/v1/version.hpp +36 -0
- data/vendor/local/include/msgpack/v1/versioning.hpp +69 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +292 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v1/zbuffer.hpp +159 -0
- data/vendor/local/include/msgpack/v1/zbuffer_decl.hpp +37 -0
- data/vendor/local/include/msgpack/v1/zone.hpp +21 -0
- data/vendor/local/include/msgpack/v1/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v2/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v2/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v2/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v2/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v2/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v2/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v2/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v2/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v2/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v2/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v2/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v2/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v2/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v2/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v2/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v2/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +46 -0
- data/vendor/local/include/msgpack/v2/object.hpp +33 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +109 -0
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +73 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v2/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +1625 -0
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +348 -0
- data/vendor/local/include/msgpack/v2/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +3 -3
- data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -279
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer.hpp +3 -153
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zone.hpp +3 -7
- data/vendor/local/include/msgpack/zone_decl.hpp +16 -0
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +3 -3
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +3 -3
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +3 -3
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +3 -3
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +10 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +82 -1244
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +1250 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +393 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_substring.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_slice.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/client.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/community.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +7 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +44 -41
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/others.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +10 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news.html +257 -1703
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +54 -48
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +18 -12
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +65 -59
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +64 -58
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +61 -55
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +1426 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +44 -41
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -32
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +991 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +69 -69
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +113 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -16
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/server/package.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +82 -1244
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +1250 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +393 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_substring.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_slice.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/client.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/community.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +7 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/index.html +44 -41
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news.html +248 -1638
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +54 -48
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +18 -12
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +65 -59
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +64 -58
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +61 -55
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +1368 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +1014 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +69 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +113 -113
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +163 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +163 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +7 -1
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
- data/vendor/local/share/license/msgpack/README.md +6 -7
- metadata +200 -16
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -41
- data/vendor/local/lib/libmsgpackc.la +0 -41
@@ -0,0 +1,55 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
#ifndef MSGPACK_V1_TYPE_ARRAY_REF_DECL_HPP
|
11
|
+
#define MSGPACK_V1_TYPE_ARRAY_REF_DECL_HPP
|
12
|
+
|
13
|
+
#include "msgpack/versioning.hpp"
|
14
|
+
#include "msgpack/adaptor/adaptor_base.hpp"
|
15
|
+
|
16
|
+
namespace msgpack {
|
17
|
+
|
18
|
+
/// @cond
|
19
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
20
|
+
/// @endcond
|
21
|
+
|
22
|
+
namespace type {
|
23
|
+
|
24
|
+
template <typename T>
|
25
|
+
struct array_ref;
|
26
|
+
|
27
|
+
template <typename T>
|
28
|
+
typename msgpack::enable_if<
|
29
|
+
!msgpack::is_array<T const>::value,
|
30
|
+
array_ref<T const>
|
31
|
+
>::type
|
32
|
+
make_array_ref(T const& t);
|
33
|
+
|
34
|
+
template <typename T>
|
35
|
+
typename msgpack::enable_if<
|
36
|
+
!msgpack::is_array<T>::value,
|
37
|
+
array_ref<T>
|
38
|
+
>::type
|
39
|
+
make_array_ref(T& t);
|
40
|
+
|
41
|
+
template <typename T, std::size_t N>
|
42
|
+
array_ref<const T[N]> make_array_ref(const T(&t)[N]);
|
43
|
+
|
44
|
+
template <typename T, std::size_t N>
|
45
|
+
array_ref<T[N]> make_array_ref(T(&t)[N]);
|
46
|
+
|
47
|
+
} // namespace type
|
48
|
+
|
49
|
+
/// @cond
|
50
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
51
|
+
/// @endcond
|
52
|
+
|
53
|
+
} // namespace msgpack
|
54
|
+
|
55
|
+
#endif // MSGPACK_V1_TYPE_ARRAY_REF_DECL_HPP
|
@@ -0,0 +1,66 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2008-2016 FURUHASHI Sadayuki
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
#ifndef MSGPACK_V1_TYPE_BOOL_HPP
|
11
|
+
#define MSGPACK_V1_TYPE_BOOL_HPP
|
12
|
+
|
13
|
+
#include "msgpack/versioning.hpp"
|
14
|
+
#include "msgpack/adaptor/adaptor_base.hpp"
|
15
|
+
|
16
|
+
namespace msgpack {
|
17
|
+
|
18
|
+
/// @cond
|
19
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
20
|
+
/// @endcond
|
21
|
+
|
22
|
+
namespace adaptor {
|
23
|
+
|
24
|
+
template <>
|
25
|
+
struct convert<bool> {
|
26
|
+
msgpack::object const& operator()(msgpack::object const& o, bool& v) const {
|
27
|
+
if(o.type != msgpack::type::BOOLEAN) { throw msgpack::type_error(); }
|
28
|
+
v = o.via.boolean;
|
29
|
+
return o;
|
30
|
+
}
|
31
|
+
};
|
32
|
+
|
33
|
+
template <>
|
34
|
+
struct pack<bool> {
|
35
|
+
template <typename Stream>
|
36
|
+
msgpack::packer<Stream>& operator()(msgpack::packer<Stream>& o, const bool& v) const {
|
37
|
+
if(v) { o.pack_true(); }
|
38
|
+
else { o.pack_false(); }
|
39
|
+
return o;
|
40
|
+
}
|
41
|
+
};
|
42
|
+
|
43
|
+
template <>
|
44
|
+
struct object<bool> {
|
45
|
+
void operator()(msgpack::object& o, bool v) const {
|
46
|
+
o.type = msgpack::type::BOOLEAN;
|
47
|
+
o.via.boolean = v;
|
48
|
+
}
|
49
|
+
};
|
50
|
+
|
51
|
+
template <>
|
52
|
+
struct object_with_zone<bool> {
|
53
|
+
void operator()(msgpack::object::with_zone& o, bool v) const {
|
54
|
+
static_cast<msgpack::object&>(o) << v;
|
55
|
+
}
|
56
|
+
};
|
57
|
+
|
58
|
+
} // namespace adaptor
|
59
|
+
|
60
|
+
/// @cond
|
61
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
62
|
+
/// @endcond
|
63
|
+
|
64
|
+
} // namespace msgpack
|
65
|
+
|
66
|
+
#endif // MSGPACK_V1_TYPE_BOOL_HPP
|
@@ -0,0 +1,160 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2015-2016 KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
#ifndef MSGPACK_V1_TYPE_BOOST_FUSION_HPP
|
11
|
+
#define MSGPACK_V1_TYPE_BOOST_FUSION_HPP
|
12
|
+
|
13
|
+
#include "msgpack/versioning.hpp"
|
14
|
+
#include "msgpack/adaptor/adaptor_base.hpp"
|
15
|
+
#include "msgpack/adaptor/check_container_size.hpp"
|
16
|
+
#include "msgpack/meta.hpp"
|
17
|
+
|
18
|
+
#if !defined (MSGPACK_USE_CPP03)
|
19
|
+
#include "msgpack/adaptor/cpp11/tuple.hpp"
|
20
|
+
#endif // #if !defined (MSGPACK_USE_CPP03)
|
21
|
+
|
22
|
+
#include <boost/fusion/support/is_sequence.hpp>
|
23
|
+
#include <boost/fusion/sequence/intrinsic/size.hpp>
|
24
|
+
#include <boost/fusion/algorithm/iteration/for_each.hpp>
|
25
|
+
#include <boost/fusion/sequence/intrinsic/at.hpp>
|
26
|
+
#include <boost/fusion/include/mpl.hpp>
|
27
|
+
#include <boost/mpl/size.hpp>
|
28
|
+
|
29
|
+
namespace msgpack {
|
30
|
+
|
31
|
+
/// @cond
|
32
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
33
|
+
/// @endcond
|
34
|
+
|
35
|
+
namespace adaptor {
|
36
|
+
|
37
|
+
#if !defined (MSGPACK_USE_CPP03)
|
38
|
+
|
39
|
+
template <typename T>
|
40
|
+
struct as<
|
41
|
+
T,
|
42
|
+
typename msgpack::enable_if<
|
43
|
+
boost::fusion::traits::is_sequence<T>::value &&
|
44
|
+
boost::mpl::fold<
|
45
|
+
T,
|
46
|
+
boost::mpl::bool_<true>,
|
47
|
+
boost::mpl::if_ <
|
48
|
+
boost::mpl::and_<
|
49
|
+
boost::mpl::_1,
|
50
|
+
msgpack::has_as<boost::mpl::_2>
|
51
|
+
>,
|
52
|
+
boost::mpl::bool_<true>,
|
53
|
+
boost::mpl::bool_<false>
|
54
|
+
>
|
55
|
+
>::type::value
|
56
|
+
>::type
|
57
|
+
> {
|
58
|
+
T operator()(msgpack::object const& o) const {
|
59
|
+
if (o.type != msgpack::type::ARRAY) { throw msgpack::type_error(); }
|
60
|
+
if (o.via.array.size != checked_get_container_size(boost::mpl::size<T>::value)) {
|
61
|
+
throw msgpack::type_error();
|
62
|
+
}
|
63
|
+
using tuple_t = decltype(to_tuple(std::declval<T>(), gen_seq<boost::mpl::size<T>::value>()));
|
64
|
+
return to_t(
|
65
|
+
o.as<tuple_t>(),
|
66
|
+
msgpack::gen_seq<boost::mpl::size<T>::value>());
|
67
|
+
}
|
68
|
+
template<std::size_t... Is, typename U>
|
69
|
+
static std::tuple<
|
70
|
+
typename std::remove_reference<
|
71
|
+
typename boost::fusion::result_of::at_c<T, Is>::type
|
72
|
+
>::type...>
|
73
|
+
to_tuple(U const& u, seq<Is...>) {
|
74
|
+
return std::make_tuple(boost::fusion::at_c<Is>(u)...);
|
75
|
+
}
|
76
|
+
template<std::size_t... Is, typename U>
|
77
|
+
static T to_t(U const& u, seq<Is...>) {
|
78
|
+
return T(std::get<Is>(u)...);
|
79
|
+
}
|
80
|
+
};
|
81
|
+
|
82
|
+
#endif // !defined (MSGPACK_USE_CPP03)
|
83
|
+
|
84
|
+
template <typename T>
|
85
|
+
struct convert<T, typename msgpack::enable_if<boost::fusion::traits::is_sequence<T>::value>::type > {
|
86
|
+
msgpack::object const& operator()(msgpack::object const& o, T& v) const {
|
87
|
+
if (o.type != msgpack::type::ARRAY) { throw msgpack::type_error(); }
|
88
|
+
if (o.via.array.size != checked_get_container_size(boost::fusion::size(v))) {
|
89
|
+
throw msgpack::type_error();
|
90
|
+
}
|
91
|
+
uint32_t index = 0;
|
92
|
+
boost::fusion::for_each(v, convert_imp(o, index));
|
93
|
+
return o;
|
94
|
+
}
|
95
|
+
private:
|
96
|
+
struct convert_imp {
|
97
|
+
convert_imp(msgpack::object const& obj, uint32_t& index):obj_(obj), index_(index) {}
|
98
|
+
template <typename U>
|
99
|
+
void operator()(U& v) const {
|
100
|
+
msgpack::adaptor::convert<U>()(obj_.via.array.ptr[index_++], v);
|
101
|
+
}
|
102
|
+
private:
|
103
|
+
msgpack::object const& obj_;
|
104
|
+
uint32_t& index_;
|
105
|
+
};
|
106
|
+
};
|
107
|
+
|
108
|
+
template <typename T>
|
109
|
+
struct pack<T, typename msgpack::enable_if<boost::fusion::traits::is_sequence<T>::value>::type > {
|
110
|
+
template <typename Stream>
|
111
|
+
msgpack::packer<Stream>& operator()(msgpack::packer<Stream>& o, const T& v) const {
|
112
|
+
uint32_t size = checked_get_container_size(boost::fusion::size(v));
|
113
|
+
o.pack_array(size);
|
114
|
+
boost::fusion::for_each(v, pack_imp<Stream>(o));
|
115
|
+
return o;
|
116
|
+
}
|
117
|
+
private:
|
118
|
+
template <typename Stream>
|
119
|
+
struct pack_imp {
|
120
|
+
pack_imp(msgpack::packer<Stream>& stream):stream_(stream) {}
|
121
|
+
template <typename U>
|
122
|
+
void operator()(U const& v) const {
|
123
|
+
stream_.pack(v);
|
124
|
+
}
|
125
|
+
private:
|
126
|
+
msgpack::packer<Stream>& stream_;
|
127
|
+
};
|
128
|
+
};
|
129
|
+
|
130
|
+
template <typename T>
|
131
|
+
struct object_with_zone<T, typename msgpack::enable_if<boost::fusion::traits::is_sequence<T>::value>::type > {
|
132
|
+
void operator()(msgpack::object::with_zone& o, const T& v) const {
|
133
|
+
uint32_t size = checked_get_container_size(boost::fusion::size(v));
|
134
|
+
o.type = msgpack::type::ARRAY;
|
135
|
+
o.via.array.ptr = static_cast<msgpack::object*>(o.zone.allocate_align(sizeof(msgpack::object)*size));
|
136
|
+
o.via.array.size = size;
|
137
|
+
uint32_t count = 0;
|
138
|
+
boost::fusion::for_each(v, with_zone_imp(o, count));
|
139
|
+
}
|
140
|
+
private:
|
141
|
+
struct with_zone_imp {
|
142
|
+
with_zone_imp(msgpack::object::with_zone const& obj, uint32_t& count):obj_(obj), count_(count) {}
|
143
|
+
template <typename U>
|
144
|
+
void operator()(U const& v) const {
|
145
|
+
obj_.via.array.ptr[count_++] = msgpack::object(v, obj_.zone);
|
146
|
+
}
|
147
|
+
msgpack::object::with_zone const& obj_;
|
148
|
+
uint32_t& count_;
|
149
|
+
};
|
150
|
+
};
|
151
|
+
|
152
|
+
} // namespace adaptor
|
153
|
+
|
154
|
+
/// @cond
|
155
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
156
|
+
/// @endcond
|
157
|
+
|
158
|
+
} // namespace msgpack
|
159
|
+
|
160
|
+
#endif // MSGPACK_V1_TYPE_BOOST_FUSION_HPP
|
@@ -0,0 +1,441 @@
|
|
1
|
+
//
|
2
|
+
// MessagePack for C++ static resolution routine
|
3
|
+
//
|
4
|
+
// Copyright (C) 2015-2016 KONDO Takatoshi
|
5
|
+
//
|
6
|
+
// Distributed under the Boost Software License, Version 1.0.
|
7
|
+
// (See accompanying file LICENSE_1_0.txt or copy at
|
8
|
+
// http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
#ifndef MSGPACK_V1_TYPE_BOOST_MSGPACK_VARIANT_HPP
|
11
|
+
#define MSGPACK_V1_TYPE_BOOST_MSGPACK_VARIANT_HPP
|
12
|
+
|
13
|
+
#if defined(MSGPACK_USE_BOOST)
|
14
|
+
|
15
|
+
#include "msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp"
|
16
|
+
|
17
|
+
#include "msgpack/adaptor/check_container_size.hpp"
|
18
|
+
#include "msgpack/adaptor/boost/string_ref.hpp"
|
19
|
+
|
20
|
+
#include "msgpack/adaptor/nil.hpp"
|
21
|
+
#include "msgpack/adaptor/bool.hpp"
|
22
|
+
#include "msgpack/adaptor/int.hpp"
|
23
|
+
#include "msgpack/adaptor/float.hpp"
|
24
|
+
#include "msgpack/adaptor/string.hpp"
|
25
|
+
#include "msgpack/adaptor/vector_char.hpp"
|
26
|
+
#include "msgpack/adaptor/raw.hpp"
|
27
|
+
#include "msgpack/adaptor/ext.hpp"
|
28
|
+
#include "msgpack/adaptor/vector.hpp"
|
29
|
+
#include "msgpack/adaptor/map.hpp"
|
30
|
+
|
31
|
+
#include <boost/variant.hpp>
|
32
|
+
#include <boost/operators.hpp>
|
33
|
+
|
34
|
+
namespace msgpack {
|
35
|
+
|
36
|
+
/// @cond
|
37
|
+
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
38
|
+
/// @endcond
|
39
|
+
|
40
|
+
namespace type {
|
41
|
+
|
42
|
+
|
43
|
+
template <typename STR, typename BIN, typename EXT>
|
44
|
+
struct basic_variant :
|
45
|
+
boost::variant<
|
46
|
+
nil_t, // NIL
|
47
|
+
bool, // BOOL
|
48
|
+
int64_t, // NEGATIVE_INTEGER
|
49
|
+
uint64_t, // POSITIVE_INTEGER
|
50
|
+
double, // FLOAT
|
51
|
+
std::string, // STR
|
52
|
+
#if (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
53
|
+
boost::string_ref, // STR
|
54
|
+
#endif // (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
55
|
+
std::vector<char>, // BIN
|
56
|
+
msgpack::type::raw_ref, // BIN
|
57
|
+
msgpack::type::ext, // EXT
|
58
|
+
msgpack::type::ext_ref, // EXT
|
59
|
+
boost::recursive_wrapper<std::vector<basic_variant<STR, BIN, EXT> > >, // ARRAY
|
60
|
+
boost::recursive_wrapper<std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >, // MAP
|
61
|
+
boost::recursive_wrapper<std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >// MAP
|
62
|
+
>,
|
63
|
+
private boost::totally_ordered<basic_variant<STR, BIN, EXT> > {
|
64
|
+
typedef boost::variant<
|
65
|
+
nil_t, // NIL
|
66
|
+
bool, // BOOL
|
67
|
+
int64_t, // NEGATIVE_INTEGER
|
68
|
+
uint64_t, // POSITIVE_INTEGER
|
69
|
+
double, // FLOAT
|
70
|
+
std::string, // STR
|
71
|
+
#if (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
72
|
+
boost::string_ref, // STR
|
73
|
+
#endif // (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
74
|
+
std::vector<char>, // BIN
|
75
|
+
msgpack::type::raw_ref, // BIN
|
76
|
+
msgpack::type::ext, // EXT
|
77
|
+
msgpack::type::ext_ref, // EXT
|
78
|
+
boost::recursive_wrapper<std::vector<basic_variant<STR, BIN, EXT> > >, // ARRAY
|
79
|
+
boost::recursive_wrapper<std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >, // MAP
|
80
|
+
boost::recursive_wrapper<std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >// MAP
|
81
|
+
> base;
|
82
|
+
basic_variant() {}
|
83
|
+
template <typename T>
|
84
|
+
basic_variant(T const& t):base(t) {}
|
85
|
+
|
86
|
+
#if defined(_MSC_VER) && _MSC_VER < 1700
|
87
|
+
// The following redundant functions are required to avoid MSVC
|
88
|
+
// See https://svn.boost.org/trac/boost/ticket/592
|
89
|
+
basic_variant(basic_variant const& other):base(static_cast<base const&>(other)) {}
|
90
|
+
basic_variant& operator=(basic_variant const& other) {
|
91
|
+
*static_cast<base*>(this) = static_cast<base const&>(other);
|
92
|
+
return *this;
|
93
|
+
}
|
94
|
+
#endif // defined(_MSC_VER) && _MSC_VER < 1700
|
95
|
+
|
96
|
+
basic_variant(char const* p):base(std::string(p)) {}
|
97
|
+
basic_variant(char v) {
|
98
|
+
int_init(v);
|
99
|
+
}
|
100
|
+
basic_variant(signed char v) {
|
101
|
+
int_init(v);
|
102
|
+
}
|
103
|
+
basic_variant(unsigned char v):base(uint64_t(v)) {}
|
104
|
+
basic_variant(signed int v) {
|
105
|
+
int_init(v);
|
106
|
+
}
|
107
|
+
basic_variant(unsigned int v):base(uint64_t(v)) {}
|
108
|
+
basic_variant(signed long v) {
|
109
|
+
int_init(v);
|
110
|
+
}
|
111
|
+
basic_variant(unsigned long v):base(uint64_t(v)) {}
|
112
|
+
basic_variant(signed long long v) {
|
113
|
+
int_init(v);
|
114
|
+
}
|
115
|
+
basic_variant(unsigned long long v):base(uint64_t(v)) {}
|
116
|
+
|
117
|
+
bool is_nil() const {
|
118
|
+
return boost::get<msgpack::type::nil_t>(this) != MSGPACK_NULLPTR;
|
119
|
+
}
|
120
|
+
bool is_bool() const {
|
121
|
+
return boost::get<bool>(this) != MSGPACK_NULLPTR;
|
122
|
+
}
|
123
|
+
bool is_int64_t() const {
|
124
|
+
return boost::get<int64_t>(this) != MSGPACK_NULLPTR;
|
125
|
+
}
|
126
|
+
bool is_uint64_t() const {
|
127
|
+
return boost::get<uint64_t>(this) != MSGPACK_NULLPTR;
|
128
|
+
}
|
129
|
+
bool is_double() const {
|
130
|
+
return boost::get<double>(this) != MSGPACK_NULLPTR;
|
131
|
+
}
|
132
|
+
bool is_string() const {
|
133
|
+
return boost::get<std::string>(this) != MSGPACK_NULLPTR;
|
134
|
+
}
|
135
|
+
#if (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
136
|
+
bool is_boost_string_ref() const {
|
137
|
+
return boost::get<boost::string_ref>(this) != MSGPACK_NULLPTR;
|
138
|
+
}
|
139
|
+
#endif // (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
140
|
+
bool is_vector_char() const {
|
141
|
+
return boost::get<std::vector<char> >(this) != MSGPACK_NULLPTR;
|
142
|
+
}
|
143
|
+
bool is_vector_char() {
|
144
|
+
return boost::get<std::vector<char> >(this) != MSGPACK_NULLPTR;
|
145
|
+
}
|
146
|
+
bool is_raw_ref() const {
|
147
|
+
return boost::get<raw_ref>(this) != MSGPACK_NULLPTR;
|
148
|
+
}
|
149
|
+
bool is_ext() const {
|
150
|
+
return boost::get<ext>(this) != MSGPACK_NULLPTR;
|
151
|
+
}
|
152
|
+
bool is_ext_ref() const {
|
153
|
+
return boost::get<ext_ref>(this) != MSGPACK_NULLPTR;
|
154
|
+
}
|
155
|
+
bool is_vector() const {
|
156
|
+
return boost::get<std::vector<basic_variant<STR, BIN, EXT> > >(this) != MSGPACK_NULLPTR;
|
157
|
+
}
|
158
|
+
bool is_map() const {
|
159
|
+
return boost::get<std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >(this) != MSGPACK_NULLPTR;
|
160
|
+
}
|
161
|
+
bool is_multimap() const {
|
162
|
+
return boost::get<std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >(this) != MSGPACK_NULLPTR;
|
163
|
+
}
|
164
|
+
|
165
|
+
bool as_bool() const {
|
166
|
+
return boost::get<bool>(*this);
|
167
|
+
}
|
168
|
+
int64_t as_int64_t() const {
|
169
|
+
return boost::get<int64_t>(*this);
|
170
|
+
}
|
171
|
+
int64_t& as_int64_t() {
|
172
|
+
return boost::get<int64_t>(*this);
|
173
|
+
}
|
174
|
+
uint64_t as_uint64_t() const {
|
175
|
+
return boost::get<uint64_t>(*this);
|
176
|
+
}
|
177
|
+
uint64_t& as_uint64_t() {
|
178
|
+
return boost::get<uint64_t>(*this);
|
179
|
+
}
|
180
|
+
double as_double() const {
|
181
|
+
return boost::get<double>(*this);
|
182
|
+
}
|
183
|
+
double& as_double() {
|
184
|
+
return boost::get<double>(*this);
|
185
|
+
}
|
186
|
+
std::string const& as_string() const {
|
187
|
+
return boost::get<std::string>(*this);
|
188
|
+
}
|
189
|
+
std::string& as_string() {
|
190
|
+
return boost::get<std::string>(*this);
|
191
|
+
}
|
192
|
+
#if (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
193
|
+
boost::string_ref const& as_boost_string_ref() const {
|
194
|
+
return boost::get<boost::string_ref>(*this);
|
195
|
+
}
|
196
|
+
boost::string_ref& as_boost_string_ref() {
|
197
|
+
return boost::get<boost::string_ref>(*this);
|
198
|
+
}
|
199
|
+
#endif // (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
200
|
+
std::vector<char> const& as_vector_char() const {
|
201
|
+
return boost::get<std::vector<char> >(*this);
|
202
|
+
}
|
203
|
+
std::vector<char>& as_vector_char() {
|
204
|
+
return boost::get<std::vector<char> >(*this);
|
205
|
+
}
|
206
|
+
raw_ref const& as_raw_ref() const {
|
207
|
+
return boost::get<raw_ref>(*this);
|
208
|
+
}
|
209
|
+
ext const& as_ext() const {
|
210
|
+
return boost::get<ext>(*this);
|
211
|
+
}
|
212
|
+
ext& as_ext() {
|
213
|
+
return boost::get<ext>(*this);
|
214
|
+
}
|
215
|
+
ext_ref const& as_ext_ref() const {
|
216
|
+
return boost::get<ext_ref>(*this);
|
217
|
+
}
|
218
|
+
std::vector<basic_variant<STR, BIN, EXT> > const& as_vector() const {
|
219
|
+
return boost::get<std::vector<basic_variant<STR, BIN, EXT> > >(*this);
|
220
|
+
}
|
221
|
+
std::vector<basic_variant<STR, BIN, EXT> >& as_vector() {
|
222
|
+
return boost::get<std::vector<basic_variant<STR, BIN, EXT> > >(*this);
|
223
|
+
}
|
224
|
+
std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > const& as_map() const {
|
225
|
+
return boost::get<std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >(*this);
|
226
|
+
}
|
227
|
+
std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> >& as_map() {
|
228
|
+
return boost::get<std::map<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >(*this);
|
229
|
+
}
|
230
|
+
std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > const& as_multimap() const {
|
231
|
+
return boost::get<std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >(*this);
|
232
|
+
}
|
233
|
+
std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> >& as_multimap() {
|
234
|
+
return boost::get<std::multimap<basic_variant<STR, BIN, EXT>, basic_variant<STR, BIN, EXT> > >(*this);
|
235
|
+
}
|
236
|
+
private:
|
237
|
+
template <typename T>
|
238
|
+
void int_init(T v) {
|
239
|
+
if (v < 0) {
|
240
|
+
static_cast<base&>(*this) = int64_t(v);
|
241
|
+
}
|
242
|
+
else {
|
243
|
+
static_cast<base&>(*this) = uint64_t(v);
|
244
|
+
}
|
245
|
+
}
|
246
|
+
};
|
247
|
+
|
248
|
+
template <typename STR, typename BIN, typename EXT>
|
249
|
+
inline bool operator<(basic_variant<STR, BIN, EXT> const& lhs, basic_variant<STR, BIN, EXT> const& rhs) {
|
250
|
+
return
|
251
|
+
static_cast<typename basic_variant<STR, BIN, EXT>::base const&>(lhs) <
|
252
|
+
static_cast<typename basic_variant<STR, BIN, EXT>::base const&>(rhs);
|
253
|
+
}
|
254
|
+
|
255
|
+
template <typename STR, typename BIN, typename EXT>
|
256
|
+
inline bool operator==(basic_variant<STR, BIN, EXT> const& lhs, basic_variant<STR, BIN, EXT> const& rhs) {
|
257
|
+
return
|
258
|
+
static_cast<typename basic_variant<STR, BIN, EXT>::base const&>(lhs) ==
|
259
|
+
static_cast<typename basic_variant<STR, BIN, EXT>::base const&>(rhs);
|
260
|
+
}
|
261
|
+
|
262
|
+
typedef basic_variant<std::string, std::vector<char>, ext> variant;
|
263
|
+
typedef basic_variant<
|
264
|
+
#if (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
265
|
+
boost::string_ref,
|
266
|
+
#else // (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
267
|
+
std::string,
|
268
|
+
#endif // (BOOST_VERSION / 100000) >= 1 && ((BOOST_VERSION / 100) % 1000) >= 53
|
269
|
+
raw_ref, ext_ref> variant_ref;
|
270
|
+
|
271
|
+
} // namespace type
|
272
|
+
|
273
|
+
namespace adaptor {
|
274
|
+
|
275
|
+
#if !defined (MSGPACK_USE_CPP03)
|
276
|
+
|
277
|
+
template <typename STR, typename BIN, typename EXT>
|
278
|
+
struct as<type::basic_variant<STR, BIN, EXT> > {
|
279
|
+
type::basic_variant<STR, BIN, EXT> operator()(msgpack::object const& o) const {
|
280
|
+
switch(o.type) {
|
281
|
+
case type::NIL:
|
282
|
+
return o.as<msgpack::type::nil_t>();
|
283
|
+
case type::BOOLEAN:
|
284
|
+
return o.as<bool>();
|
285
|
+
case type::POSITIVE_INTEGER:
|
286
|
+
return o.as<uint64_t>();
|
287
|
+
case type::NEGATIVE_INTEGER:
|
288
|
+
return o.as<int64_t>();
|
289
|
+
case type::FLOAT:
|
290
|
+
return o.as<double>();
|
291
|
+
case type::STR:
|
292
|
+
return o.as<STR>();
|
293
|
+
case type::BIN:
|
294
|
+
return o.as<BIN>();
|
295
|
+
case type::EXT:
|
296
|
+
return o.as<EXT>();
|
297
|
+
case type::ARRAY:
|
298
|
+
return o.as<std::vector<type::basic_variant<STR, BIN, EXT> > >();
|
299
|
+
case type::MAP:
|
300
|
+
return o.as<std::multimap<type::basic_variant<STR, BIN, EXT>, type::basic_variant<STR, BIN, EXT> > >();
|
301
|
+
default:
|
302
|
+
break;
|
303
|
+
}
|
304
|
+
return type::basic_variant<STR, BIN, EXT>();
|
305
|
+
}
|
306
|
+
};
|
307
|
+
|
308
|
+
#endif // !defined (MSGPACK_USE_CPP03)
|
309
|
+
|
310
|
+
|
311
|
+
template <typename STR, typename BIN, typename EXT>
|
312
|
+
struct convert<type::basic_variant<STR, BIN, EXT> > {
|
313
|
+
msgpack::object const& operator()(
|
314
|
+
msgpack::object const& o,
|
315
|
+
type::basic_variant<STR, BIN, EXT>& v) const {
|
316
|
+
switch(o.type) {
|
317
|
+
case type::NIL:
|
318
|
+
v = o.as<msgpack::type::nil_t>();
|
319
|
+
break;
|
320
|
+
case type::BOOLEAN:
|
321
|
+
v = o.as<bool>();
|
322
|
+
break;
|
323
|
+
case type::POSITIVE_INTEGER:
|
324
|
+
v = o.as<uint64_t>();
|
325
|
+
break;
|
326
|
+
case type::NEGATIVE_INTEGER:
|
327
|
+
v = o.as<int64_t>();
|
328
|
+
break;
|
329
|
+
case type::FLOAT:
|
330
|
+
v = o.as<double>();
|
331
|
+
break;
|
332
|
+
case type::STR:
|
333
|
+
v = o.as<STR>();
|
334
|
+
break;
|
335
|
+
case type::BIN:
|
336
|
+
v = o.as<BIN>();
|
337
|
+
break;
|
338
|
+
case type::EXT:
|
339
|
+
v = o.as<EXT>();
|
340
|
+
break;
|
341
|
+
case type::ARRAY:
|
342
|
+
v = o.as<std::vector<type::basic_variant<STR, BIN, EXT> > >();
|
343
|
+
break;
|
344
|
+
case type::MAP:
|
345
|
+
v = o.as<std::multimap<type::basic_variant<STR, BIN, EXT>, type::basic_variant<STR, BIN, EXT> > >();
|
346
|
+
break;
|
347
|
+
default:
|
348
|
+
break;
|
349
|
+
}
|
350
|
+
return o;
|
351
|
+
}
|
352
|
+
};
|
353
|
+
|
354
|
+
namespace detail {
|
355
|
+
|
356
|
+
template <typename Stream>
|
357
|
+
struct pack_imp : boost::static_visitor<void> {
|
358
|
+
template <typename T>
|
359
|
+
void operator()(T const& value) const {
|
360
|
+
pack<T>()(o_, value);
|
361
|
+
}
|
362
|
+
pack_imp(packer<Stream>& o):o_(o) {}
|
363
|
+
packer<Stream>& o_;
|
364
|
+
};
|
365
|
+
|
366
|
+
} // namespace detail
|
367
|
+
|
368
|
+
template <typename STR, typename BIN, typename EXT>
|
369
|
+
struct pack<type::basic_variant<STR, BIN, EXT> > {
|
370
|
+
template <typename Stream>
|
371
|
+
msgpack::packer<Stream>& operator()(msgpack::packer<Stream>& o, const type::basic_variant<STR, BIN, EXT>& v) const {
|
372
|
+
boost::apply_visitor(detail::pack_imp<Stream>(o), v);
|
373
|
+
return o;
|
374
|
+
}
|
375
|
+
};
|
376
|
+
|
377
|
+
namespace detail {
|
378
|
+
|
379
|
+
struct object_imp : boost::static_visitor<void> {
|
380
|
+
void operator()(msgpack::type::nil_t const& v) const {
|
381
|
+
object<msgpack::type::nil_t>()(o_, v);
|
382
|
+
}
|
383
|
+
void operator()(bool const& v) const {
|
384
|
+
object<bool>()(o_, v);
|
385
|
+
}
|
386
|
+
void operator()(uint64_t const& v) const {
|
387
|
+
object<uint64_t>()(o_, v);
|
388
|
+
}
|
389
|
+
void operator()(int64_t const& v) const {
|
390
|
+
object<int64_t>()(o_, v);
|
391
|
+
}
|
392
|
+
void operator()(double const& v) const {
|
393
|
+
object<double>()(o_, v);
|
394
|
+
}
|
395
|
+
template <typename T>
|
396
|
+
void operator()(T const&) const {
|
397
|
+
throw msgpack::type_error();
|
398
|
+
}
|
399
|
+
object_imp(msgpack::object& o):o_(o) {}
|
400
|
+
msgpack::object& o_;
|
401
|
+
};
|
402
|
+
|
403
|
+
} // namespace detail
|
404
|
+
|
405
|
+
template <typename STR, typename BIN, typename EXT>
|
406
|
+
struct object<type::basic_variant<STR, BIN, EXT> > {
|
407
|
+
void operator()(msgpack::object& o, const type::basic_variant<STR, BIN, EXT>& v) const {
|
408
|
+
boost::apply_visitor(detail::object_imp(o), v);
|
409
|
+
}
|
410
|
+
};
|
411
|
+
|
412
|
+
namespace detail {
|
413
|
+
|
414
|
+
struct object_with_zone_imp : boost::static_visitor<void> {
|
415
|
+
template <typename T>
|
416
|
+
void operator()(T const& v) const {
|
417
|
+
object_with_zone<T>()(o_, v);
|
418
|
+
}
|
419
|
+
object_with_zone_imp(msgpack::object::with_zone& o):o_(o) {}
|
420
|
+
msgpack::object::with_zone& o_;
|
421
|
+
};
|
422
|
+
|
423
|
+
} // namespace detail
|
424
|
+
|
425
|
+
template <typename STR, typename BIN, typename EXT>
|
426
|
+
struct object_with_zone<type::basic_variant<STR, BIN, EXT> > {
|
427
|
+
void operator()(msgpack::object::with_zone& o, const type::basic_variant<STR, BIN, EXT>& v) const {
|
428
|
+
boost::apply_visitor(detail::object_with_zone_imp(o), v);
|
429
|
+
}
|
430
|
+
};
|
431
|
+
|
432
|
+
} // namespace adaptor
|
433
|
+
|
434
|
+
/// @cond
|
435
|
+
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
436
|
+
/// @endcond
|
437
|
+
|
438
|
+
} // namespace msgpack
|
439
|
+
|
440
|
+
#endif // MSGPACK_USE_BOOST
|
441
|
+
#endif // MSGPACK_V1_TYPE_BOOST_MSGPACK_VARIANT_HPP
|