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_V1_ITERATOR_DECL_HPP
12 #define MSGPACK_V1_ITERATOR_DECL_HPP
13 #if !defined(MSGPACK_USE_CPP03)
14 
15 #include <msgpack/object_fwd.hpp>
16 
17 namespace msgpack {
18 
19 /// @cond
MSGPACK_API_VERSION_NAMESPACE(v1)20 MSGPACK_API_VERSION_NAMESPACE(v1) {
21 /// @endcond
22 
23 msgpack::object_kv* begin(msgpack::object_map &map);
24 const msgpack::object_kv* begin(const msgpack::object_map &map);
25 msgpack::object_kv* end(msgpack::object_map &map);
26 const msgpack::object_kv* end(const msgpack::object_map &map);
27 
28 msgpack::object* begin(msgpack::object_array &array);
29 const msgpack::object* begin(const msgpack::object_array &array);
30 msgpack::object* end(msgpack::object_array &array);
31 const msgpack::object* end(const msgpack::object_array &array);
32 
33 /// @cond
34 }
35 /// @endcond
36 
37 }
38 
39 #endif // !defined(MSGPACK_USE_CPP03)
40 #endif // MSGPACK_V1_ITERATOR_DECL_HPP
41