├── .Rbuildignore ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── ChangeLog ├── DESCRIPTION ├── NAMESPACE ├── R ├── RcppExports.R └── functions.r ├── README.md ├── inst ├── AUTHORS ├── CITATION ├── COPYRIGHTS ├── NEWS.Rd └── include │ ├── msgpack.h │ ├── msgpack.hpp │ └── msgpack │ ├── adaptor │ ├── adaptor_base.hpp │ ├── adaptor_base_decl.hpp │ ├── array_ref.hpp │ ├── array_ref_decl.hpp │ ├── bool.hpp │ ├── boost │ │ ├── fusion.hpp │ │ ├── msgpack_variant.hpp │ │ ├── msgpack_variant_decl.hpp │ │ ├── optional.hpp │ │ ├── string_ref.hpp │ │ └── string_view.hpp │ ├── carray.hpp │ ├── char_ptr.hpp │ ├── check_container_size.hpp │ ├── check_container_size_decl.hpp │ ├── cpp11 │ │ ├── array.hpp │ │ ├── array_char.hpp │ │ ├── array_unsigned_char.hpp │ │ ├── forward_list.hpp │ │ ├── reference_wrapper.hpp │ │ ├── shared_ptr.hpp │ │ ├── tuple.hpp │ │ ├── unique_ptr.hpp │ │ ├── unordered_map.hpp │ │ └── unordered_set.hpp │ ├── cpp17 │ │ ├── optional.hpp │ │ └── string_view.hpp │ ├── define.hpp │ ├── define_decl.hpp │ ├── deque.hpp │ ├── ext.hpp │ ├── ext_decl.hpp │ ├── fixint.hpp │ ├── fixint_decl.hpp │ ├── float.hpp │ ├── int.hpp │ ├── int_decl.hpp │ ├── list.hpp │ ├── map.hpp │ ├── map_decl.hpp │ ├── msgpack_tuple.hpp │ ├── msgpack_tuple_decl.hpp │ ├── nil.hpp │ ├── nil_decl.hpp │ ├── pair.hpp │ ├── raw.hpp │ ├── raw_decl.hpp │ ├── set.hpp │ ├── size_equal_only.hpp │ ├── size_equal_only_decl.hpp │ ├── string.hpp │ ├── tr1 │ │ ├── unordered_map.hpp │ │ └── unordered_set.hpp │ ├── v4raw.hpp │ ├── v4raw_decl.hpp │ ├── vector.hpp │ ├── vector_bool.hpp │ ├── vector_char.hpp │ └── vector_unsigned_char.hpp │ ├── cpp_config.hpp │ ├── cpp_config_decl.hpp │ ├── fbuffer.h │ ├── fbuffer.hpp │ ├── fbuffer_decl.hpp │ ├── gcc_atomic.h │ ├── gcc_atomic.hpp │ ├── iterator.hpp │ ├── iterator_decl.hpp │ ├── meta.hpp │ ├── meta_decl.hpp │ ├── object.h │ ├── object.hpp │ ├── object_decl.hpp │ ├── object_fwd.hpp │ ├── object_fwd_decl.hpp │ ├── pack.h │ ├── pack.hpp │ ├── pack_decl.hpp │ ├── pack_define.h │ ├── pack_template.h │ ├── parse_return.hpp │ ├── predef.h │ ├── predef │ ├── architecture.h │ ├── architecture │ │ ├── alpha.h │ │ ├── arm.h │ │ ├── blackfin.h │ │ ├── convex.h │ │ ├── ia64.h │ │ ├── m68k.h │ │ ├── mips.h │ │ ├── parisc.h │ │ ├── ppc.h │ │ ├── pyramid.h │ │ ├── rs6k.h │ │ ├── sparc.h │ │ ├── superh.h │ │ ├── sys370.h │ │ ├── sys390.h │ │ ├── x86.h │ │ ├── x86 │ │ │ ├── 32.h │ │ │ └── 64.h │ │ └── z.h │ ├── compiler.h │ ├── compiler │ │ ├── borland.h │ │ ├── clang.h │ │ ├── comeau.h │ │ ├── compaq.h │ │ ├── diab.h │ │ ├── digitalmars.h │ │ ├── dignus.h │ │ ├── edg.h │ │ ├── ekopath.h │ │ ├── gcc.h │ │ ├── gcc_xml.h │ │ ├── greenhills.h │ │ ├── hp_acc.h │ │ ├── iar.h │ │ ├── ibm.h │ │ ├── intel.h │ │ ├── kai.h │ │ ├── llvm.h │ │ ├── metaware.h │ │ ├── metrowerks.h │ │ ├── microtec.h │ │ ├── mpw.h │ │ ├── palm.h │ │ ├── pgi.h │ │ ├── sgi_mipspro.h │ │ ├── sunpro.h │ │ ├── tendra.h │ │ ├── visualc.h │ │ └── watcom.h │ ├── detail │ │ ├── _cassert.h │ │ ├── _exception.h │ │ ├── comp_detected.h │ │ ├── endian_compat.h │ │ ├── os_detected.h │ │ ├── platform_detected.h │ │ ├── test.h │ │ └── test_def.h │ ├── hardware.h │ ├── hardware │ │ ├── simd.h │ │ └── simd │ │ │ ├── arm.h │ │ │ ├── arm │ │ │ └── versions.h │ │ │ ├── ppc.h │ │ │ ├── ppc │ │ │ └── versions.h │ │ │ ├── x86.h │ │ │ ├── x86 │ │ │ └── versions.h │ │ │ ├── x86_amd.h │ │ │ └── x86_amd │ │ │ └── versions.h │ ├── language.h │ ├── language │ │ ├── objc.h │ │ ├── stdc.h │ │ └── stdcpp.h │ ├── library.h │ ├── library │ │ ├── c.h │ │ ├── c │ │ │ ├── _prefix.h │ │ │ ├── gnu.h │ │ │ ├── uc.h │ │ │ ├── vms.h │ │ │ └── zos.h │ │ ├── std.h │ │ └── std │ │ │ ├── _prefix.h │ │ │ ├── cxx.h │ │ │ ├── dinkumware.h │ │ │ ├── libcomo.h │ │ │ ├── modena.h │ │ │ ├── msl.h │ │ │ ├── roguewave.h │ │ │ ├── sgi.h │ │ │ ├── stdcpp3.h │ │ │ ├── stlport.h │ │ │ └── vacpp.h │ ├── make.h │ ├── os.h │ ├── os │ │ ├── aix.h │ │ ├── amigaos.h │ │ ├── android.h │ │ ├── beos.h │ │ ├── bsd.h │ │ ├── bsd │ │ │ ├── bsdi.h │ │ │ ├── dragonfly.h │ │ │ ├── free.h │ │ │ ├── net.h │ │ │ └── open.h │ │ ├── cygwin.h │ │ ├── haiku.h │ │ ├── hpux.h │ │ ├── ios.h │ │ ├── irix.h │ │ ├── linux.h │ │ ├── macos.h │ │ ├── os400.h │ │ ├── qnxnto.h │ │ ├── solaris.h │ │ ├── unix.h │ │ ├── vms.h │ │ └── windows.h │ ├── other.h │ ├── other │ │ └── endian.h │ ├── platform.h │ ├── platform │ │ ├── mingw.h │ │ ├── windows_desktop.h │ │ ├── windows_phone.h │ │ ├── windows_runtime.h │ │ └── windows_store.h │ ├── version.h │ └── version_number.h │ ├── preprocessor.hpp │ ├── preprocessor │ ├── arithmetic.hpp │ ├── arithmetic │ │ ├── add.hpp │ │ ├── dec.hpp │ │ ├── detail │ │ │ └── div_base.hpp │ │ ├── div.hpp │ │ ├── inc.hpp │ │ ├── mod.hpp │ │ ├── mul.hpp │ │ └── sub.hpp │ ├── array.hpp │ ├── array │ │ ├── data.hpp │ │ ├── detail │ │ │ └── get_data.hpp │ │ ├── elem.hpp │ │ ├── enum.hpp │ │ ├── insert.hpp │ │ ├── pop_back.hpp │ │ ├── pop_front.hpp │ │ ├── push_back.hpp │ │ ├── push_front.hpp │ │ ├── remove.hpp │ │ ├── replace.hpp │ │ ├── reverse.hpp │ │ ├── size.hpp │ │ ├── to_list.hpp │ │ ├── to_seq.hpp │ │ └── to_tuple.hpp │ ├── assert_msg.hpp │ ├── cat.hpp │ ├── comma.hpp │ ├── comma_if.hpp │ ├── comparison.hpp │ ├── comparison │ │ ├── equal.hpp │ │ ├── greater.hpp │ │ ├── greater_equal.hpp │ │ ├── less.hpp │ │ ├── less_equal.hpp │ │ └── not_equal.hpp │ ├── config │ │ ├── config.hpp │ │ └── limits.hpp │ ├── control.hpp │ ├── control │ │ ├── deduce_d.hpp │ │ ├── detail │ │ │ ├── dmc │ │ │ │ └── while.hpp │ │ │ ├── edg │ │ │ │ └── while.hpp │ │ │ ├── msvc │ │ │ │ └── while.hpp │ │ │ └── while.hpp │ │ ├── expr_if.hpp │ │ ├── expr_iif.hpp │ │ ├── if.hpp │ │ ├── iif.hpp │ │ └── while.hpp │ ├── debug.hpp │ ├── debug │ │ ├── assert.hpp │ │ ├── error.hpp │ │ └── line.hpp │ ├── dec.hpp │ ├── detail │ │ ├── auto_rec.hpp │ │ ├── check.hpp │ │ ├── dmc │ │ │ └── auto_rec.hpp │ │ ├── is_binary.hpp │ │ ├── is_nullary.hpp │ │ ├── is_unary.hpp │ │ ├── null.hpp │ │ └── split.hpp │ ├── empty.hpp │ ├── enum.hpp │ ├── enum_params.hpp │ ├── enum_params_with_a_default.hpp │ ├── enum_params_with_defaults.hpp │ ├── enum_shifted.hpp │ ├── enum_shifted_params.hpp │ ├── expand.hpp │ ├── expr_if.hpp │ ├── facilities.hpp │ ├── facilities │ │ ├── apply.hpp │ │ ├── detail │ │ │ └── is_empty.hpp │ │ ├── empty.hpp │ │ ├── expand.hpp │ │ ├── identity.hpp │ │ ├── intercept.hpp │ │ ├── is_1.hpp │ │ ├── is_empty.hpp │ │ ├── is_empty_or_1.hpp │ │ ├── is_empty_variadic.hpp │ │ └── overload.hpp │ ├── for.hpp │ ├── identity.hpp │ ├── if.hpp │ ├── inc.hpp │ ├── iterate.hpp │ ├── iteration.hpp │ ├── iteration │ │ ├── detail │ │ │ ├── bounds │ │ │ │ ├── lower1.hpp │ │ │ │ ├── lower2.hpp │ │ │ │ ├── lower3.hpp │ │ │ │ ├── lower4.hpp │ │ │ │ ├── lower5.hpp │ │ │ │ ├── upper1.hpp │ │ │ │ ├── upper2.hpp │ │ │ │ ├── upper3.hpp │ │ │ │ ├── upper4.hpp │ │ │ │ └── upper5.hpp │ │ │ ├── finish.hpp │ │ │ ├── iter │ │ │ │ ├── forward1.hpp │ │ │ │ ├── forward2.hpp │ │ │ │ ├── forward3.hpp │ │ │ │ ├── forward4.hpp │ │ │ │ ├── forward5.hpp │ │ │ │ ├── reverse1.hpp │ │ │ │ ├── reverse2.hpp │ │ │ │ ├── reverse3.hpp │ │ │ │ ├── reverse4.hpp │ │ │ │ └── reverse5.hpp │ │ │ ├── local.hpp │ │ │ ├── rlocal.hpp │ │ │ ├── self.hpp │ │ │ └── start.hpp │ │ ├── iterate.hpp │ │ ├── local.hpp │ │ └── self.hpp │ ├── library.hpp │ ├── limits.hpp │ ├── list.hpp │ ├── list │ │ ├── adt.hpp │ │ ├── append.hpp │ │ ├── at.hpp │ │ ├── cat.hpp │ │ ├── detail │ │ │ ├── dmc │ │ │ │ └── fold_left.hpp │ │ │ ├── edg │ │ │ │ ├── fold_left.hpp │ │ │ │ └── fold_right.hpp │ │ │ ├── fold_left.hpp │ │ │ └── fold_right.hpp │ │ ├── enum.hpp │ │ ├── filter.hpp │ │ ├── first_n.hpp │ │ ├── fold_left.hpp │ │ ├── fold_right.hpp │ │ ├── for_each.hpp │ │ ├── for_each_i.hpp │ │ ├── for_each_product.hpp │ │ ├── rest_n.hpp │ │ ├── reverse.hpp │ │ ├── size.hpp │ │ ├── to_array.hpp │ │ ├── to_seq.hpp │ │ ├── to_tuple.hpp │ │ └── transform.hpp │ ├── logical.hpp │ ├── logical │ │ ├── and.hpp │ │ ├── bitand.hpp │ │ ├── bitnor.hpp │ │ ├── bitor.hpp │ │ ├── bitxor.hpp │ │ ├── bool.hpp │ │ ├── compl.hpp │ │ ├── nor.hpp │ │ ├── not.hpp │ │ ├── or.hpp │ │ └── xor.hpp │ ├── max.hpp │ ├── min.hpp │ ├── punctuation.hpp │ ├── punctuation │ │ ├── comma.hpp │ │ ├── comma_if.hpp │ │ ├── detail │ │ │ └── is_begin_parens.hpp │ │ ├── is_begin_parens.hpp │ │ ├── paren.hpp │ │ ├── paren_if.hpp │ │ └── remove_parens.hpp │ ├── repeat.hpp │ ├── repeat_2nd.hpp │ ├── repeat_3rd.hpp │ ├── repeat_from_to.hpp │ ├── repeat_from_to_2nd.hpp │ ├── repeat_from_to_3rd.hpp │ ├── repetition.hpp │ ├── repetition │ │ ├── deduce_r.hpp │ │ ├── deduce_z.hpp │ │ ├── detail │ │ │ ├── dmc │ │ │ │ └── for.hpp │ │ │ ├── edg │ │ │ │ └── for.hpp │ │ │ ├── for.hpp │ │ │ └── msvc │ │ │ │ └── for.hpp │ │ ├── enum.hpp │ │ ├── enum_binary_params.hpp │ │ ├── enum_params.hpp │ │ ├── enum_params_with_a_default.hpp │ │ ├── enum_params_with_defaults.hpp │ │ ├── enum_shifted.hpp │ │ ├── enum_shifted_binary_params.hpp │ │ ├── enum_shifted_params.hpp │ │ ├── enum_trailing.hpp │ │ ├── enum_trailing_binary_params.hpp │ │ ├── enum_trailing_params.hpp │ │ ├── for.hpp │ │ ├── repeat.hpp │ │ └── repeat_from_to.hpp │ ├── selection.hpp │ ├── selection │ │ ├── max.hpp │ │ └── min.hpp │ ├── seq.hpp │ ├── seq │ │ ├── cat.hpp │ │ ├── detail │ │ │ ├── binary_transform.hpp │ │ │ ├── is_empty.hpp │ │ │ └── split.hpp │ │ ├── elem.hpp │ │ ├── enum.hpp │ │ ├── filter.hpp │ │ ├── first_n.hpp │ │ ├── fold_left.hpp │ │ ├── fold_right.hpp │ │ ├── for_each.hpp │ │ ├── for_each_i.hpp │ │ ├── for_each_product.hpp │ │ ├── insert.hpp │ │ ├── pop_back.hpp │ │ ├── pop_front.hpp │ │ ├── push_back.hpp │ │ ├── push_front.hpp │ │ ├── remove.hpp │ │ ├── replace.hpp │ │ ├── rest_n.hpp │ │ ├── reverse.hpp │ │ ├── seq.hpp │ │ ├── size.hpp │ │ ├── subseq.hpp │ │ ├── to_array.hpp │ │ ├── to_list.hpp │ │ ├── to_tuple.hpp │ │ ├── transform.hpp │ │ └── variadic_seq_to_seq.hpp │ ├── slot.hpp │ ├── slot │ │ ├── counter.hpp │ │ ├── detail │ │ │ ├── counter.hpp │ │ │ ├── def.hpp │ │ │ ├── shared.hpp │ │ │ ├── slot1.hpp │ │ │ ├── slot2.hpp │ │ │ ├── slot3.hpp │ │ │ ├── slot4.hpp │ │ │ └── slot5.hpp │ │ └── slot.hpp │ ├── stringize.hpp │ ├── tuple.hpp │ ├── tuple │ │ ├── detail │ │ │ └── is_single_return.hpp │ │ ├── eat.hpp │ │ ├── elem.hpp │ │ ├── enum.hpp │ │ ├── insert.hpp │ │ ├── pop_back.hpp │ │ ├── pop_front.hpp │ │ ├── push_back.hpp │ │ ├── push_front.hpp │ │ ├── rem.hpp │ │ ├── remove.hpp │ │ ├── replace.hpp │ │ ├── reverse.hpp │ │ ├── size.hpp │ │ ├── to_array.hpp │ │ ├── to_list.hpp │ │ └── to_seq.hpp │ ├── variadic.hpp │ ├── variadic │ │ ├── detail │ │ │ └── is_single_return.hpp │ │ ├── elem.hpp │ │ ├── size.hpp │ │ ├── to_array.hpp │ │ ├── to_list.hpp │ │ ├── to_seq.hpp │ │ └── to_tuple.hpp │ ├── while.hpp │ └── wstringize.hpp │ ├── sbuffer.h │ ├── sbuffer.hpp │ ├── sbuffer_decl.hpp │ ├── sysdep.h │ ├── type.hpp │ ├── unpack.h │ ├── unpack.hpp │ ├── unpack_decl.hpp │ ├── unpack_define.h │ ├── unpack_exception.hpp │ ├── unpack_template.h │ ├── util.h │ ├── v1 │ ├── adaptor │ │ ├── adaptor_base.hpp │ │ ├── adaptor_base_decl.hpp │ │ ├── array_ref.hpp │ │ ├── array_ref_decl.hpp │ │ ├── bool.hpp │ │ ├── boost │ │ │ ├── fusion.hpp │ │ │ ├── msgpack_variant.hpp │ │ │ ├── msgpack_variant_decl.hpp │ │ │ ├── optional.hpp │ │ │ ├── string_ref.hpp │ │ │ └── string_view.hpp │ │ ├── carray.hpp │ │ ├── char_ptr.hpp │ │ ├── check_container_size.hpp │ │ ├── check_container_size_decl.hpp │ │ ├── cpp11 │ │ │ ├── array.hpp │ │ │ ├── array_char.hpp │ │ │ ├── array_unsigned_char.hpp │ │ │ ├── forward_list.hpp │ │ │ ├── reference_wrapper.hpp │ │ │ ├── shared_ptr.hpp │ │ │ ├── tuple.hpp │ │ │ ├── unique_ptr.hpp │ │ │ ├── unordered_map.hpp │ │ │ └── unordered_set.hpp │ │ ├── cpp17 │ │ │ ├── optional.hpp │ │ │ └── string_view.hpp │ │ ├── define.hpp │ │ ├── define_decl.hpp │ │ ├── deque.hpp │ │ ├── detail │ │ │ ├── cpp03_define_array.hpp │ │ │ ├── cpp03_define_array_decl.hpp │ │ │ ├── cpp03_define_map.hpp │ │ │ ├── cpp03_define_map_decl.hpp │ │ │ ├── cpp03_msgpack_tuple.hpp │ │ │ ├── cpp03_msgpack_tuple_decl.hpp │ │ │ ├── cpp11_define_array.hpp │ │ │ ├── cpp11_define_array_decl.hpp │ │ │ ├── cpp11_define_map.hpp │ │ │ ├── cpp11_define_map_decl.hpp │ │ │ ├── cpp11_msgpack_tuple.hpp │ │ │ └── cpp11_msgpack_tuple_decl.hpp │ │ ├── ext.hpp │ │ ├── ext_decl.hpp │ │ ├── fixint.hpp │ │ ├── fixint_decl.hpp │ │ ├── float.hpp │ │ ├── int.hpp │ │ ├── int_decl.hpp │ │ ├── list.hpp │ │ ├── map.hpp │ │ ├── map_decl.hpp │ │ ├── msgpack_tuple.hpp │ │ ├── msgpack_tuple_decl.hpp │ │ ├── nil.hpp │ │ ├── nil_decl.hpp │ │ ├── pair.hpp │ │ ├── raw.hpp │ │ ├── raw_decl.hpp │ │ ├── set.hpp │ │ ├── size_equal_only.hpp │ │ ├── size_equal_only_decl.hpp │ │ ├── string.hpp │ │ ├── tr1 │ │ │ ├── unordered_map.hpp │ │ │ └── unordered_set.hpp │ │ ├── v4raw.hpp │ │ ├── v4raw_decl.hpp │ │ ├── vector.hpp │ │ ├── vector_bool.hpp │ │ ├── vector_char.hpp │ │ └── vector_unsigned_char.hpp │ ├── cpp_config.hpp │ ├── cpp_config_decl.hpp │ ├── detail │ │ ├── cpp03_zone.hpp │ │ ├── cpp03_zone_decl.hpp │ │ ├── cpp11_zone.hpp │ │ └── cpp11_zone_decl.hpp │ ├── fbuffer.hpp │ ├── fbuffer_decl.hpp │ ├── iterator.hpp │ ├── iterator_decl.hpp │ ├── meta.hpp │ ├── meta_decl.hpp │ ├── object.hpp │ ├── object_decl.hpp │ ├── object_fwd.hpp │ ├── object_fwd_decl.hpp │ ├── pack.hpp │ ├── pack_decl.hpp │ ├── parse_return.hpp │ ├── preprocessor.hpp │ ├── sbuffer.hpp │ ├── sbuffer_decl.hpp │ ├── unpack.hpp │ ├── unpack_decl.hpp │ ├── unpack_exception.hpp │ ├── version.hpp │ ├── versioning.hpp │ ├── vrefbuffer.hpp │ ├── vrefbuffer_decl.hpp │ ├── zbuffer.hpp │ ├── zbuffer_decl.hpp │ ├── zone.hpp │ └── zone_decl.hpp │ ├── v2 │ ├── adaptor │ │ ├── adaptor_base.hpp │ │ ├── adaptor_base_decl.hpp │ │ ├── array_ref_decl.hpp │ │ ├── boost │ │ │ └── msgpack_variant_decl.hpp │ │ ├── check_container_size_decl.hpp │ │ ├── define_decl.hpp │ │ ├── detail │ │ │ ├── cpp03_define_array_decl.hpp │ │ │ ├── cpp03_define_map_decl.hpp │ │ │ ├── cpp03_msgpack_tuple_decl.hpp │ │ │ ├── cpp11_define_array_decl.hpp │ │ │ ├── cpp11_define_map_decl.hpp │ │ │ └── cpp11_msgpack_tuple_decl.hpp │ │ ├── ext_decl.hpp │ │ ├── fixint_decl.hpp │ │ ├── int_decl.hpp │ │ ├── map_decl.hpp │ │ ├── msgpack_tuple_decl.hpp │ │ ├── nil_decl.hpp │ │ ├── raw_decl.hpp │ │ ├── size_equal_only_decl.hpp │ │ └── v4raw_decl.hpp │ ├── cpp_config_decl.hpp │ ├── create_object_visitor.hpp │ ├── detail │ │ ├── cpp03_zone_decl.hpp │ │ └── cpp11_zone_decl.hpp │ ├── fbuffer_decl.hpp │ ├── iterator_decl.hpp │ ├── meta_decl.hpp │ ├── null_visitor.hpp │ ├── object.hpp │ ├── object_decl.hpp │ ├── object_fwd.hpp │ ├── object_fwd_decl.hpp │ ├── pack_decl.hpp │ ├── parse.hpp │ ├── parse_return.hpp │ ├── sbuffer_decl.hpp │ ├── unpack.hpp │ ├── unpack_decl.hpp │ ├── vrefbuffer_decl.hpp │ ├── x3_parse.hpp │ ├── x3_unpack.hpp │ ├── zbuffer_decl.hpp │ └── zone_decl.hpp │ ├── version.h │ ├── version.hpp │ ├── version_master.h │ ├── versioning.hpp │ ├── vrefbuffer.h │ ├── vrefbuffer.hpp │ ├── vrefbuffer_decl.hpp │ ├── zbuffer.h │ ├── zbuffer.hpp │ ├── zbuffer_decl.hpp │ ├── zone.h │ ├── zone.hpp │ └── zone_decl.hpp ├── man ├── RcppMsgPack-package.Rd ├── arrayEx.Rd ├── enumEx.Rd ├── msgpack_format.Rd ├── msgpack_map.Rd ├── msgpack_pack.Rd ├── msgpack_read.Rd ├── msgpack_simplify.Rd ├── msgpack_timestamp_decode.Rd ├── msgpack_timestamp_encode.Rd ├── msgpack_unpack.Rd └── msgpack_write.Rd ├── msgpack.org.md ├── src ├── Makevars ├── RcppExports.cpp ├── anyvector.h ├── example1.cpp ├── example2.cpp └── rcppmsgpack_c_functions.cpp ├── tests ├── simpleTests.R └── tests.r └── vignettes ├── msgpack_flowchart.pdf ├── msgpack_flowchart.png ├── msgpack_flowchart.xml └── vignette.rmd /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | ^\.travis\.yml 4 | msgpack.org.md 5 | rebuild.sh 6 | .*\.tar\.gz 7 | ^local 8 | rticle 9 | ^\.github 10 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- 1 | # Run CI for R using https://eddelbuettel.github.io/r-ci/ 2 | 3 | name: ci 4 | 5 | on: 6 | push: 7 | pull_request: 8 | 9 | env: 10 | _R_CHECK_FORCE_SUGGESTS_: "false" 11 | 12 | jobs: 13 | ci: 14 | strategy: 15 | matrix: 16 | include: 17 | #- {os: macOS-latest} 18 | - {os: ubuntu-latest} 19 | 20 | runs-on: ${{ matrix.os }} 21 | 22 | steps: 23 | - name: Checkout 24 | uses: actions/checkout@v4 25 | 26 | - name: Setup 27 | uses: eddelbuettel/github-actions/r-ci@master 28 | 29 | - name: Dependencies 30 | run: ./run.sh install_all 31 | 32 | - name: Test 33 | run: ./run.sh run_tests 34 | 35 | #- name: Coverage 36 | # if: ${{ matrix.os == 'ubuntu-latest' }} 37 | # run: ./run.sh coverage 38 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | .Ruserdata 5 | src/*.o 6 | src/*.so 7 | src/*.dll 8 | Rcpp*.tar.gz 9 | *.Rcheck 10 | ..Rcheck 11 | rebuild.sh 12 | local 13 | .DS_Store 14 | -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- 1 | useDynLib(RcppMsgPack, .registration=TRUE) 2 | importFrom("Rcpp", "evalCpp") 3 | export("msgpack_format", "msgpack_map", "msgpack_pack", "msgpack_simplify", "msgpack_unpack", 4 | "msgpackFormat", "msgpackMap", "msgpackPack", "msgpackSimplify", "msgpackUnpack", 5 | "msgpack_timestamp_encode", "msgpackTimestampEncode", "msgpack_timestamp_decode", "msgpackTimestampDecode", 6 | "msgpack_write", "msgpackWrite", "msgpack_read", "msgpackRead", 7 | "arrayEx", "enumEx") 8 | -------------------------------------------------------------------------------- /inst/AUTHORS: -------------------------------------------------------------------------------- 1 | MsgPack is written mostly by Sadayuki Furuhashi and Takatoshi Kondo and 2 | released under ths Boost Software License, Version 1.0 3 | 4 | The MsgPack website contains a copyright footer 5 | 6 | Copyright © 2008-2013 Sadayuki Furuhashi 7 | 8 | The included header files for msgpack-c, version 1.4.2 contains copyright 9 | notices which can be aggregated (via grep, sort, uniq and minor manual 10 | editing to create per-author supersets) to 11 | 12 | Copyright (c) 2008-2015 FURUHASHI Sadayuki and KONDO Takatoshi 13 | Copyright (c) 2008-2012 Rene Rivera 14 | Copyright (c) 2002-2012 Paul Mensonides 15 | Copyright (c) 2002 Anthony Ventimiglia 16 | Copyright (c) 2011-2014 Edward Diener 17 | Copyright (c) 2013 Vladimir Volodko 18 | Copyright (c) 2014 Microsoft Corporation 19 | Copyright (c) 2014 Franz Detro 20 | Copyright (c) 2014 Jessica Hamilton 21 | Copyright (c) 2015 MIZUKI Hirata 22 | Copyright (c) 2015 Charly Chevalier 23 | Copyright (c) 2015 Joel Falcou 24 | 25 | -------------------------------------------------------------------------------- /inst/CITATION: -------------------------------------------------------------------------------- 1 | bibentry("Manual", 2 | other = unlist(citation(auto = meta), recursive = FALSE)) 3 | 4 | bibentry("Article", 5 | title = "RcppMsgPack: MessagePack Headers and Interface Functions for R", 6 | author = c(person("Travers", "Ching", 7 | comment = c(ORCID = "0000-0002-5577-3516")), 8 | person("Dirk", "Eddelbuettel", 9 | email = "edd@debian.org", 10 | comment = c(ORCID = "0000-0001-6419-907X"))), 11 | journal = "The R Journal", 12 | year = "2018", 13 | volume = "10", 14 | number = "2", 15 | pages = "516--525", 16 | doi = "10.32614/RJ-2018-068") 17 | -------------------------------------------------------------------------------- /inst/COPYRIGHTS: -------------------------------------------------------------------------------- 1 | 2 | Overall license: 3 | ================ 4 | The (vast) majority of the files in this package are released under the 5 | Boost Software License, Versin 1.0 (ie BSL-1.0). 6 | 7 | The aggregation, integration and packaging work is released under the 8 | GNU GPL (>= 2). 9 | 10 | Details: 11 | ======== 12 | 13 | Files: * 14 | Copyright: 2016 Dirk Eddelbuettel 15 | Copyright: 2017 - Travers Ching and Dirk Eddelbuettel 16 | License: GPL (>= 2) 17 | 18 | Files inst/include/*: 19 | Copyright: 2008 - 2016 FURUHASHI Sadayuki 20 | Copyright: 2008 - 2016 FURUHASHI Sadayuki and KONDO Takatoshi 21 | Copyright: 2013 - 2016 KONDO Takatoshi 22 | Copyright: 2013 - 2016 Vladimir Volodko and KONDO Takatoshi 23 | Copyright: 2015 - 2016 MIZUKI Hirata 24 | Portions Copyright: 2015 Charly Chevalier 25 | Portions Copyright: 2015 Joel Falcou 26 | Portions Copyright: 2011 - 2014 Edward Diener 27 | Portions Copyright: 2002 - 2012 Paul Mensonides 28 | Portions Copyright: 2014 Microsoft Corporation 29 | Portions Copyright: 2014 Franz Detro 30 | Portions Copyright: 2014 Jessica Hamilton 31 | Portions Copyright: 2005- 2014 Rene Rivera 32 | License: BSL-1.0 33 | -------------------------------------------------------------------------------- /inst/include/msgpack.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack for C 3 | * 4 | * Copyright (C) 2008-2009 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 | /** 11 | * @defgroup msgpack MessagePack C 12 | * @{ 13 | * @} 14 | */ 15 | 16 | #include "msgpack/util.h" 17 | #include "msgpack/object.h" 18 | #include "msgpack/zone.h" 19 | #include "msgpack/pack.h" 20 | #include "msgpack/unpack.h" 21 | #include "msgpack/sbuffer.h" 22 | #include "msgpack/vrefbuffer.h" 23 | #include "msgpack/version.h" 24 | 25 | -------------------------------------------------------------------------------- /inst/include/msgpack.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ 3 | // 4 | // Copyright (C) 2008-2009 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 | #include "msgpack/object.hpp" 11 | #include "msgpack/iterator.hpp" 12 | #include "msgpack/zone.hpp" 13 | #include "msgpack/pack.hpp" 14 | #include "msgpack/unpack.hpp" 15 | #include "msgpack/sbuffer.hpp" 16 | #include "msgpack/vrefbuffer.hpp" 17 | #include "msgpack/version.hpp" 18 | #include "msgpack/type.hpp" 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/adaptor_base.hpp: -------------------------------------------------------------------------------- 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_ADAPTOR_BASE_HPP 11 | #define MSGPACK_ADAPTOR_BASE_HPP 12 | 13 | #include "msgpack/adaptor/adaptor_base_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/adaptor_base.hpp" 16 | #include "msgpack/v2/adaptor/adaptor_base.hpp" 17 | 18 | #endif // MSGPACK_ADAPTOR_BASE_HPP 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/adaptor_base_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_ADAPTOR_BASE_DECL_HPP 11 | #define MSGPACK_ADAPTOR_BASE_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/adaptor_base_decl.hpp" 14 | #include "msgpack/v2/adaptor/adaptor_base_decl.hpp" 15 | 16 | #endif // MSGPACK_ADAPTOR_BASE_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/array_ref.hpp: -------------------------------------------------------------------------------- 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_TYPE_ARRAY_REF_HPP 11 | #define MSGPACK_TYPE_ARRAY_REF_HPP 12 | 13 | #include "msgpack/adaptor/array_ref_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/array_ref.hpp" 16 | 17 | #endif // MSGPACK_TYPE_ARRAY_REFL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/array_ref_decl.hpp: -------------------------------------------------------------------------------- 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_TYPE_ARRAY_REF_DECL_HPP 11 | #define MSGPACK_TYPE_ARRAY_REF_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/array_ref_decl.hpp" 14 | #include "msgpack/v2/adaptor/array_ref_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_ARRAY_REF_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/bool.hpp: -------------------------------------------------------------------------------- 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_TYPE_BOOL_HPP 11 | #define MSGPACK_TYPE_BOOL_HPP 12 | 13 | #include "msgpack/v1/adaptor/bool.hpp" 14 | 15 | #endif // MSGPACK_TYPE_BOOL_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/boost/fusion.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2015 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_TYPE_BOOST_FUSION_HPP 11 | #define MSGPACK_TYPE_BOOST_FUSION_HPP 12 | 13 | #include "msgpack/v1/adaptor/boost/fusion.hpp" 14 | 15 | #endif // MSGPACK_TYPE_BOOST_FUSION_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/boost/msgpack_variant.hpp: -------------------------------------------------------------------------------- 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_TYPE_BOOST_MSGPACK_VARIANT_HPP 11 | #define MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_HPP 12 | 13 | #include "msgpack/adaptor/boost/msgpack_variant_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/boost/msgpack_variant.hpp" 16 | //#include "msgpack/v2/adaptor/boost/msgpack_variant.hpp" 17 | 18 | #endif // MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_HPP 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP 11 | #define MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp" 14 | #include "msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/boost/optional.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_BOOST_OPTIONAL_HPP 11 | #define MSGPACK_TYPE_BOOST_OPTIONAL_HPP 12 | 13 | #include "msgpack/v1/adaptor/boost/optional.hpp" 14 | 15 | #endif // MSGPACK_TYPE_BOOST_OPTIONAL_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/boost/string_ref.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_BOOST_STRING_REF_HPP 11 | #define MSGPACK_TYPE_BOOST_STRING_REF_HPP 12 | 13 | #include "msgpack/v1/adaptor/boost/string_ref.hpp" 14 | 15 | #endif // MSGPACK_TYPE_BOOST_STRING_REF_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/boost/string_view.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2017 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_TYPE_BOOST_STRING_VIEW_HPP 11 | #define MSGPACK_TYPE_BOOST_STRING_VIEW_HPP 12 | 13 | #include "msgpack/v1/adaptor/boost/string_view.hpp" 14 | 15 | #endif // MSGPACK_TYPE_BOOST_STRING_VIEW_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/carray.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_CARRAY_HPP 11 | #define MSGPACK_TYPE_CARRAY_HPP 12 | 13 | #include "msgpack/v1/adaptor/carray.hpp" 14 | 15 | #endif // MSGPACK_TYPE_CARRAY_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/char_ptr.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_CHAR_PTR_HPP 11 | #define MSGPACK_TYPE_CHAR_PTR_HPP 12 | 13 | #include "msgpack/v1/adaptor/char_ptr.hpp" 14 | 15 | #endif // MSGPACK_TYPE_CHAR_PTR_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/check_container_size.hpp: -------------------------------------------------------------------------------- 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_CHECK_CONTAINER_SIZE_HPP 11 | #define MSGPACK_CHECK_CONTAINER_SIZE_HPP 12 | 13 | #include "msgpack/adaptor/check_container_size_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/check_container_size.hpp" 16 | 17 | #endif // MSGPACK_CHECK_CONTAINER_SIZE_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/check_container_size_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_CHECK_CONTAINER_SIZE_DECL_HPP 11 | #define MSGPACK_CHECK_CONTAINER_SIZE_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/check_container_size_decl.hpp" 14 | #include "msgpack/v2/adaptor/check_container_size_decl.hpp" 15 | 16 | #endif // MSGPACK_CHECK_CONTAINER_SIZE_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/array.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_ARRAY_HPP 12 | #define MSGPACK_TYPE_CPP11_ARRAY_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/array.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_ARRAY_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/array_char.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_ARRAY_CHAR_HPP 12 | #define MSGPACK_TYPE_CPP11_ARRAY_CHAR_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/array_char.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_ARRAY_CHAR_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_ARRAY_UNSIGNED_CHAR_HPP 12 | #define MSGPACK_TYPE_CPP11_ARRAY_UNSIGNED_CHAR_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_ARRAY_UNSIGNED_CHAR_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/forward_list.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_FORWARD_LIST_HPP 12 | #define MSGPACK_TYPE_CPP11_FORWARD_LIST_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/forward_list.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_FORWARD_LIST_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/reference_wrapper.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_REFERENCE_WRAPPER_HPP 12 | #define MSGPACK_TYPE_CPP11_REFERENCE_WRAPPER_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/reference_wrapper.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_REFERENCE_WRAPPER_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/shared_ptr.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_SHARED_PTR_HPP 12 | #define MSGPACK_TYPE_CPP11_SHARED_PTR_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/shared_ptr.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_SHARED_PTR_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/tuple.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_TUPLE_HPP 12 | #define MSGPACK_TYPE_CPP11_TUPLE_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/tuple.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_TUPLE_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/unique_ptr.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_UNIQUE_PTR_HPP 12 | #define MSGPACK_TYPE_CPP11_UNIQUE_PTR_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/unique_ptr.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_UNIQUE_PTR_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/unordered_map.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_UNORDERED_MAP_HPP 12 | #define MSGPACK_TYPE_CPP11_UNORDERED_MAP_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/unordered_map.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_UNORDERED_MAP_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp11/unordered_set.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_TYPE_CPP11_UNORDERED_SET_HPP 12 | #define MSGPACK_TYPE_CPP11_UNORDERED_SET_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp11/unordered_set.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP11_UNORDERED_SET_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp17/optional.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2017 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 | 11 | #ifndef MSGPACK_TYPE_CPP17_OPTIONAL_HPP 12 | #define MSGPACK_TYPE_CPP17_OPTIONAL_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp17/optional.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP17_OPTIONAL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/cpp17/string_view.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2017 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 | 11 | #ifndef MSGPACK_TYPE_CPP17_STRING_VIEW_HPP 12 | #define MSGPACK_TYPE_CPP17_STRING_VIEW_HPP 13 | 14 | #include "msgpack/v1/adaptor/cpp17/string_view.hpp" 15 | 16 | #endif // MSGPACK_TYPE_CPP17_STRING_VIEW_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/define.hpp: -------------------------------------------------------------------------------- 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_DEFINE_HPP 11 | #define MSGPACK_DEFINE_HPP 12 | 13 | #include "msgpack/adaptor/define_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/define.hpp" 16 | 17 | #endif // MSGPACK_DEFINE_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/deque.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_DEQUE_HPP 11 | #define MSGPACK_TYPE_DEQUE_HPP 12 | 13 | #include "msgpack/v1/adaptor/deque.hpp" 14 | 15 | #endif // MSGPACK_TYPE_DEQUE_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/ext.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2015 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_TYPE_EXT_HPP 11 | #define MSGPACK_TYPE_EXT_HPP 12 | 13 | #include "msgpack/adaptor/ext_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/ext.hpp" 16 | 17 | #endif // MSGPACK_TYPE_EXT_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/ext_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_EXT_DECL_HPP 11 | #define MSGPACK_TYPE_EXT_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/ext_decl.hpp" 14 | #include "msgpack/v2/adaptor/ext_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_EXT_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/fixint.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_FIXINT_HPP 11 | #define MSGPACK_TYPE_FIXINT_HPP 12 | 13 | #include "msgpack/adaptor/fixint_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/fixint.hpp" 16 | 17 | #endif // MSGPACK_TYPE_FIXINT_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/fixint_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_FIXINT_DECL_HPP 11 | #define MSGPACK_TYPE_FIXINT_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/fixint_decl.hpp" 14 | #include "msgpack/v2/adaptor/fixint_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_FIXINT_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/float.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_FLOAT_HPP 11 | #define MSGPACK_TYPE_FLOAT_HPP 12 | 13 | #include "msgpack/v1/adaptor/float.hpp" 14 | 15 | #endif // MSGPACK_TYPE_FLOAT_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/int.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_INT_HPP 11 | #define MSGPACK_TYPE_INT_HPP 12 | 13 | #include "msgpack/adaptor/int_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/int.hpp" 16 | 17 | #endif // MSGPACK_TYPE_INT_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/int_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_INT_DECL_HPP 11 | #define MSGPACK_TYPE_INT_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/int_decl.hpp" 14 | #include "msgpack/v2/adaptor/int_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_INT_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/list.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_LIST_HPP 11 | #define MSGPACK_TYPE_LIST_HPP 12 | 13 | #include "msgpack/v1/adaptor/list.hpp" 14 | 15 | #endif // MSGPACK_TYPE_LIST_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/map.hpp: -------------------------------------------------------------------------------- 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_TYPE_MAP_HPP 11 | #define MSGPACK_TYPE_MAP_HPP 12 | 13 | #include "msgpack/adaptor/map_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/map.hpp" 16 | 17 | 18 | #endif // MSGPACK_TYPE_MAP_HPP 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/map_decl.hpp: -------------------------------------------------------------------------------- 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_TYPE_MAP_DECL_HPP 11 | #define MSGPACK_TYPE_MAP_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/map_decl.hpp" 14 | #include "msgpack/v2/adaptor/map_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_MAP_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/msgpack_tuple.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2008-2014 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_MSGPACK_TUPLE_HPP 11 | #define MSGPACK_MSGPACK_TUPLE_HPP 12 | 13 | #include "msgpack/adaptor/msgpack_tuple_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/msgpack_tuple.hpp" 16 | 17 | #endif // MSGPACK_MSGPACK_TUPLE_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/msgpack_tuple_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_MSGPACK_TUPLE_DECL_HPP 11 | #define MSGPACK_MSGPACK_TUPLE_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/msgpack_tuple_decl.hpp" 14 | #include "msgpack/v2/adaptor/msgpack_tuple_decl.hpp" 15 | 16 | #endif // MSGPACK_MSGPACK_TUPLE_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/nil.hpp: -------------------------------------------------------------------------------- 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_TYPE_NIL_HPP 11 | #define MSGPACK_TYPE_NIL_HPP 12 | 13 | #include "msgpack/adaptor/nil_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/nil.hpp" 16 | 17 | #endif // MSGPACK_TYPE_NIL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/nil_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_NIL_DECL_HPP 11 | #define MSGPACK_TYPE_NIL_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/nil_decl.hpp" 14 | #include "msgpack/v2/adaptor/nil_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_NIL_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/pair.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_PAIR_HPP 11 | #define MSGPACK_TYPE_PAIR_HPP 12 | 13 | #include "msgpack/v1/adaptor/pair.hpp" 14 | 15 | #endif // MSGPACK_TYPE_PAIR_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/raw.hpp: -------------------------------------------------------------------------------- 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_TYPE_RAW_HPP 11 | #define MSGPACK_TYPE_RAW_HPP 12 | 13 | #include "msgpack/adaptor/raw_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/raw.hpp" 16 | 17 | #endif // MSGPACK_TYPE_RAW_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/raw_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_RAW_DECL_HPP 11 | #define MSGPACK_TYPE_RAW_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/raw_decl.hpp" 14 | #include "msgpack/v2/adaptor/raw_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_RAW_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/set.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_SET_HPP 11 | #define MSGPACK_TYPE_SET_HPP 12 | 13 | #include "msgpack/v1/adaptor/set.hpp" 14 | 15 | #endif // MSGPACK_TYPE_SET_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/size_equal_only.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_SIZE_EQUAL_ONLY_HPP 11 | #define MSGPACK_TYPE_SIZE_EQUAL_ONLY_HPP 12 | 13 | #include "msgpack/adaptor/size_equal_only_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/size_equal_only.hpp" 16 | 17 | #endif // MSGPACK_TYPE_SIZE_EQUAL_ONLYL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/size_equal_only_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_SIZE_EQUAL_ONLY_DECL_HPP 11 | #define MSGPACK_TYPE_SIZE_EQUAL_ONLY_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/size_equal_only_decl.hpp" 14 | #include "msgpack/v2/adaptor/size_equal_only_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_SIZE_EQUAL_ONLY_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/string.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_STRING_HPP 11 | #define MSGPACK_TYPE_STRING_HPP 12 | 13 | #include "msgpack/v1/adaptor/string.hpp" 14 | 15 | #endif // MSGPACK_TYPE_STRING_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/v4raw.hpp: -------------------------------------------------------------------------------- 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_TYPE_V4RAW_HPP 11 | #define MSGPACK_TYPE_V4RAW_HPP 12 | 13 | #include "msgpack/adaptor/v4raw_decl.hpp" 14 | 15 | #include "msgpack/v1/adaptor/v4raw.hpp" 16 | 17 | #endif // MSGPACK_TYPE_V4RAW_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/v4raw_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_V4RAW_DECL_HPP 11 | #define MSGPACK_TYPE_V4RAW_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/v4raw_decl.hpp" 14 | #include "msgpack/v2/adaptor/v4raw_decl.hpp" 15 | 16 | #endif // MSGPACK_TYPE_V4RAW_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/vector.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_VECTOR_HPP 11 | #define MSGPACK_TYPE_VECTOR_HPP 12 | 13 | #include "msgpack/v1/adaptor/vector.hpp" 14 | 15 | #endif // MSGPACK_TYPE_VECTOR_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/vector_bool.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_VECTOR_BOOL_HPP 11 | #define MSGPACK_TYPE_VECTOR_BOOL_HPP 12 | 13 | #include "msgpack/v1/adaptor/vector_bool.hpp" 14 | 15 | #endif // MSGPACK_TYPE_VECTOR_BOOL_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/vector_char.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_VECTOR_CHAR_HPP 11 | #define MSGPACK_TYPE_VECTOR_CHAR_HPP 12 | 13 | #include "msgpack/v1/adaptor/vector_char.hpp" 14 | 15 | #endif // MSGPACK_TYPE_VECTOR_CHAR_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/adaptor/vector_unsigned_char.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_TYPE_VECTOR_UNSIGNED_CHAR_HPP 11 | #define MSGPACK_TYPE_VECTOR_UNSIGNED_CHAR_HPP 12 | 13 | #include "msgpack/v1/adaptor/vector_unsigned_char.hpp" 14 | 15 | #endif // MSGPACK_TYPE_VECTOR_UNSIGNED_CHAR_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/cpp_config.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ C++03/C++11 Adaptation 3 | // 4 | // Copyright (C) 2013-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_CPP_CONFIG_HPP 11 | #define MSGPACK_CPP_CONFIG_HPP 12 | 13 | #include "msgpack/cpp_config_decl.hpp" 14 | 15 | #include "msgpack/v1/cpp_config.hpp" 16 | 17 | #endif // MSGPACK_CPP_CONFIG_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/cpp_config_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ C++03/C++11 Adaptation 3 | // 4 | // Copyright (C) 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_CPP_CONFIG_DECL_HPP 11 | #define MSGPACK_CPP_CONFIG_DECL_HPP 12 | 13 | #include "msgpack/v1/cpp_config_decl.hpp" 14 | #include "msgpack/v2/cpp_config_decl.hpp" 15 | 16 | #endif // MSGPACK_CPP_CONFIG_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/fbuffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack for C FILE* buffer adaptor 3 | * 4 | * Copyright (C) 2013 Vladimir Volodko 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_FBUFFER_H 11 | #define MSGPACK_FBUFFER_H 12 | 13 | #include 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | 20 | /** 21 | * @defgroup msgpack_fbuffer FILE* buffer 22 | * @ingroup msgpack_buffer 23 | * @{ 24 | */ 25 | 26 | static inline int msgpack_fbuffer_write(void* data, const char* buf, size_t len) 27 | { 28 | return (len == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1; 29 | } 30 | 31 | /** @} */ 32 | 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif /* msgpack/fbuffer.h */ 39 | -------------------------------------------------------------------------------- /inst/include/msgpack/fbuffer.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ FILE* buffer adaptor 3 | // 4 | // Copyright (C) 2013 Vladimir Volodko 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_FBUFFER_HPP 11 | #define MSGPACK_FBUFFER_HPP 12 | 13 | #include "msgpack/fbuffer_decl.hpp" 14 | 15 | #include "msgpack/v1/fbuffer.hpp" 16 | 17 | #endif // MSGPACK_FBUFFER_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/fbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ FILE* buffer adaptor 3 | // 4 | // Copyright (C) 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_FBUFFER_DECL_HPP 11 | #define MSGPACK_FBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/fbuffer_decl.hpp" 14 | #include "msgpack/v2/fbuffer_decl.hpp" 15 | 16 | #endif // MSGPACK_FBUFFER_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/gcc_atomic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Distributed under the Boost Software License, Version 1.0. 3 | * (See accompanying file LICENSE_1_0.txt or copy at 4 | * http://www.boost.org/LICENSE_1_0.txt) 5 | */ 6 | 7 | #ifndef MSGPACK_GCC_ATOMIC_H 8 | #define MSGPACK_GCC_ATOMIC_H 9 | 10 | #if defined(__cplusplus) 11 | extern "C" { 12 | #endif 13 | 14 | typedef int _msgpack_atomic_counter_t; 15 | 16 | int _msgpack_sync_decr_and_fetch(volatile _msgpack_atomic_counter_t* ptr); 17 | int _msgpack_sync_incr_and_fetch(volatile _msgpack_atomic_counter_t* ptr); 18 | 19 | 20 | #if defined(__cplusplus) 21 | } 22 | #endif 23 | 24 | 25 | #endif // MSGPACK_GCC_ATOMIC_H 26 | -------------------------------------------------------------------------------- /inst/include/msgpack/gcc_atomic.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ old gcc workaround for atomic operation 3 | // 4 | // Copyright (C) 2008-2013 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 | 11 | #ifndef MSGPACK_GCC_ATOMIC_HPP 12 | #define MSGPACK_GCC_ATOMIC_HPP 13 | 14 | #if defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41) 15 | 16 | #include "msgpack/gcc_atomic.h" 17 | #include 18 | 19 | int _msgpack_sync_decr_and_fetch(volatile _msgpack_atomic_counter_t* ptr) 20 | { 21 | return __gnu_cxx::__exchange_and_add(ptr, -1) - 1; 22 | } 23 | 24 | int _msgpack_sync_incr_and_fetch(volatile _msgpack_atomic_counter_t* ptr) 25 | { 26 | return __gnu_cxx::__exchange_and_add(ptr, 1) + 1; 27 | } 28 | 29 | #endif // old gcc workaround 30 | 31 | #endif /* gcc_atomic.hpp */ 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/iterator.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2015-2016 MIZUKI Hirata 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 | 11 | #ifndef MSGPACK_ITERATOR_HPP 12 | #define MSGPACK_ITERATOR_HPP 13 | 14 | #include 15 | 16 | #include 17 | 18 | #endif // MSGPACK_ITERATOR_HPP 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/iterator_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_ITERATOR_DECL_HPP 12 | #define MSGPACK_ITERATOR_DECL_HPP 13 | 14 | #include 15 | #include 16 | 17 | #endif // MSGPACK_V1_ITERATOR_DECL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/meta.hpp: -------------------------------------------------------------------------------- 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 | 11 | #ifndef MSGPACK_META_HPP 12 | #define MSGPACK_META_HPP 13 | 14 | #include "msgpack/meta_decl.hpp" 15 | 16 | #include "msgpack/v1/meta.hpp" 17 | 18 | #endif // MSGPACK_META_HPP 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/meta_decl.hpp: -------------------------------------------------------------------------------- 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 | 11 | #ifndef MSGPACK_META_DECL_HPP 12 | #define MSGPACK_META_DECL_HPP 13 | 14 | #include "msgpack/v1/meta_decl.hpp" 15 | #include "msgpack/v2/meta_decl.hpp" 16 | 17 | #endif // MSGPACK_META_DECL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/object.hpp: -------------------------------------------------------------------------------- 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_OBJECT_HPP 11 | #define MSGPACK_OBJECT_HPP 12 | 13 | #include "msgpack/object_decl.hpp" 14 | 15 | #include "msgpack/v1/object.hpp" 16 | #include "msgpack/v2/object.hpp" 17 | 18 | #endif // MSGPACK_OBJECT_HPP 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/object_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_OBJECT_DECL_HPP 12 | #define MSGPACK_OBJECT_DECL_HPP 13 | 14 | #include "msgpack/v1/object_decl.hpp" 15 | #include "msgpack/v2/object_decl.hpp" 16 | 17 | #endif // MSGPACK_OBJECT_DECL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/object_fwd.hpp: -------------------------------------------------------------------------------- 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 | 11 | #ifndef MSGPACK_OBJECT_FWD_HPP 12 | #define MSGPACK_OBJECT_FWD_HPP 13 | 14 | #include "msgpack/object_fwd_decl.hpp" 15 | 16 | #include "msgpack/v1/object_fwd.hpp" 17 | #include "msgpack/v2/object_fwd.hpp" 18 | 19 | #endif // MSGPACK_OBJECT_FWD_HPP 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/object_fwd_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_OBJECT_FWD_DECL_HPP 12 | #define MSGPACK_OBJECT_FWD_DECL_HPP 13 | 14 | #include "msgpack/v1/object_fwd_decl.hpp" 15 | #include "msgpack/v2/object_fwd_decl.hpp" 16 | 17 | #endif // MSGPACK_OBJECT_FWD_DECL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/pack.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ serializing 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_PACK_HPP 11 | #define MSGPACK_PACK_HPP 12 | 13 | #include "msgpack/pack_decl.hpp" 14 | 15 | #include "msgpack/v1/pack.hpp" 16 | 17 | #endif // MSGPACK_PACK_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/pack_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ serializing routine 3 | // 4 | // Copyright (C) 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_PACK_DECL_HPP 11 | #define MSGPACK_PACK_DECL_HPP 12 | 13 | #include "msgpack/v1/pack_decl.hpp" 14 | #include "msgpack/v2/pack_decl.hpp" 15 | 16 | #endif // MSGPACK_PACK_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/pack_define.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack unpacking routine template 3 | * 4 | * Copyright (C) 2008-2010 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_PACK_DEFINE_H 11 | #define MSGPACK_PACK_DEFINE_H 12 | 13 | #include "msgpack/sysdep.h" 14 | #include 15 | #include 16 | 17 | #endif /* msgpack/pack_define.h */ 18 | 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/parse_return.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deserializing routine 3 | // 4 | // Copyright (C) 2017 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_PARSE_RETURN_HPP 11 | #define MSGPACK_PARSE_RETURN_HPP 12 | 13 | #include "msgpack/v1/parse_return.hpp" 14 | #include "msgpack/v2/parse_return.hpp" 15 | 16 | #endif // MSGPACK_PARSE_RETURN_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(MSGPACK_PREDEF_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef MSGPACK_PREDEF_H 10 | #define MSGPACK_PREDEF_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | #include 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/architecture/pyramid.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_ARCHITECTURE_PYRAMID_H 9 | #define MSGPACK_PREDEF_ARCHITECTURE_PYRAMID_H 10 | 11 | #include 12 | #include 13 | 14 | /*` 15 | [heading `MSGPACK_ARCH_PYRAMID`] 16 | 17 | Pyramid 9810 architecture. 18 | 19 | [table 20 | [[__predef_symbol__] [__predef_version__]] 21 | 22 | [[`pyr`] [__predef_detection__]] 23 | ] 24 | */ 25 | 26 | #define MSGPACK_ARCH_PYRAMID MSGPACK_VERSION_NUMBER_NOT_AVAILABLE 27 | 28 | #if defined(pyr) 29 | # undef MSGPACK_ARCH_PYRAMID 30 | # define MSGPACK_ARCH_PYRAMID MSGPACK_VERSION_NUMBER_AVAILABLE 31 | #endif 32 | 33 | #if MSGPACK_ARCH_PYRAMID 34 | # define MSGPACK_ARCH_PYRAMID_AVAILABLE 35 | #endif 36 | 37 | #define MSGPACK_ARCH_PYRAMID_NAME "Pyramid 9810" 38 | 39 | #endif 40 | 41 | #include 42 | MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_ARCH_PYRAMID,MSGPACK_ARCH_PYRAMID_NAME) 43 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/architecture/x86.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #include 9 | #include 10 | 11 | #ifndef MSGPACK_PREDEF_ARCHITECTURE_X86_H 12 | #define MSGPACK_PREDEF_ARCHITECTURE_X86_H 13 | 14 | /*` 15 | [heading `MSGPACK_ARCH_X86`] 16 | 17 | [@http://en.wikipedia.org/wiki/X86 Intel x86] architecture. This is 18 | a category to indicate that either `MSGPACK_ARCH_X86_32` or 19 | `MSGPACK_ARCH_X86_64` is detected. 20 | */ 21 | 22 | #define MSGPACK_ARCH_X86 MSGPACK_VERSION_NUMBER_NOT_AVAILABLE 23 | 24 | #if MSGPACK_ARCH_X86_32 || MSGPACK_ARCH_X86_64 25 | # undef MSGPACK_ARCH_X86 26 | # define MSGPACK_ARCH_X86 MSGPACK_VERSION_NUMBER_AVAILABLE 27 | #endif 28 | 29 | #if MSGPACK_ARCH_X86 30 | # define MSGPACK_ARCH_X86_AVAILABLE 31 | #endif 32 | 33 | #define MSGPACK_ARCH_X86_NAME "Intel x86" 34 | 35 | #endif 36 | 37 | #include 38 | MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_ARCH_X86,MSGPACK_ARCH_X86_NAME) 39 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/architecture/z.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_ARCHITECTURE_Z_H 9 | #define MSGPACK_PREDEF_ARCHITECTURE_Z_H 10 | 11 | #include 12 | #include 13 | 14 | /*` 15 | [heading `MSGPACK_ARCH_Z`] 16 | 17 | [@http://en.wikipedia.org/wiki/Z/Architecture z/Architecture] architecture. 18 | 19 | [table 20 | [[__predef_symbol__] [__predef_version__]] 21 | 22 | [[`__SYSC_ZARCH__`] [__predef_detection__]] 23 | ] 24 | */ 25 | 26 | #define MSGPACK_ARCH_Z MSGPACK_VERSION_NUMBER_NOT_AVAILABLE 27 | 28 | #if defined(__SYSC_ZARCH__) 29 | # undef MSGPACK_ARCH_Z 30 | # define MSGPACK_ARCH_Z MSGPACK_VERSION_NUMBER_AVAILABLE 31 | #endif 32 | 33 | #if MSGPACK_ARCH_Z 34 | # define MSGPACK_ARCH_Z_AVAILABLE 35 | #endif 36 | 37 | #define MSGPACK_ARCH_Z_NAME "z/Architecture" 38 | 39 | #endif 40 | 41 | #include 42 | MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_ARCH_Z,MSGPACK_ARCH_Z_NAME) 43 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/_cassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL__CASSERT_H 9 | #define MSGPACK_PREDEF_DETAIL__CASSERT_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #else 14 | #include 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/_exception.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL__EXCEPTION_H 9 | #define MSGPACK_PREDEF_DETAIL__EXCEPTION_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/comp_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL_COMP_DETECTED 9 | #define MSGPACK_PREDEF_DETAIL_COMP_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/endian_compat.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL_ENDIAN_COMPAT_H 9 | #define MSGPACK_PREDEF_DETAIL_ENDIAN_COMPAT_H 10 | 11 | #include 12 | 13 | #if MSGPACK_ENDIAN_BIG_BYTE 14 | # define MSGPACK_BIG_ENDIAN 15 | # define MSGPACK_BYTE_ORDER 4321 16 | #endif 17 | #if MSGPACK_ENDIAN_LITTLE_BYTE 18 | # define MSGPACK_LITTLE_ENDIAN 19 | # define MSGPACK_BYTE_ORDER 1234 20 | #endif 21 | #if MSGPACK_ENDIAN_LITTLE_WORD 22 | # define MSGPACK_PDP_ENDIAN 23 | # define MSGPACK_BYTE_ORDER 2134 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/os_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL_OS_DETECTED 9 | #define MSGPACK_PREDEF_DETAIL_OS_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/platform_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL_PLAT_DETECTED 9 | #define MSGPACK_PREDEF_DETAIL_PLAT_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/detail/test.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_DETAIL_TEST_H 9 | #define MSGPACK_PREDEF_DETAIL_TEST_H 10 | 11 | #if !defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 12 | 13 | #define MSGPACK_PREDEF_DECLARE_TEST(x,s) 14 | 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/hardware.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Charly Chevalier 2015 3 | Copyright Joel Falcou 2015 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #if !defined(MSGPACK_PREDEF_HARDWARE_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 10 | #ifndef MSGPACK_PREDEF_HARDWARE_H 11 | #define MSGPACK_PREDEF_HARDWARE_H 12 | #endif 13 | 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/hardware/simd/arm/versions.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Charly Chevalier 2015 3 | Copyright Joel Falcou 2015 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef MSGPACK_PREDEF_HARDWARE_SIMD_ARM_VERSIONS_H 10 | #define MSGPACK_PREDEF_HARDWARE_SIMD_ARM_VERSIONS_H 11 | 12 | #include 13 | 14 | /*` 15 | Those defines represent ARM SIMD extensions versions. 16 | 17 | [note You *MUST* compare them with the predef `MSGPACK_HW_SIMD_ARM`.] 18 | */ 19 | 20 | // --------------------------------- 21 | 22 | /*` 23 | [heading `MSGPACK_HW_SIMD_ARM_NEON_VERSION`] 24 | 25 | The [@https://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29 NEON] 26 | ARM extension version number. 27 | 28 | Version number is: *1.0.0*. 29 | */ 30 | #define MSGPACK_HW_SIMD_ARM_NEON_VERSION MSGPACK_VERSION_NUMBER(1, 0, 0) 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/language.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(MSGPACK_PREDEF_LANGUAGE_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef MSGPACK_PREDEF_LANGUAGE_H 10 | #define MSGPACK_PREDEF_LANGUAGE_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/language/objc.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_LANGUAGE_OBJC_H 9 | #define MSGPACK_PREDEF_LANGUAGE_OBJC_H 10 | 11 | #include 12 | #include 13 | 14 | /*` 15 | [heading `MSGPACK_LANG_OBJC`] 16 | 17 | [@http://en.wikipedia.org/wiki/Objective-C Objective-C] language. 18 | 19 | [table 20 | [[__predef_symbol__] [__predef_version__]] 21 | 22 | [[`__OBJC__`] [__predef_detection__]] 23 | ] 24 | */ 25 | 26 | #define MSGPACK_LANG_OBJC MSGPACK_VERSION_NUMBER_NOT_AVAILABLE 27 | 28 | #if defined(__OBJC__) 29 | # undef MSGPACK_LANG_OBJC 30 | # define MSGPACK_LANG_OBJC MSGPACK_VERSION_NUMBER_AVAILABLE 31 | #endif 32 | 33 | #if MSGPACK_LANG_OBJC 34 | # define MSGPACK_LANG_OBJC_AVAILABLE 35 | #endif 36 | 37 | #define MSGPACK_LANG_OBJC_NAME "Objective-C" 38 | 39 | #endif 40 | 41 | #include 42 | MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_LANG_OBJC,MSGPACK_LANG_OBJC_NAME) 43 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/library.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(MSGPACK_PREDEF_LIBRARY_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef MSGPACK_PREDEF_LIBRARY_H 10 | #define MSGPACK_PREDEF_LIBRARY_H 11 | #endif 12 | 13 | #include 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/library/c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(MSGPACK_PREDEF_LIBRARY_C_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef MSGPACK_PREDEF_LIBRARY_C_H 10 | #define MSGPACK_PREDEF_LIBRARY_C_H 11 | #endif 12 | 13 | #include 14 | 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/library/c/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_LIBRARY_C__PREFIX_H 9 | #define MSGPACK_PREDEF_LIBRARY_C__PREFIX_H 10 | 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/library/std.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | #if !defined(MSGPACK_PREDEF_LIBRARY_STD_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 8 | #ifndef MSGPACK_PREDEF_LIBRARY_STD_H 9 | #define MSGPACK_PREDEF_LIBRARY_STD_H 10 | #endif 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/library/std/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | #ifndef MSGPACK_PREDEF_LIBRARY_STD__PREFIX_H 8 | #define MSGPACK_PREDEF_LIBRARY_STD__PREFIX_H 9 | 10 | /* 11 | We need to include an STD header to gives us the context 12 | of which library we are using. The "smallest" code-wise header 13 | seems to be . Boost uses but as far 14 | as I can tell (RR) it's not a stand-alone header in most 15 | implementations. Using also has the benefit of 16 | being available in EC++, so we get a chance to make this work 17 | for embedded users. And since it's not a header impacted by TR1 18 | there's no magic needed for inclusion in the face of the 19 | Boost.TR1 library. 20 | */ 21 | #include 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/os.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Copyright Franz Detro 2014 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #if !defined(MSGPACK_PREDEF_OS_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 10 | #ifndef MSGPACK_PREDEF_OS_H 11 | #define MSGPACK_PREDEF_OS_H 12 | #endif 13 | 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/other.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(MSGPACK_PREDEF_OTHER_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef MSGPACK_PREDEF_OTHER_H 10 | #define MSGPACK_PREDEF_OTHER_H 11 | #endif 12 | 13 | #include 14 | /*#include */ 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/platform.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013-2015 3 | Copyright (c) Microsoft Corporation 2014 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #if !defined(MSGPACK_PREDEF_PLATFORM_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) 10 | #ifndef MSGPACK_PREDEF_PLATFORM_H 11 | #define MSGPACK_PREDEF_PLATFORM_H 12 | #endif 13 | 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | /*#include */ 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/predef/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2015-2016 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef MSGPACK_PREDEF_VERSION_H 9 | #define MSGPACK_PREDEF_VERSION_H 10 | 11 | #include 12 | 13 | #define MSGPACK_PREDEF_VERSION MSGPACK_VERSION_NUMBER(1,4,1) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org/libs/preprocessor for documentation. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_HPP 15 | # define MSGPACK_PREPROCESSOR_HPP 16 | # 17 | # include 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/arithmetic.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_ARITHMETIC_HPP 15 | # define MSGPACK_PREPROCESSOR_ARITHMETIC_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # include 22 | # include 23 | # include 24 | # 25 | # endif 26 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/assert_msg.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ASSERT_MSG_HPP 13 | # define MSGPACK_PREPROCESSOR_ASSERT_MSG_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/cat.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_CAT_HPP 15 | # define MSGPACK_PREPROCESSOR_CAT_HPP 16 | # 17 | # include 18 | # 19 | # /* MSGPACK_PP_CAT */ 20 | # 21 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC() 22 | # define MSGPACK_PP_CAT(a, b) MSGPACK_PP_CAT_I(a, b) 23 | # else 24 | # define MSGPACK_PP_CAT(a, b) MSGPACK_PP_CAT_OO((a, b)) 25 | # define MSGPACK_PP_CAT_OO(par) MSGPACK_PP_CAT_I ## par 26 | # endif 27 | # 28 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC() 29 | # define MSGPACK_PP_CAT_I(a, b) a ## b 30 | # else 31 | # define MSGPACK_PP_CAT_I(a, b) MSGPACK_PP_CAT_II(~, a ## b) 32 | # define MSGPACK_PP_CAT_II(p, res) res 33 | # endif 34 | # 35 | # endif 36 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/comma.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_COMMA_HPP 13 | # define MSGPACK_PREPROCESSOR_COMMA_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/comma_if.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_COMMA_IF_HPP 13 | # define MSGPACK_PREPROCESSOR_COMMA_IF_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/comparison.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_COMPARISON_HPP 15 | # define MSGPACK_PREPROCESSOR_COMPARISON_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # include 22 | # include 23 | # 24 | # endif 25 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/comparison/equal.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_COMPARISON_EQUAL_HPP 15 | # define MSGPACK_PREPROCESSOR_COMPARISON_EQUAL_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_EQUAL */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_EQUAL(x, y) MSGPACK_PP_COMPL(MSGPACK_PP_NOT_EQUAL(x, y)) 25 | # else 26 | # define MSGPACK_PP_EQUAL(x, y) MSGPACK_PP_EQUAL_I(x, y) 27 | # define MSGPACK_PP_EQUAL_I(x, y) MSGPACK_PP_COMPL(MSGPACK_PP_NOT_EQUAL(x, y)) 28 | # endif 29 | # 30 | # /* MSGPACK_PP_EQUAL_D */ 31 | # 32 | # define MSGPACK_PP_EQUAL_D(d, x, y) MSGPACK_PP_EQUAL(x, y) 33 | # 34 | # endif 35 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/config/limits.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # /* Revised by Edward Diener (2011) */ 12 | # 13 | # /* See http://www.boost.org for most recent version. */ 14 | # 15 | # ifndef MSGPACK_PREPROCESSOR_CONFIG_LIMITS_HPP 16 | # define MSGPACK_PREPROCESSOR_CONFIG_LIMITS_HPP 17 | # 18 | # define MSGPACK_PP_LIMIT_MAG 256 19 | # define MSGPACK_PP_LIMIT_TUPLE 64 20 | # define MSGPACK_PP_LIMIT_DIM 3 21 | # define MSGPACK_PP_LIMIT_REPEAT 256 22 | # define MSGPACK_PP_LIMIT_WHILE 256 23 | # define MSGPACK_PP_LIMIT_FOR 256 24 | # define MSGPACK_PP_LIMIT_ITERATION 256 25 | # define MSGPACK_PP_LIMIT_ITERATION_DIM 3 26 | # define MSGPACK_PP_LIMIT_SEQ 256 27 | # define MSGPACK_PP_LIMIT_SLOT_SIG 10 28 | # define MSGPACK_PP_LIMIT_SLOT_COUNT 5 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/control.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_CONTROL_HPP 13 | # define MSGPACK_PREPROCESSOR_CONTROL_HPP 14 | # 15 | # include 16 | # include 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # endif 23 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/control/deduce_d.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_CONTROL_DEDUCE_D_HPP 13 | # define MSGPACK_PREPROCESSOR_CONTROL_DEDUCE_D_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* MSGPACK_PP_DEDUCE_D */ 19 | # 20 | # define MSGPACK_PP_DEDUCE_D() MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256) 21 | # 22 | # endif 23 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/control/expr_if.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_CONTROL_EXPR_IF_HPP 15 | # define MSGPACK_PREPROCESSOR_CONTROL_EXPR_IF_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_EXPR_IF */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_EXPR_IF(cond, expr) MSGPACK_PP_EXPR_IIF(MSGPACK_PP_BOOL(cond), expr) 25 | # else 26 | # define MSGPACK_PP_EXPR_IF(cond, expr) MSGPACK_PP_EXPR_IF_I(cond, expr) 27 | # define MSGPACK_PP_EXPR_IF_I(cond, expr) MSGPACK_PP_EXPR_IIF(MSGPACK_PP_BOOL(cond), expr) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/control/if.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_CONTROL_IF_HPP 15 | # define MSGPACK_PREPROCESSOR_CONTROL_IF_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_IF */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_IF(cond, t, f) MSGPACK_PP_IIF(MSGPACK_PP_BOOL(cond), t, f) 25 | # else 26 | # define MSGPACK_PP_IF(cond, t, f) MSGPACK_PP_IF_I(cond, t, f) 27 | # define MSGPACK_PP_IF_I(cond, t, f) MSGPACK_PP_IIF(MSGPACK_PP_BOOL(cond), t, f) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/debug.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_DEBUG_HPP 13 | # define MSGPACK_PREPROCESSOR_DEBUG_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # endif 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/dec.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_DEC_HPP 13 | # define MSGPACK_PREPROCESSOR_DEC_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/detail/null.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_DETAIL_NULL_HPP 13 | # define MSGPACK_PREPROCESSOR_DETAIL_NULL_HPP 14 | # 15 | # /* empty file */ 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/empty.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_EMPTY_HPP 13 | # define MSGPACK_PREPROCESSOR_EMPTY_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/enum.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_HPP 13 | # define MSGPACK_PREPROCESSOR_ENUM_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/enum_params.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_PARAMS_HPP 13 | # define MSGPACK_PREPROCESSOR_ENUM_PARAMS_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/enum_params_with_a_default.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT_HPP 13 | # define MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/enum_params_with_defaults.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_DEFAULTS_HPP 13 | # define MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_DEFAULTS_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/enum_shifted.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_SHIFTED_HPP 13 | # define MSGPACK_PREPROCESSOR_ENUM_SHIFTED_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/enum_shifted_params.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_SHIFTED_PARAMS_HPP 13 | # define MSGPACK_PREPROCESSOR_ENUM_SHIFTED_PARAMS_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/expand.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_EXPAND_HPP 13 | # define MSGPACK_PREPROCESSOR_EXPAND_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/expr_if.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_EXPR_IF_HPP 13 | # define MSGPACK_PREPROCESSOR_EXPR_IF_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/facilities/empty.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_EMPTY_HPP 15 | # define MSGPACK_PREPROCESSOR_FACILITIES_EMPTY_HPP 16 | # 17 | # include 18 | # 19 | # /* MSGPACK_PP_EMPTY */ 20 | # 21 | # define MSGPACK_PP_EMPTY() 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/facilities/expand.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_EXPAND_HPP 15 | # define MSGPACK_PREPROCESSOR_FACILITIES_EXPAND_HPP 16 | # 17 | # include 18 | # 19 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC() && ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_DMC() 20 | # define MSGPACK_PP_EXPAND(x) MSGPACK_PP_EXPAND_I(x) 21 | # else 22 | # define MSGPACK_PP_EXPAND(x) MSGPACK_PP_EXPAND_OO((x)) 23 | # define MSGPACK_PP_EXPAND_OO(par) MSGPACK_PP_EXPAND_I ## par 24 | # endif 25 | # 26 | # define MSGPACK_PP_EXPAND_I(x) x 27 | # 28 | # endif 29 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/facilities/identity.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # /* Revised by Edward Diener (2015) */ 12 | # 13 | # /* See http://www.boost.org for most recent version. */ 14 | # 15 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_IDENTITY_HPP 16 | # define MSGPACK_PREPROCESSOR_FACILITIES_IDENTITY_HPP 17 | # 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_IDENTITY */ 22 | # 23 | # define MSGPACK_PP_IDENTITY(item) item MSGPACK_PP_EMPTY 24 | # 25 | # define MSGPACK_PP_IDENTITY_N(item,n) item MSGPACK_PP_TUPLE_EAT_N(n) 26 | # 27 | # endif 28 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/facilities/is_1.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2003. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_IS_1_HPP 13 | # define MSGPACK_PREPROCESSOR_FACILITIES_IS_1_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* MSGPACK_PP_IS_1 */ 19 | # 20 | # define MSGPACK_PP_IS_1(x) MSGPACK_PP_IS_EMPTY(MSGPACK_PP_CAT(MSGPACK_PP_IS_1_HELPER_, x)) 21 | # define MSGPACK_PP_IS_1_HELPER_1 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/for.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_FOR_HPP 13 | # define MSGPACK_PREPROCESSOR_FOR_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/identity.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_IDENTITY_HPP 13 | # define MSGPACK_PREPROCESSOR_IDENTITY_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/if.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_IF_HPP 13 | # define MSGPACK_PREPROCESSOR_IF_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/inc.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_INC_HPP 13 | # define MSGPACK_PREPROCESSOR_INC_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/iterate.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ITERATE_HPP 13 | # define MSGPACK_PREPROCESSOR_ITERATE_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/iteration.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ITERATION_HPP 13 | # define MSGPACK_PREPROCESSOR_ITERATION_HPP 14 | # 15 | # include 16 | # include 17 | # include 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/iteration/detail/self.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # if !defined(MSGPACK_PP_INDIRECT_SELF) 13 | # error MSGPACK_PP_ERROR: no indirect file to include 14 | # endif 15 | # 16 | # define MSGPACK_PP_IS_SELFISH 1 17 | # 18 | # include MSGPACK_PP_INDIRECT_SELF 19 | # 20 | # undef MSGPACK_PP_IS_SELFISH 21 | # undef MSGPACK_PP_INDIRECT_SELF 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/iteration/self.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_ITERATION_SELF_HPP 13 | # define MSGPACK_PREPROCESSOR_ITERATION_SELF_HPP 14 | # 15 | # /* MSGPACK_PP_INCLUDE_SELF */ 16 | # 17 | # define MSGPACK_PP_INCLUDE_SELF() 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/limits.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_LIMITS_HPP 13 | # define MSGPACK_PREPROCESSOR_LIMITS_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/logical.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_LOGICAL_HPP 15 | # define MSGPACK_PREPROCESSOR_LOGICAL_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # include 22 | # include 23 | # include 24 | # include 25 | # include 26 | # include 27 | # include 28 | # 29 | # endif 30 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/logical/and.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_LOGICAL_AND_HPP 15 | # define MSGPACK_PREPROCESSOR_LOGICAL_AND_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_AND */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_AND(p, q) MSGPACK_PP_BITAND(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 25 | # else 26 | # define MSGPACK_PP_AND(p, q) MSGPACK_PP_AND_I(p, q) 27 | # define MSGPACK_PP_AND_I(p, q) MSGPACK_PP_BITAND(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/logical/nor.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_LOGICAL_NOR_HPP 15 | # define MSGPACK_PREPROCESSOR_LOGICAL_NOR_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_NOR */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_NOR(p, q) MSGPACK_PP_BITNOR(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 25 | # else 26 | # define MSGPACK_PP_NOR(p, q) MSGPACK_PP_NOR_I(p, q) 27 | # define MSGPACK_PP_NOR_I(p, q) MSGPACK_PP_BITNOR(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/logical/not.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_LOGICAL_NOT_HPP 15 | # define MSGPACK_PREPROCESSOR_LOGICAL_NOT_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_NOT */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_NOT(x) MSGPACK_PP_COMPL(MSGPACK_PP_BOOL(x)) 25 | # else 26 | # define MSGPACK_PP_NOT(x) MSGPACK_PP_NOT_I(x) 27 | # define MSGPACK_PP_NOT_I(x) MSGPACK_PP_COMPL(MSGPACK_PP_BOOL(x)) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/logical/or.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_LOGICAL_OR_HPP 15 | # define MSGPACK_PREPROCESSOR_LOGICAL_OR_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_OR */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_OR(p, q) MSGPACK_PP_BITOR(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 25 | # else 26 | # define MSGPACK_PP_OR(p, q) MSGPACK_PP_OR_I(p, q) 27 | # define MSGPACK_PP_OR_I(p, q) MSGPACK_PP_BITOR(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/logical/xor.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_LOGICAL_XOR_HPP 15 | # define MSGPACK_PREPROCESSOR_LOGICAL_XOR_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_XOR */ 22 | # 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 24 | # define MSGPACK_PP_XOR(p, q) MSGPACK_PP_BITXOR(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 25 | # else 26 | # define MSGPACK_PP_XOR(p, q) MSGPACK_PP_XOR_I(p, q) 27 | # define MSGPACK_PP_XOR_I(p, q) MSGPACK_PP_BITXOR(MSGPACK_PP_BOOL(p), MSGPACK_PP_BOOL(q)) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/max.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_MAX_HPP 13 | # define MSGPACK_PREPROCESSOR_MAX_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/min.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_MIN_HPP 13 | # define MSGPACK_PREPROCESSOR_MIN_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/punctuation.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_HPP 13 | # define MSGPACK_PREPROCESSOR_PUNCTUATION_HPP 14 | # 15 | # include 16 | # include 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # endif 23 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/punctuation/comma.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_COMMA_HPP 15 | # define MSGPACK_PREPROCESSOR_PUNCTUATION_COMMA_HPP 16 | # 17 | # /* MSGPACK_PP_COMMA */ 18 | # 19 | # define MSGPACK_PP_COMMA() , 20 | # 21 | # endif 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/punctuation/comma_if.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_COMMA_IF_HPP 15 | # define MSGPACK_PREPROCESSOR_PUNCTUATION_COMMA_IF_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # /* MSGPACK_PP_COMMA_IF */ 23 | # 24 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 25 | # define MSGPACK_PP_COMMA_IF(cond) MSGPACK_PP_IF(cond, MSGPACK_PP_COMMA, MSGPACK_PP_EMPTY)() 26 | # else 27 | # define MSGPACK_PP_COMMA_IF(cond) MSGPACK_PP_COMMA_IF_I(cond) 28 | # define MSGPACK_PP_COMMA_IF_I(cond) MSGPACK_PP_IF(cond, MSGPACK_PP_COMMA, MSGPACK_PP_EMPTY)() 29 | # endif 30 | # 31 | # endif 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/punctuation/paren.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_PAREN_HPP 13 | # define MSGPACK_PREPROCESSOR_PUNCTUATION_PAREN_HPP 14 | # 15 | # /* MSGPACK_PP_LPAREN */ 16 | # 17 | # define MSGPACK_PP_LPAREN() ( 18 | # 19 | # /* MSGPACK_PP_RPAREN */ 20 | # 21 | # define MSGPACK_PP_RPAREN() ) 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repeat.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_HPP 13 | # define MSGPACK_PREPROCESSOR_REPEAT_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repeat_2nd.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_2ND_HPP 13 | # define MSGPACK_PREPROCESSOR_REPEAT_2ND_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repeat_3rd.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_3RD_HPP 13 | # define MSGPACK_PREPROCESSOR_REPEAT_3RD_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repeat_from_to.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_HPP 13 | # define MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repeat_from_to_2nd.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_2ND_HPP 13 | # define MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_2ND_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repeat_from_to_3rd.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_3RD_HPP 13 | # define MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_3RD_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repetition/deduce_r.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_DEDUCE_R_HPP 13 | # define MSGPACK_PREPROCESSOR_REPETITION_DEDUCE_R_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* MSGPACK_PP_DEDUCE_R */ 19 | # 20 | # define MSGPACK_PP_DEDUCE_R() MSGPACK_PP_AUTO_REC(MSGPACK_PP_FOR_P, 256) 21 | # 22 | # endif 23 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repetition/deduce_z.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_DEDUCE_Z_HPP 13 | # define MSGPACK_PREPROCESSOR_REPETITION_DEDUCE_Z_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* MSGPACK_PP_DEDUCE_Z */ 19 | # 20 | # define MSGPACK_PP_DEDUCE_Z() MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4) 21 | # 22 | # endif 23 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_A_DEFAULT_HPP 15 | # define MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_A_DEFAULT_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* MSGPACK_PP_ENUM_PARAMS_WITH_A_DEFAULT */ 22 | # 23 | # define MSGPACK_PP_ENUM_PARAMS_WITH_A_DEFAULT(count, param, def) MSGPACK_PP_ENUM_BINARY_PARAMS(count, param, = def MSGPACK_PP_INTERCEPT) 24 | # 25 | # endif 26 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_DEFAULTS_HPP 15 | # define MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_DEFAULTS_HPP 16 | # 17 | # include 18 | # include 19 | # 20 | # /* MSGPACK_PP_ENUM_PARAMS_WITH_DEFAULTS */ 21 | # 22 | # define MSGPACK_PP_ENUM_PARAMS_WITH_DEFAULTS(count, param, def) MSGPACK_PP_ENUM_BINARY_PARAMS(count, param, = def) 23 | # 24 | # endif 25 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/selection.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_SELECTION_HPP 13 | # define MSGPACK_PREPROCESSOR_SELECTION_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # endif 19 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/seq/push_back.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_SEQ_PUSH_BACK_HPP 13 | # define MSGPACK_PREPROCESSOR_SEQ_PUSH_BACK_HPP 14 | # 15 | # /* MSGPACK_PP_SEQ_PUSH_BACK */ 16 | # 17 | # define MSGPACK_PP_SEQ_PUSH_BACK(seq, elem) seq(elem) 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/seq/push_front.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_SEQ_PUSH_FRONT_HPP 13 | # define MSGPACK_PREPROCESSOR_SEQ_PUSH_FRONT_HPP 14 | # 15 | # /* MSGPACK_PP_SEQ_PUSH_FRONT */ 16 | # 17 | # define MSGPACK_PP_SEQ_PUSH_FRONT(seq, elem) (elem)seq 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/slot.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_SLOT_HPP 13 | # define MSGPACK_PREPROCESSOR_SLOT_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/slot/counter.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2005. * 4 | # * Distributed under the Boost Software License, Version 1.0. (See * 5 | # * accompanying file LICENSE_1_0.txt or copy at * 6 | # * http://www.boost.org/LICENSE_1_0.txt) * 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_SLOT_COUNTER_HPP 13 | # define MSGPACK_PREPROCESSOR_SLOT_COUNTER_HPP 14 | # 15 | # include 16 | # 17 | # /* MSGPACK_PP_COUNTER */ 18 | # 19 | # define MSGPACK_PP_COUNTER 0 20 | # 21 | # /* MSGPACK_PP_UPDATE_COUNTER */ 22 | # 23 | # define MSGPACK_PP_UPDATE_COUNTER() 24 | # 25 | # endif 26 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/stringize.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_STRINGIZE_HPP 15 | # define MSGPACK_PREPROCESSOR_STRINGIZE_HPP 16 | # 17 | # include 18 | # 19 | # /* MSGPACK_PP_STRINGIZE */ 20 | # 21 | # if MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC() 22 | # define MSGPACK_PP_STRINGIZE(text) MSGPACK_PP_STRINGIZE_A((text)) 23 | # define MSGPACK_PP_STRINGIZE_A(arg) MSGPACK_PP_STRINGIZE_I arg 24 | # elif MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC() 25 | # define MSGPACK_PP_STRINGIZE(text) MSGPACK_PP_STRINGIZE_OO((text)) 26 | # define MSGPACK_PP_STRINGIZE_OO(par) MSGPACK_PP_STRINGIZE_I ## par 27 | # else 28 | # define MSGPACK_PP_STRINGIZE(text) MSGPACK_PP_STRINGIZE_I(text) 29 | # endif 30 | # 31 | # define MSGPACK_PP_STRINGIZE_I(text) #text 32 | # 33 | # endif 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/tuple/enum.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Edward Diener 2011. * 4 | # * (C) Copyright Paul Mensonides 2011. * 5 | # * Distributed under the Boost Software License, Version 1.0. (See * 6 | # * accompanying file LICENSE_1_0.txt or copy at * 7 | # * http://www.boost.org/LICENSE_1_0.txt) * 8 | # * * 9 | # ************************************************************************** */ 10 | # 11 | # /* See http://www.boost.org for most recent version. */ 12 | # 13 | # ifndef MSGPACK_PREPROCESSOR_TUPLE_ENUM_HPP 14 | # define MSGPACK_PREPROCESSOR_TUPLE_ENUM_HPP 15 | # 16 | # include 17 | # 18 | # /* MSGPACK_PP_TUPLE_ENUM */ 19 | # 20 | # define MSGPACK_PP_TUPLE_ENUM MSGPACK_PP_TUPLE_REM_CTOR 21 | # 22 | # endif 23 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/variadic/to_tuple.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Edward Diener 2011. * 4 | # * (C) Copyright Paul Mensonides 2011. * 5 | # * Distributed under the Boost Software License, Version 1.0. (See * 6 | # * accompanying file LICENSE_1_0.txt or copy at * 7 | # * http://www.boost.org/LICENSE_1_0.txt) * 8 | # * * 9 | # ************************************************************************** */ 10 | # 11 | # /* See http://www.boost.org for most recent version. */ 12 | # 13 | # ifndef MSGPACK_PREPROCESSOR_VARIADIC_TO_TUPLE_HPP 14 | # define MSGPACK_PREPROCESSOR_VARIADIC_TO_TUPLE_HPP 15 | # 16 | # include 17 | # 18 | # /* MSGPACK_PP_VARIADIC_TO_TUPLE */ 19 | # 20 | # if MSGPACK_PP_VARIADICS 21 | # define MSGPACK_PP_VARIADIC_TO_TUPLE(...) (__VA_ARGS__) 22 | # endif 23 | # 24 | # endif 25 | -------------------------------------------------------------------------------- /inst/include/msgpack/preprocessor/while.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef MSGPACK_PREPROCESSOR_WHILE_HPP 13 | # define MSGPACK_PREPROCESSOR_WHILE_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/sbuffer.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ simple buffer implementation 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_SBUFFER_HPP 11 | #define MSGPACK_SBUFFER_HPP 12 | 13 | #include "msgpack/sbuffer_decl.hpp" 14 | 15 | #include "msgpack/v1/sbuffer.hpp" 16 | 17 | #endif // MSGPACK_SBUFFER_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/sbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ simple buffer implementation 3 | // 4 | // Copyright (C) 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_SBUFFER_DECL_HPP 11 | #define MSGPACK_SBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/sbuffer_decl.hpp" 14 | #include "msgpack/v2/sbuffer_decl.hpp" 15 | 16 | 17 | #endif // MSGPACK_SBUFFER_DECL_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/unpack.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deserializing 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_UNPACK_HPP 11 | #define MSGPACK_UNPACK_HPP 12 | 13 | #include "msgpack/unpack_decl.hpp" 14 | 15 | #include "msgpack/v1/unpack.hpp" 16 | #include "msgpack/v2/unpack.hpp" 17 | #include "msgpack/v2/x3_unpack.hpp" 18 | 19 | #endif // MSGPACK_UNPACK_HPP 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/unpack_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deserializing routine 3 | // 4 | // Copyright (C) 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_UNPACK_DECL_HPP 11 | #define MSGPACK_UNPACK_DECL_HPP 12 | 13 | #include "msgpack/v1/unpack_decl.hpp" 14 | #include "msgpack/v2/unpack_decl.hpp" 15 | 16 | #endif // MSGPACK_UNPACK_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/unpack_exception.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deserializing routine 3 | // 4 | // Copyright (C) 2017 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_UNPACK_EXCEPTION_HPP 11 | #define MSGPACK_UNPACK_EXCEPTION_HPP 12 | 13 | #include "msgpack/v1/unpack_exception.hpp" 14 | 15 | #endif // MSGPACK_UNPACK_EXCEPTION_HPP 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/util.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack for C utilities 3 | * 4 | * Copyright (C) 2014 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_UTIL_H 11 | #define MSGPACK_UTIL_H 12 | 13 | #define MSGPACK_UNUSED(a) (void)(a) 14 | 15 | #endif /* MSGPACK_UTIL_H */ 16 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/check_container_size_decl.hpp: -------------------------------------------------------------------------------- 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_CHECK_CONTAINER_SIZE_DECL_HPP 11 | #define MSGPACK_V1_CHECK_CONTAINER_SIZE_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | #include 15 | #include "msgpack/sysdep.h" 16 | 17 | namespace msgpack { 18 | 19 | /// @cond 20 | MSGPACK_API_VERSION_NAMESPACE(v1) { 21 | /// @endcond 22 | 23 | struct container_size_overflow; 24 | 25 | namespace detail { 26 | 27 | template 28 | inline void check_container_size(std::size_t size); 29 | 30 | template 31 | inline void check_container_size_for_ext(std::size_t size); 32 | 33 | } // namespace detail 34 | 35 | template 36 | inline uint32_t checked_get_container_size(T size); 37 | 38 | /// @cond 39 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 40 | /// @endcond 41 | 42 | } // namespace msgpack 43 | 44 | #endif // MSGPACK_V1_CHECK_CONTAINER_SIZE_DECL_HPP 45 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/define.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 2008-2014 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_DEFINE_HPP 11 | #define MSGPACK_V1_DEFINE_HPP 12 | 13 | #if defined(MSGPACK_USE_CPP03) 14 | #include "msgpack/v1/adaptor/detail/cpp03_define_array.hpp" 15 | #include "msgpack/v1/adaptor/detail/cpp03_define_map.hpp" 16 | #else // MSGPACK_USE_CPP03 17 | #include "msgpack/v1/adaptor/detail/cpp11_define_array.hpp" 18 | #include "msgpack/v1/adaptor/detail/cpp11_define_map.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V1_DEFINE_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/define_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_DEFINE_DECL_HPP 11 | #define MSGPACK_V1_DEFINE_DECL_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp" 17 | #include "msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp" 18 | #else // MSGPACK_USE_CPP03 19 | #include "msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp" 20 | #include "msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp" 21 | #endif // MSGPACK_USE_CPP03 22 | 23 | #endif // MSGPACK_V1_DEFINE_DECL_HPP 24 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp: -------------------------------------------------------------------------------- 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_CPP11_DEFINE_ARRAY_DECL_HPP 11 | #define MSGPACK_V1_CPP11_DEFINE_ARRAY_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | #include "msgpack/adaptor/adaptor_base.hpp" 15 | 16 | namespace msgpack { 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v1) { 19 | /// @endcond 20 | namespace type { 21 | 22 | template 23 | struct define_array_imp; 24 | 25 | template 26 | struct define_array; 27 | 28 | define_array<> make_define_array(); 29 | 30 | template 31 | inline define_array make_define_array(Args&... args); 32 | 33 | } // namespace type 34 | /// @cond 35 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 36 | /// @endcond 37 | } // namespace msgpack 38 | 39 | #endif // MSGPACK_V1_CPP11_DEFINE_ARRAY_DECL_HPP 40 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp: -------------------------------------------------------------------------------- 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_CPP11_DEFINE_MAP_DECL_HPP 11 | #define MSGPACK_V1_CPP11_DEFINE_MAP_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | #include "msgpack/adaptor/adaptor_base.hpp" 15 | 16 | namespace msgpack { 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v1) { 19 | /// @endcond 20 | namespace type { 21 | 22 | template 23 | struct define_map_imp; 24 | 25 | template 26 | struct define_map; 27 | 28 | template 29 | define_map make_define_map(Args&... args); 30 | 31 | } // namespace type 32 | /// @cond 33 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 34 | /// @endcond 35 | } // namespace msgpack 36 | 37 | #endif // MSGPACK_V1_CPP11_DEFINE_MAP_DECL_HPP 38 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/ext_decl.hpp: -------------------------------------------------------------------------------- 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_EXT_DECL_HPP 11 | #define MSGPACK_V1_TYPE_EXT_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | #include "msgpack/adaptor/adaptor_base.hpp" 15 | #include 16 | #include 17 | #include 18 | 19 | namespace msgpack { 20 | 21 | /// @cond 22 | MSGPACK_API_VERSION_NAMESPACE(v1) { 23 | /// @endcond 24 | 25 | namespace type { 26 | 27 | class ext_ref; 28 | class ext; 29 | 30 | } // namespace type 31 | 32 | /// @cond 33 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 34 | /// @endcond 35 | 36 | } // namespace msgpack 37 | 38 | #endif // MSGPACK_V1_TYPE_EXT_DECL_HPP 39 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/map_decl.hpp: -------------------------------------------------------------------------------- 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_MAP_DECL_HPP 11 | #define MSGPACK_V1_TYPE_MAP_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | #include 16 | 17 | namespace msgpack { 18 | 19 | /// @cond 20 | MSGPACK_API_VERSION_NAMESPACE(v1) { 21 | /// @endcond 22 | 23 | namespace type { 24 | 25 | template , typename Alloc = std::allocator > > 26 | class assoc_vector; 27 | 28 | } //namespace type 29 | 30 | /// @cond 31 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 32 | /// @endcond 33 | 34 | } // namespace msgpack 35 | 36 | #endif // MSGPACK_V1_TYPE_MAP_DECL_HPP 37 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/msgpack_tuple.hpp: -------------------------------------------------------------------------------- 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_MSGPACK_TUPLE_HPP 11 | #define MSGPACK_V1_MSGPACK_TUPLE_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp" 17 | #else // MSGPACK_USE_CPP03 18 | #include "msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V1_MSGPACK_TUPLE_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp: -------------------------------------------------------------------------------- 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_MSGPACK_TUPLE_DECL_HPP 11 | #define MSGPACK_V1_MSGPACK_TUPLE_DECL_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp" 17 | #else // MSGPACK_USE_CPP03 18 | #include "msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V1_MSGPACK_TUPLE_DECL_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/nil_decl.hpp: -------------------------------------------------------------------------------- 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_NIL_DECL_HPP 11 | #define MSGPACK_V1_TYPE_NIL_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 | struct nil_t; 25 | 26 | #if !defined(MSGPACK_DISABLE_LEGACY_NIL) 27 | 28 | typedef nil_t nil; 29 | 30 | #endif // !defined(MSGPACK_DISABLE_LEGACY_NIL) 31 | 32 | bool operator<(nil_t const& lhs, nil_t const& rhs); 33 | 34 | bool operator==(nil_t const& lhs, nil_t const& rhs); 35 | 36 | } // namespace type 37 | 38 | /// @cond 39 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 40 | /// @endcond 41 | 42 | } // namespace msgpack 43 | 44 | #endif // MSGPACK_V1_TYPE_NIL_DECL_HPP 45 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/raw_decl.hpp: -------------------------------------------------------------------------------- 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_RAW_DECL_HPP 11 | #define MSGPACK_V1_TYPE_RAW_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | #include "msgpack/adaptor/adaptor_base.hpp" 15 | #include 16 | #include 17 | 18 | namespace msgpack { 19 | 20 | /// @cond 21 | MSGPACK_API_VERSION_NAMESPACE(v1) { 22 | /// @endcond 23 | 24 | namespace type { 25 | 26 | struct raw_ref; 27 | 28 | } // namespace type 29 | 30 | /// @cond 31 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 32 | /// @endcond 33 | 34 | } // namespace msgpack 35 | 36 | #endif // MSGPACK_V1_TYPE_RAW_DECL_HPP 37 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/adaptor/v4raw_decl.hpp: -------------------------------------------------------------------------------- 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_V4RAW_DECL_HPP 11 | #define MSGPACK_V1_TYPE_V4RAW_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 | struct v4raw_ref; 25 | 26 | } // namespace type 27 | 28 | /// @cond 29 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 30 | /// @endcond 31 | 32 | } // namespace msgpack 33 | 34 | #endif // MSGPACK_V1_TYPE_V4RAW_DECL_HPP 35 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/fbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ FILE* buffer adaptor 3 | // 4 | // Copyright (C) 2013-2016 Vladimir Volodko 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_FBUFFER_DECL_HPP 11 | #define MSGPACK_V1_FBUFFER_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | #include 16 | #include 17 | 18 | namespace msgpack { 19 | 20 | /// @cond 21 | MSGPACK_API_VERSION_NAMESPACE(v1) { 22 | /// @endcond 23 | 24 | class fbuffer; 25 | 26 | /// @cond 27 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 28 | /// @endcond 29 | 30 | } // namespace msgpack 31 | 32 | #endif // MSGPACK_V1_FBUFFER_DECL_HPP 33 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/parse_return.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deserializing 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_PARSE_RETURN_HPP 11 | #define MSGPACK_V1_PARSE_RETURN_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v1) { 19 | /// @endcond 20 | 21 | 22 | // for internal use 23 | typedef enum { 24 | PARSE_SUCCESS = 2, 25 | PARSE_EXTRA_BYTES = 1, 26 | PARSE_CONTINUE = 0, 27 | PARSE_PARSE_ERROR = -1 28 | } parse_return; 29 | 30 | /// @cond 31 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 32 | /// @endcond 33 | 34 | } // namespace msgpack 35 | 36 | #endif // MSGPACK_V1_PARSE_RETURN_HPP 37 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/preprocessor.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org/libs/preprocessor for documentation. */ 13 | # 14 | # ifndef MSGPACK_PREPROCESSOR_HPP 15 | # define MSGPACK_PREPROCESSOR_HPP 16 | # 17 | # include 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/sbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ simple buffer implementation 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_SBUFFER_DECL_HPP 11 | #define MSGPACK_V1_SBUFFER_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | #ifndef MSGPACK_SBUFFER_INIT_SIZE 16 | #define MSGPACK_SBUFFER_INIT_SIZE 8192 17 | #endif 18 | 19 | namespace msgpack { 20 | 21 | /// @cond 22 | MSGPACK_API_VERSION_NAMESPACE(v1) { 23 | /// @endcond 24 | 25 | class sbuffer; 26 | 27 | /// @cond 28 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 29 | /// @endcond 30 | 31 | } // namespace msgpack 32 | 33 | #endif // MSGPACK_V1_SBUFFER_DECL_HPP 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/version.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack for C++ version information 3 | * 4 | * Copyright (C) 2008-2013 FURUHASHI Sadayuki and Takatoshi Kondo 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_VERSION_HPP 11 | #define MSGPACK_VERSION_HPP 12 | 13 | #include "version_master.h" 14 | 15 | #define MSGPACK_STR(v) #v 16 | #define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev) 17 | 18 | #define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION) 19 | 20 | inline const char* msgpack_version(void) { 21 | return MSGPACK_VERSION; 22 | } 23 | 24 | inline int msgpack_version_major(void) { 25 | return MSGPACK_VERSION_MAJOR; 26 | } 27 | 28 | inline int msgpack_version_minor(void) { 29 | return MSGPACK_VERSION_MINOR; 30 | } 31 | 32 | inline int msgpack_version_revision(void) { 33 | return MSGPACK_VERSION_REVISION; 34 | } 35 | 36 | #endif /* msgpack/version.hpp */ 37 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/vrefbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ zero-copy buffer implementation 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_VREFBUFFER_DECL_HPP 11 | #define MSGPACK_V1_VREFBUFFER_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | #include 16 | 17 | #ifndef MSGPACK_VREFBUFFER_REF_SIZE 18 | #define MSGPACK_VREFBUFFER_REF_SIZE 32 19 | #endif 20 | 21 | #ifndef MSGPACK_VREFBUFFER_CHUNK_SIZE 22 | #define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192 23 | #endif 24 | 25 | namespace msgpack { 26 | 27 | /// @cond 28 | MSGPACK_API_VERSION_NAMESPACE(v1) { 29 | /// @endcond 30 | 31 | class vrefbuffer; 32 | 33 | /// @cond 34 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 35 | /// @endcond 36 | 37 | } // namespace msgpack 38 | 39 | #endif // MSGPACK_V1_VREFBUFFER_DECL_HPP 40 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/zbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deflate buffer implementation 3 | // 4 | // Copyright (C) 2010-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_ZBUFFER_DECL_HPP 11 | #define MSGPACK_V1_ZBUFFER_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | #ifndef MSGPACK_ZBUFFER_RESERVE_SIZE 16 | #define MSGPACK_ZBUFFER_RESERVE_SIZE 512 17 | #endif 18 | 19 | #ifndef MSGPACK_ZBUFFER_INIT_SIZE 20 | #define MSGPACK_ZBUFFER_INIT_SIZE 8192 21 | #endif 22 | 23 | namespace msgpack { 24 | 25 | /// @cond 26 | MSGPACK_API_VERSION_NAMESPACE(v1) { 27 | /// @endcond 28 | 29 | class zbuffer; 30 | 31 | /// @cond 32 | } // MSGPACK_API_VERSION_NAMESPACE(v1) 33 | /// @endcond 34 | 35 | } // namespace msgpack 36 | 37 | #endif // MSGPACK_V1_ZBUFFER_DECL_HPP 38 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/zone.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 3 | // 4 | // Copyright (C) 2008-2014 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_ZONE_HPP 11 | #define MSGPACK_V1_ZONE_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v1/detail/cpp03_zone.hpp" 17 | #else // MSGPACK_USE_CPP03 18 | #include "msgpack/v1/detail/cpp11_zone.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V1_ZONE_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/v1/zone_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 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_ZONE_DECL_HPP 11 | #define MSGPACK_V1_ZONE_DECL_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v1/detail/cpp03_zone_decl.hpp" 17 | #else // MSGPACK_USE_CPP03 18 | #include "msgpack/v1/detail/cpp11_zone_decl.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V1_ZONE_DECL_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/array_ref_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_ARRAY_REF_DECL_HPP 11 | #define MSGPACK_V2_TYPE_ARRAY_REF_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/array_ref_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::array_ref; 24 | 25 | using v1::type::make_array_ref; 26 | 27 | 28 | } // namespace type 29 | 30 | /// @cond 31 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 32 | /// @endcond 33 | 34 | } // namespace msgpack 35 | 36 | #endif // MSGPACK_V2_TYPE_ARRAY_REF_DECL_HPP 37 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP 11 | #define MSGPACK_V2_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP 12 | 13 | #if defined(MSGPACK_USE_BOOST) 14 | 15 | #include "msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp" 16 | 17 | namespace msgpack { 18 | 19 | /// @cond 20 | MSGPACK_API_VERSION_NAMESPACE(v2) { 21 | /// @endcond 22 | 23 | namespace type { 24 | 25 | using v1::type::basic_variant; 26 | using v1::type::variant; 27 | using v1::type::variant_ref; 28 | 29 | using v1::type::operator<; 30 | 31 | using v1::type::operator==; 32 | 33 | } // namespace type 34 | 35 | /// @cond 36 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 37 | /// @endcond 38 | 39 | } // namespace msgpack 40 | 41 | #endif // MSGPACK_USE_BOOST 42 | #endif // MSGPACK_V2_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP 43 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/check_container_size_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_CHECK_CONTAINER_SIZE_DECL_HPP 11 | #define MSGPACK_V2_CHECK_CONTAINER_SIZE_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/check_container_size_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | using v1::container_size_overflow; 22 | 23 | namespace detail { 24 | 25 | using v1::detail::check_container_size; 26 | 27 | using v1::detail::check_container_size_for_ext; 28 | 29 | } // namespace detail 30 | 31 | using v1::checked_get_container_size; 32 | 33 | /// @cond 34 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 35 | /// @endcond 36 | 37 | } // namespace msgpack 38 | 39 | #endif // MSGPACK_V2_CHECK_CONTAINER_SIZE_DECL_HPP 40 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/define_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_DEFINE_DECL_HPP 11 | #define MSGPACK_V2_DEFINE_DECL_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp" 17 | #include "msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp" 18 | #else // MSGPACK_USE_CPP03 19 | #include "msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp" 20 | #include "msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp" 21 | #endif // MSGPACK_USE_CPP03 22 | 23 | #endif // MSGPACK_V2_DEFINE_DECL_HPP 24 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp: -------------------------------------------------------------------------------- 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_V2_CPP03_DEFINE_ARRAY_DECL_HPP 11 | #define MSGPACK_V2_CPP03_DEFINE_ARRAY_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp" 14 | 15 | namespace msgpack { 16 | /// @cond 17 | MSGPACK_API_VERSION_NAMESPACE(v2) { 18 | /// @endcond 19 | namespace type { 20 | 21 | using v1::type::define_array; 22 | 23 | using v1::type::make_define_array; 24 | 25 | } // namespace type 26 | /// @cond 27 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 28 | /// @endcond 29 | } // namespace msgpack 30 | 31 | #endif // MSGPACK_V2_CPP03_DEFINE_ARRAY_DECL_HPP 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp: -------------------------------------------------------------------------------- 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_V2_CPP03_DEFINE_MAP_DECL_HPP 11 | #define MSGPACK_V2_CPP03_DEFINE_MAP_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp" 14 | 15 | namespace msgpack { 16 | /// @cond 17 | MSGPACK_API_VERSION_NAMESPACE(v2) { 18 | /// @endcond 19 | namespace type { 20 | 21 | using v1::type::define_map; 22 | 23 | using v1::type::make_define_map; 24 | 25 | } // namespace type 26 | /// @cond 27 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 28 | /// @endcond 29 | } // namespace msgpack 30 | 31 | #endif // MSGPACK_V2_CPP03_DEFINE_MAP_DECL_HPP 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_CPP03_MSGPACK_TUPLE_DECL_HPP 11 | #define MSGPACK_V2_CPP03_MSGPACK_TUPLE_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::tuple; 24 | 25 | using v1::type::tuple_element; 26 | 27 | using v1::type::const_tuple_element; 28 | 29 | using v1::type::tuple_type; 30 | 31 | using v1::type::get; 32 | 33 | using v1::type::make_tuple; 34 | 35 | } // namespace type 36 | 37 | /// @cond 38 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 39 | /// @endcond 40 | 41 | } // namespace msgpack 42 | 43 | #endif // MSGPACK_V2_CPP03_MSGPACK_TUPLE_DECL_HPP 44 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp: -------------------------------------------------------------------------------- 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_V2_CPP11_DEFINE_ARRAY_DECL_HPP 11 | #define MSGPACK_V2_CPP11_DEFINE_ARRAY_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp" 14 | 15 | namespace msgpack { 16 | /// @cond 17 | MSGPACK_API_VERSION_NAMESPACE(v2) { 18 | /// @endcond 19 | namespace type { 20 | 21 | using v1::type::define_array_imp; 22 | using v1::type::define_array; 23 | 24 | using v1::type::make_define_array; 25 | 26 | } // namespace type 27 | /// @cond 28 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 29 | /// @endcond 30 | } // namespace msgpack 31 | 32 | #endif // MSGPACK_V2_CPP11_DEFINE_ARRAY_DECL_HPP 33 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_CPP11_DEFINE_MAP_DECL_HPP 11 | #define MSGPACK_V2_CPP11_DEFINE_MAP_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp" 14 | 15 | namespace msgpack { 16 | /// @cond 17 | MSGPACK_API_VERSION_NAMESPACE(v2) { 18 | /// @endcond 19 | namespace type { 20 | 21 | using v1::type::define_map_imp; 22 | using v1::type::define_map; 23 | using v1::type::make_define_map; 24 | 25 | } // namespace type 26 | /// @cond 27 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 28 | /// @endcond 29 | } // namespace msgpack 30 | 31 | #endif // MSGPACK_V2_CPP11_DEFINE_MAP_DECL_HPP 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/ext_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_EXT_DECL_HPP 11 | #define MSGPACK_V2_TYPE_EXT_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/ext_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::ext_ref; 24 | using v1::type::ext; 25 | 26 | } // namespace type 27 | 28 | /// @cond 29 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 30 | /// @endcond 31 | 32 | } // namespace msgpack 33 | 34 | #endif // MSGPACK_V2_TYPE_EXT_DECL_HPP 35 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/fixint_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_FIXINT_DECL_HPP 11 | #define MSGPACK_V2_TYPE_FIXINT_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/fixint_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::fix_int; 24 | 25 | using v1::type::fix_uint8; 26 | using v1::type::fix_uint16; 27 | using v1::type::fix_uint32; 28 | using v1::type::fix_uint64; 29 | 30 | using v1::type::fix_int8; 31 | using v1::type::fix_int16; 32 | using v1::type::fix_int32; 33 | using v1::type::fix_int64; 34 | 35 | } // namespace type 36 | 37 | /// @cond 38 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 39 | /// @endcond 40 | 41 | } // namespace msgpack 42 | 43 | #endif // MSGPACK_V2_TYPE_FIXINT_DECL_HPP 44 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/map_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_MAP_DECL_HPP 11 | #define MSGPACK_V2_TYPE_MAP_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/map_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::assoc_vector; 24 | 25 | } //namespace type 26 | 27 | /// @cond 28 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 29 | /// @endcond 30 | 31 | } // namespace msgpack 32 | 33 | #endif // MSGPACK_V2_TYPE_MAP_DECL_HPP 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp: -------------------------------------------------------------------------------- 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_V2_MSGPACK_TUPLE_DECL_HPP 11 | #define MSGPACK_V2_MSGPACK_TUPLE_DECL_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp" 17 | #else // MSGPACK_USE_CPP03 18 | #include "msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V2_MSGPACK_TUPLE_DECL_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/nil_decl.hpp: -------------------------------------------------------------------------------- 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_V2_TYPE_NIL_DECL_HPP 11 | #define MSGPACK_V2_TYPE_NIL_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/nil_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::nil_t; 24 | 25 | #if defined(MSGPACK_USE_LEGACY_NIL) 26 | 27 | typedef nil_t nil; 28 | 29 | #endif // defined(MSGPACK_USE_LEGACY_NIL) 30 | 31 | using v1::type::operator<; 32 | using v1::type::operator==; 33 | 34 | } // namespace type 35 | 36 | /// @cond 37 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 38 | /// @endcond 39 | 40 | } // namespace msgpack 41 | 42 | #endif // MSGPACK_V2_TYPE_NIL_DECL_HPP 43 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/raw_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_RAW_DECL_HPP 11 | #define MSGPACK_V2_TYPE_RAW_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/raw_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::raw_ref; 24 | 25 | } // namespace type 26 | 27 | /// @cond 28 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 29 | /// @endcond 30 | 31 | } // namespace msgpack 32 | 33 | #endif // MSGPACK_V2_TYPE_RAW_DECL_HPP 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/size_equal_only_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_SIZE_EQUAL_ONLY_DECL_HPP 11 | #define MSGPACK_V2_TYPE_SIZE_EQUAL_ONLY_DECL_HPP 12 | 13 | #include "msgpack/v1/adaptor/size_equal_only_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | namespace type { 22 | 23 | using v1::type::size_equal_only; 24 | using v1::type::make_size_equal_only; 25 | using v1::type::size; 26 | 27 | } // namespace type 28 | 29 | /// @cond 30 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 31 | /// @endcond 32 | 33 | } // namespace msgpack 34 | 35 | #endif // MSGPACK_V2_TYPE_SIZE_EQUAL_ONLY_DECL_HPP 36 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/adaptor/v4raw_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_TYPE_V4RAW_DECL_HPP 11 | #define MSGPACK_V2_TYPE_V4RAW_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(v2) { 20 | /// @endcond 21 | 22 | namespace type { 23 | 24 | using v1::type::v4raw_ref; 25 | 26 | } // namespace type 27 | 28 | /// @cond 29 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 30 | /// @endcond 31 | 32 | } // namespace msgpack 33 | 34 | #endif // MSGPACK_V2_TYPE_V4RAW_DECL_HPP 35 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/detail/cpp03_zone_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 3 | // 4 | // Copyright (C) 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_V2_CPP03_ZONE_DECL_HPP 11 | #define MSGPACK_V2_CPP03_ZONE_DECL_HPP 12 | 13 | #include "msgpack/v1/detail/cpp03_zone_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | using v1::zone; 22 | 23 | using v1::aligned_size; 24 | 25 | /// @cond 26 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 27 | /// @endcond 28 | 29 | } // namespace msgpack 30 | 31 | #endif // MSGPACK_V2_CPP03_ZONE_DECL_HPP 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/detail/cpp11_zone_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 3 | // 4 | // Copyright (C) 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_V2_CPP11_ZONE_DECL_HPP 11 | #define MSGPACK_V2_CPP11_ZONE_DECL_HPP 12 | 13 | #include "msgpack/v1/zone_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | using v1::zone; 22 | 23 | using v1::aligned_size; 24 | 25 | /// @cond 26 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 27 | /// @endcond 28 | 29 | } // namespace msgpack 30 | 31 | #endif // MSGPACK_V2_CPP11_ZONE_DECL_HPP 32 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/fbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ FILE* buffer adaptor 3 | // 4 | // Copyright (C) 2013-2016 Vladimir Volodko 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_V2_FBUFFER_DECL_HPP 11 | #define MSGPACK_V2_FBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/fbuffer_decl.hpp" 14 | 15 | #include 16 | #include 17 | 18 | namespace msgpack { 19 | 20 | /// @cond 21 | MSGPACK_API_VERSION_NAMESPACE(v2) { 22 | /// @endcond 23 | 24 | using v1::fbuffer; 25 | 26 | /// @cond 27 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 28 | /// @endcond 29 | 30 | } // namespace msgpack 31 | 32 | #endif // MSGPACK_V2_FBUFFER_DECL_HPP 33 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/iterator_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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 | 11 | #ifndef MSGPACK_V2_ITERATOR_DECL_HPP 12 | #define MSGPACK_V2_ITERATOR_DECL_HPP 13 | #if !defined(MSGPACK_USE_CPP03) 14 | 15 | #include 16 | 17 | namespace msgpack { 18 | 19 | /// @cond 20 | MSGPACK_API_VERSION_NAMESPACE(v2) { 21 | /// @endcond 22 | 23 | using v1::begin; 24 | using v1::end; 25 | 26 | /// @cond 27 | } 28 | /// @endcond 29 | 30 | } 31 | 32 | #endif // !defined(MSGPACK_USE_CPP03) 33 | #endif // MSGPACK_V2_ITERATOR_DECL_HPP 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/meta_decl.hpp: -------------------------------------------------------------------------------- 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 | 11 | #ifndef MSGPACK_V2_META_DECL_HPP 12 | #define MSGPACK_V2_META_DECL_HPP 13 | 14 | #if !defined(MSGPACK_USE_CPP03) 15 | 16 | #include "msgpack/v1/meta_decl.hpp" 17 | 18 | namespace msgpack { 19 | 20 | /// @cond 21 | MSGPACK_API_VERSION_NAMESPACE(v2) { 22 | /// @endcond 23 | 24 | namespace detail { 25 | 26 | using v1::detail::bool_pack; 27 | 28 | using v1::detail::all_of_imp; 29 | 30 | using v1::detail::any_of_imp; 31 | 32 | } // namespace detail 33 | 34 | using v1::all_of; 35 | 36 | using v1::any_of; 37 | 38 | using v1::seq; 39 | 40 | using v1::gen_seq; 41 | 42 | /// @cond 43 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 44 | /// @endcond 45 | 46 | } // namespace msgpack 47 | 48 | #endif // !defined(MSGPACK_USE_CPP03) 49 | 50 | #endif // MSGPACK_V2_META_DECL_HPP 51 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/object.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_OBJECT_HPP 11 | #define MSGPACK_V2_OBJECT_HPP 12 | 13 | #include "msgpack/object_fwd.hpp" 14 | 15 | 16 | namespace msgpack { 17 | 18 | /// @cond 19 | MSGPACK_API_VERSION_NAMESPACE(v2) { 20 | /// @endcond 21 | 22 | inline object::implicit_type object::convert() const 23 | { 24 | return v1::object::convert(); 25 | } 26 | 27 | /// @cond 28 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 29 | /// @endcond 30 | 31 | } // namespace msgpack 32 | 33 | #endif // MSGPACK_V2_OBJECT_HPP 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/object_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ static resolution routine 3 | // 4 | // Copyright (C) 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_V2_OBJECT_DECL_HPP 11 | #define MSGPACK_V2_OBJECT_DECL_HPP 12 | 13 | #include "msgpack/v1/object_decl.hpp" 14 | #include "msgpack/adaptor/adaptor_base.hpp" 15 | 16 | namespace msgpack { 17 | 18 | /// @cond 19 | MSGPACK_API_VERSION_NAMESPACE(v2) { 20 | /// @endcond 21 | 22 | using v1::object_handle; 23 | 24 | namespace detail { 25 | 26 | using v1::detail::add_ext_type_size; 27 | 28 | } // namespace detail 29 | 30 | using v1::aligned_zone_size; 31 | 32 | using v1::clone; 33 | 34 | namespace detail { 35 | 36 | using v1::detail::packer_serializer; 37 | 38 | } // namespace detail 39 | 40 | using v1::operator==; 41 | using v1::operator!=; 42 | 43 | /// @cond 44 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 45 | /// @endcond 46 | 47 | } // namespace msgpack 48 | 49 | #endif // MSGPACK_V2_OBJECT_DECL_HPP 50 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/pack_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ serializing 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_V2_PACK_DECL_HPP 11 | #define MSGPACK_V2_PACK_DECL_HPP 12 | 13 | #include "msgpack/v1/pack_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | using v1::packer; 22 | 23 | using v1::pack; 24 | 25 | #if MSGPACK_ENDIAN_LITTLE_BYTE 26 | 27 | using v1::take8_8; 28 | 29 | using v1::take8_16; 30 | 31 | using v1::take8_32; 32 | 33 | using v1::take8_64; 34 | 35 | #elif MSGPACK_ENDIAN_BIG_BYTE 36 | 37 | using v1::take8_8; 38 | 39 | using v1::take8_16; 40 | 41 | using v1::take8_32; 42 | 43 | using v1::take8_64; 44 | 45 | #else 46 | #error msgpack-c supports only big endian and little endian 47 | #endif 48 | 49 | /// @cond 50 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 51 | /// @endcond 52 | 53 | } // namespace msgpack 54 | 55 | #endif // MSGPACK_V2_PACK_DECL_HPP 56 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/parse_return.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deserializing 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_V2_PARSE_RETURN_HPP 11 | #define MSGPACK_V2_PARSE_RETURN_HPP 12 | 13 | #include "msgpack/v1/parse_return.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | 22 | // for internal use 23 | typedef enum { 24 | PARSE_SUCCESS = v1::PARSE_SUCCESS, 25 | PARSE_EXTRA_BYTES = v1::PARSE_EXTRA_BYTES, 26 | PARSE_CONTINUE = v1::PARSE_CONTINUE, 27 | PARSE_PARSE_ERROR = v1::PARSE_PARSE_ERROR, 28 | PARSE_STOP_VISITOR = -2 29 | } parse_return; 30 | 31 | /// @cond 32 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 33 | /// @endcond 34 | 35 | } // namespace msgpack 36 | 37 | #endif // MSGPACK_V2_PARSE_RETURN_HPP 38 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/sbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ simple buffer implementation 3 | // 4 | // Copyright (C) 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_V2_SBUFFER_DECL_HPP 11 | #define MSGPACK_V2_SBUFFER_DECL_HPP 12 | 13 | #include "msgpack/versioning.hpp" 14 | 15 | #ifndef MSGPACK_SBUFFER_INIT_SIZE 16 | #define MSGPACK_SBUFFER_INIT_SIZE 8192 17 | #endif 18 | 19 | namespace msgpack { 20 | 21 | /// @cond 22 | MSGPACK_API_VERSION_NAMESPACE(v2) { 23 | /// @endcond 24 | 25 | using v1::sbuffer; 26 | 27 | /// @cond 28 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 29 | /// @endcond 30 | 31 | } // namespace msgpack 32 | 33 | #endif // MSGPACK_V2_SBUFFER_DECL_HPP 34 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/vrefbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ zero-copy buffer implementation 3 | // 4 | // Copyright (C) 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_V2_VREFBUFFER_DECL_HPP 11 | #define MSGPACK_V2_VREFBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/vrefbuffer_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | using v1::vrefbuffer; 22 | 23 | /// @cond 24 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 25 | /// @endcond 26 | 27 | } // namespace msgpack 28 | 29 | #endif // MSGPACK_V2_VREFBUFFER_DECL_HPP 30 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/zbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deflate buffer implementation 3 | // 4 | // Copyright (C) 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_V2_ZBUFFER_DECL_HPP 11 | #define MSGPACK_V2_ZBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/zbuffer_decl.hpp" 14 | 15 | namespace msgpack { 16 | 17 | /// @cond 18 | MSGPACK_API_VERSION_NAMESPACE(v2) { 19 | /// @endcond 20 | 21 | using v1::zbuffer; 22 | 23 | /// @cond 24 | } // MSGPACK_API_VERSION_NAMESPACE(v2) 25 | /// @endcond 26 | 27 | } // namespace msgpack 28 | 29 | #endif // MSGPACK_V2_ZBUFFER_DECL_HPP 30 | -------------------------------------------------------------------------------- /inst/include/msgpack/v2/zone_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 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_V2_ZONE_DECL_HPP 11 | #define MSGPACK_V2_ZONE_DECL_HPP 12 | 13 | #include "msgpack/cpp_config.hpp" 14 | 15 | #if defined(MSGPACK_USE_CPP03) 16 | #include "msgpack/v2/detail/cpp03_zone_decl.hpp" 17 | #else // MSGPACK_USE_CPP03 18 | #include "msgpack/v2/detail/cpp11_zone_decl.hpp" 19 | #endif // MSGPACK_USE_CPP03 20 | 21 | #endif // MSGPACK_V2_ZONE_DECL_HPP 22 | -------------------------------------------------------------------------------- /inst/include/msgpack/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack for C version information 3 | * 4 | * Copyright (C) 2008-2009 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_VERSION_H 11 | #define MSGPACK_VERSION_H 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | MSGPACK_DLLEXPORT 18 | const char* msgpack_version(void); 19 | MSGPACK_DLLEXPORT 20 | int msgpack_version_major(void); 21 | MSGPACK_DLLEXPORT 22 | int msgpack_version_minor(void); 23 | MSGPACK_DLLEXPORT 24 | int msgpack_version_revision(void); 25 | 26 | #include "version_master.h" 27 | 28 | #define MSGPACK_STR(v) #v 29 | #define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev) 30 | 31 | #define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION) 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif /* msgpack/version.h */ 38 | 39 | -------------------------------------------------------------------------------- /inst/include/msgpack/version.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * MessagePack for C++ version information 3 | * 4 | * Copyright (C) 2008-2013 FURUHASHI Sadayuki and Takatoshi Kondo 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_VERSION_HPP 11 | #define MSGPACK_VERSION_HPP 12 | 13 | #include "version_master.h" 14 | 15 | #define MSGPACK_STR(v) #v 16 | #define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev) 17 | 18 | #define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION) 19 | 20 | inline const char* msgpack_version(void) { 21 | return MSGPACK_VERSION; 22 | } 23 | 24 | inline int msgpack_version_major(void) { 25 | return MSGPACK_VERSION_MAJOR; 26 | } 27 | 28 | inline int msgpack_version_minor(void) { 29 | return MSGPACK_VERSION_MINOR; 30 | } 31 | 32 | inline int msgpack_version_revision(void) { 33 | return MSGPACK_VERSION_REVISION; 34 | } 35 | 36 | #endif /* msgpack/version.hpp */ 37 | -------------------------------------------------------------------------------- /inst/include/msgpack/version_master.h: -------------------------------------------------------------------------------- 1 | #define MSGPACK_VERSION_MAJOR 2 2 | #define MSGPACK_VERSION_MINOR 1 3 | #define MSGPACK_VERSION_REVISION 5 4 | -------------------------------------------------------------------------------- /inst/include/msgpack/vrefbuffer.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ zero-copy buffer implementation 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_VREFBUFFER_HPP 11 | #define MSGPACK_VREFBUFFER_HPP 12 | 13 | #include "msgpack/vrefbuffer_decl.hpp" 14 | 15 | #include "msgpack/v1/vrefbuffer.hpp" 16 | 17 | #endif // MSGPACK_VREFBUFFER_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/vrefbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ zero-copy buffer implementation 3 | // 4 | // Copyright (C) 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_VREFBUFFER_DECL_HPP 11 | #define MSGPACK_VREFBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/vrefbuffer_decl.hpp" 14 | #include "msgpack/v2/vrefbuffer_decl.hpp" 15 | 16 | #endif // MSGPACK_VREFBUFFER_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/zbuffer.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deflate buffer implementation 3 | // 4 | // Copyright (C) 2010-2013 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_ZBUFFER_HPP 11 | #define MSGPACK_ZBUFFER_HPP 12 | 13 | #include "msgpack/zbuffer_decl.hpp" 14 | 15 | #include "msgpack/v1/zbuffer.hpp" 16 | 17 | #endif // MSGPACK_ZBUFFER_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/zbuffer_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ deflate buffer implementation 3 | // 4 | // Copyright (C) 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_ZBUFFER_DECL_HPP 11 | #define MSGPACK_ZBUFFER_DECL_HPP 12 | 13 | #include "msgpack/v1/zbuffer_decl.hpp" 14 | #include "msgpack/v2/zbuffer_decl.hpp" 15 | 16 | #endif // MSGPACK_ZBUFFER_DECL_HPP 17 | -------------------------------------------------------------------------------- /inst/include/msgpack/zone.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 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_ZONE_HPP 11 | #define MSGPACK_ZONE_HPP 12 | 13 | #include "msgpack/zone_decl.hpp" 14 | 15 | #include "msgpack/v1/zone.hpp" 16 | 17 | #endif // MSGPACK_ZONE_HPP 18 | -------------------------------------------------------------------------------- /inst/include/msgpack/zone_decl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // MessagePack for C++ memory pool 3 | // 4 | // Copyright (C) 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_ZONE_DECL_HPP 11 | #define MSGPACK_ZONE_DECL_HPP 12 | 13 | #include "msgpack/v1/zone_decl.hpp" 14 | #include "msgpack/v2/zone_decl.hpp" 15 | 16 | #endif // MSGPACK_ZONE_DECL_HPP 17 | -------------------------------------------------------------------------------- /man/RcppMsgPack-package.Rd: -------------------------------------------------------------------------------- 1 | \name{RcppMsgPack-package} 2 | \alias{RcppMsgPack-package} 3 | \alias{RcppMsgPack} 4 | \docType{package} 5 | \title{\packageTitle{RcppMsgPack}} 6 | \description{\packageDescription{RcppMsgPack}} 7 | \section{Package Content}{\packageIndices{RcppMsgPack}} 8 | \author{\packageAuthor{RcppMsgPack}} 9 | \section{Maintainer}{\packageMaintainer{RcppMsgPack}} 10 | \keyword{ package } 11 | -------------------------------------------------------------------------------- /man/arrayEx.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/RcppExports.R 3 | \name{arrayEx} 4 | \alias{arrayEx} 5 | \title{Simple MsgPack Example} 6 | \usage{ 7 | arrayEx() 8 | } 9 | \value{ 10 | A boolean value of \code{TRUE} is returned, but the function exists 11 | for its side effect. 12 | } 13 | \description{ 14 | Simple MsgPack Example 15 | } 16 | \details{ 17 | The function provides a simple illustration of MessagePack. 18 | } 19 | \seealso{ 20 | The MessagePack documentation, particularly the msgpack-c examples. 21 | } 22 | -------------------------------------------------------------------------------- /man/enumEx.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/RcppExports.R 3 | \name{enumEx} 4 | \alias{enumEx} 5 | \title{Second simple MsgPack Example} 6 | \usage{ 7 | enumEx() 8 | } 9 | \value{ 10 | A boolean value of \code{TRUE} is returned, but the function exists 11 | for its side effect. 12 | } 13 | \description{ 14 | Second simple MsgPack Example 15 | } 16 | \details{ 17 | The function provides a simple illustration of MessagePack. 18 | } 19 | \seealso{ 20 | The MessagePack documentation, particularly the msgpack-c examples. 21 | } 22 | -------------------------------------------------------------------------------- /man/msgpack_format.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_format} 4 | \alias{msgpack_format} 5 | \alias{msgpackFormat} 6 | \title{Format data for 'MsgPack'} 7 | \usage{ 8 | msgpack_format(x) 9 | 10 | msgpackFormat(x) 11 | } 12 | \arguments{ 13 | \item{x}{An r object.} 14 | } 15 | \value{ 16 | A formatted R object to use as input to msgpack_pack. Vectors are converted into Lists. 17 | } 18 | \description{ 19 | A helper function to format R data for input to 'MsgPack'. 20 | } 21 | \examples{ 22 | x <- msgpack_format(1:10) 23 | x_packed <- msgpack_pack(x) 24 | x_unpacked <- msgpack_unpack(x_packed) 25 | x_simplified <- msgpack_simplify(x_unpacked) 26 | } 27 | -------------------------------------------------------------------------------- /man/msgpack_map.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_map} 4 | \alias{msgpack_map} 5 | \alias{msgpackMap} 6 | \title{'MsgPack' Map} 7 | \usage{ 8 | msgpack_map(key, value) 9 | 10 | msgpackMap(key, value) 11 | } 12 | \arguments{ 13 | \item{key}{A list or vector of keys (coerced to list). Duplicate keys are fine (connects to std::multimap in C++).} 14 | 15 | \item{value}{A list or vector of values (coerced to list). This should be the same length as key.} 16 | } 17 | \value{ 18 | An data.frame also of class "map" that can be used as input to msgpack_pack. 19 | } 20 | \description{ 21 | A helper function to create a map object for input to 'MsgPack'. 22 | } 23 | \examples{ 24 | x <- msgpack_map(key=letters[1:10], value=1:10) 25 | x_packed <- msgpack_pack(x) 26 | x_unpacked <- msgpack_unpack(x_packed) 27 | } 28 | -------------------------------------------------------------------------------- /man/msgpack_pack.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_pack} 4 | \alias{msgpack_pack} 5 | \alias{msgpackPack} 6 | \title{'MsgPack' Pack} 7 | \usage{ 8 | msgpack_pack(...) 9 | 10 | msgpackPack(...) 11 | } 12 | \arguments{ 13 | \item{...}{Any R objects that have corresponding msgpack types.} 14 | } 15 | \value{ 16 | A raw vector containing the message. 17 | } 18 | \description{ 19 | Serialize any number of objects into a single message. Unnamed List is converted into Array, Map/Data.frame and Named Lists are converted into Maps. Integer, Double, Character, Raw vectors and NULL are converted into Int types (depending on size), Float types, String, Raw and Nil respectively. Raw vectors with EXT attribute are converted into Extension types. The EXT attribute should be an integer from 0 to 127. 20 | } 21 | \examples{ 22 | x <- msgpack_format(1:10) 23 | x_packed <- msgpack_pack(x) 24 | x_unpacked <- msgpack_unpack(x_packed) 25 | x_simplified <- msgpack_simplify(x_unpacked) 26 | } 27 | \seealso{ 28 | See examples/tests.r for more examples. 29 | } 30 | -------------------------------------------------------------------------------- /man/msgpack_read.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_read} 4 | \alias{msgpack_read} 5 | \alias{msgpackRead} 6 | \title{'MsgPack' read} 7 | \usage{ 8 | msgpack_read(file, simplify = F, mode = "auto", nbytes = 16777216) 9 | 10 | msgpackRead(file, simplify = F, mode = "auto", nbytes = 16777216) 11 | } 12 | \arguments{ 13 | \item{file}{A connection, or a string describing the file or pipe to write to, depending on the mode.} 14 | 15 | \item{simplify}{Passed to msgpack_unpack. Default: FALSE.} 16 | 17 | \item{mode}{One of "auto", "file", "gzip" or "pipe". If "auto", detects based on the file string (any space == pipe, ".gz" == gzip, file otherwise). Ignored if file is a connection.} 18 | 19 | \item{nbytes}{If reading from a pipe or gzip, how many bytes to read at a time. Default: 16777216} 20 | } 21 | \description{ 22 | A helper function to de-serialize an object read from a file or a connection. 23 | } 24 | \examples{ 25 | tmp <- tempfile(fileext=".gz") 26 | msgpack_write(1:10, file=tmp) 27 | x <- msgpack_read(tmp, simplify=TRUE) 28 | } 29 | -------------------------------------------------------------------------------- /man/msgpack_simplify.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_simplify} 4 | \alias{msgpack_simplify} 5 | \alias{msgpackSimplify} 6 | \title{Simplify 'MsgPack'} 7 | \usage{ 8 | msgpack_simplify(x) 9 | 10 | msgpackSimplify(x) 11 | } 12 | \arguments{ 13 | \item{x}{Return object from msgpack_unpack.} 14 | } 15 | \value{ 16 | A simplified return object from msgpack_unpack. Lists of all the same type are concatenated into an atomic vector. Maps are simplified to named lists or named vectors as appropriate. NULLs are converted to NAs if simplified to vector. 17 | } 18 | \description{ 19 | A helper function for simplifying a 'MsgPack' return object. 20 | } 21 | \examples{ 22 | x <- msgpack_format(1:10) 23 | x_packed <- msgpack_pack(x) 24 | x_unpacked <- msgpack_unpack(x_packed) 25 | x_simplified <- msgpack_simplify(x_unpacked) 26 | } 27 | -------------------------------------------------------------------------------- /man/msgpack_timestamp_decode.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_timestamp_decode} 4 | \alias{msgpack_timestamp_decode} 5 | \alias{msgpackTimestampDecode} 6 | \title{'MsgPack' Timestamp} 7 | \usage{ 8 | msgpack_timestamp_decode(x, posix = T, tz = "UTC") 9 | 10 | msgpackTimestampDecode(x, posix = T, tz = "UTC") 11 | } 12 | \arguments{ 13 | \item{x}{A raw vector with attriubte EXT = -1, following the 'MsgPack' timestamp specifications.} 14 | 15 | \item{posix}{Return a POSIXct object. Otherwise, return a list with seconds and nanoseconds since 1970-01-01 00:00:00.} 16 | 17 | \item{tz}{If returning a POSIXct, set the timezone. Note that this doesn't change the underlying value.} 18 | } 19 | \value{ 20 | A POSIXct or list. 21 | mt <- Sys.time() 22 | attr(mt, "tzone") <- "UTC" 23 | mp <- msgpack_pack(msgpack_timestamp_encode(mt)) 24 | mtu <- msgpack_timestamp_decode(msgpack_unpack(mp)) 25 | identical(mt, mtu) 26 | } 27 | \description{ 28 | Decodes a timestamp from the 'MsgPack' extension specifications. 29 | } 30 | -------------------------------------------------------------------------------- /man/msgpack_write.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/functions.r 3 | \name{msgpack_write} 4 | \alias{msgpack_write} 5 | \alias{msgpackWrite} 6 | \title{'MsgPack' write} 7 | \usage{ 8 | msgpack_write(..., msg = NULL, file, mode = "auto") 9 | 10 | msgpackWrite(..., msg = NULL, file, mode = "auto") 11 | } 12 | \arguments{ 13 | \item{...}{Serializable R objects.} 14 | 15 | \item{msg}{Message to write to file. If not NULL and a raw vector, write it instead of the R objects. Default: NULL.} 16 | 17 | \item{file}{A connection, or a string describing the file or pipe to write to, depending on the mode.} 18 | 19 | \item{mode}{One of "auto", "file", "gzip" or "pipe". If "auto", detects based on the file string (any space == pipe, ".gz" == gzip, file otherwise). Ignored if file is a connection.} 20 | } 21 | \description{ 22 | A helper function to serialize an object and write it to a file, or a connection. 23 | } 24 | \examples{ 25 | tmp <- tempfile(fileext=".gz") 26 | msgpack_write(1:10, file=tmp) 27 | x <- msgpack_read(tmp, simplify=TRUE) 28 | } 29 | -------------------------------------------------------------------------------- /src/Makevars: -------------------------------------------------------------------------------- 1 | 2 | PKG_CPPFLAGS = -I../inst/include 3 | -------------------------------------------------------------------------------- /tests/simpleTests.R: -------------------------------------------------------------------------------- 1 | 2 | ## super-simple 3 | ## TODO: proper RUnit tests of a compilation or two 4 | 5 | stopifnot(system.file("include", "msgpack.hpp", package="RcppMsgPack") != "") 6 | -------------------------------------------------------------------------------- /vignettes/msgpack_flowchart.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eddelbuettel/rcppmsgpack/b5831d332bf63156c208a3055967258c497bb4bd/vignettes/msgpack_flowchart.pdf -------------------------------------------------------------------------------- /vignettes/msgpack_flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eddelbuettel/rcppmsgpack/b5831d332bf63156c208a3055967258c497bb4bd/vignettes/msgpack_flowchart.png --------------------------------------------------------------------------------