object_fwd_decl.hpp
Go to the documentation of this file.
//
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MSGPACK_V1_OBJECT_FWD_DECL_HPP
#define MSGPACK_V1_OBJECT_FWD_DECL_HPP
#include "msgpack/versioning.hpp"
#include "msgpack/zone.hpp"
#include "msgpack/object.h"
#include <typeinfo>
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v1) {
namespace type {
enum object_type {
NIL = MSGPACK_OBJECT_NIL,
BOOLEAN = MSGPACK_OBJECT_BOOLEAN,
POSITIVE_INTEGER = MSGPACK_OBJECT_POSITIVE_INTEGER,
NEGATIVE_INTEGER = MSGPACK_OBJECT_NEGATIVE_INTEGER,
FLOAT32 = MSGPACK_OBJECT_FLOAT32,
FLOAT64 = MSGPACK_OBJECT_FLOAT64,
FLOAT = MSGPACK_OBJECT_FLOAT,
#if defined(MSGPACK_USE_LEGACY_NAME_AS_FLOAT)
DOUBLE = MSGPACK_DEPRECATED("please use FLOAT64 instead") MSGPACK_OBJECT_DOUBLE, // obsolete
#endif // MSGPACK_USE_LEGACY_NAME_AS_FLOAT
STR = MSGPACK_OBJECT_STR,
BIN = MSGPACK_OBJECT_BIN,
ARRAY = MSGPACK_OBJECT_ARRAY,
MAP = MSGPACK_OBJECT_MAP,
EXT = MSGPACK_OBJECT_EXT
};
}
struct object;
struct object_kv;
struct object_array;
struct object_map;
struct object_str;
struct object_bin;
struct object_ext;
#if !defined(MSGPACK_USE_CPP03)
namespace adaptor {
template <typename T, typename Enabler = void>
struct as;
} // namespace adaptor
template <typename T>
struct has_as;
#endif // !defined(MSGPACK_USE_CPP03)
class type_error;
} // MSGPACK_API_VERSION_NAMESPACE(v1)
} // namespace msgpack
#endif // MSGPACK_V1_OBJECT_FWD_DECL_HPP
msgpack::type::STR
Definition: object_fwd_decl.hpp:39
msgpack::object_ext
Definition: object_fwd.hpp:42
msgpack::type::FLOAT32
Definition: object_fwd_decl.hpp:33
msgpack::type::BOOLEAN
Definition: object_fwd_decl.hpp:30
msgpack::adaptor::as
Definition: object_fwd_decl.hpp:62
msgpack::type::BIN
Definition: object_fwd_decl.hpp:40
msgpack
Definition: adaptor_base.hpp:15
versioning.hpp
msgpack::type::FLOAT
Definition: object_fwd_decl.hpp:35
msgpack::type::object_type
object_type
Definition: object_fwd_decl.hpp:28
msgpack::object_kv
Definition: object.hpp:29
msgpack::type::NIL
Definition: object_fwd_decl.hpp:29
msgpack::type::NEGATIVE_INTEGER
Definition: object_fwd_decl.hpp:32
zone.hpp
msgpack::object_array
Definition: object_fwd.hpp:22
msgpack::type_error
Definition: object_fwd.hpp:236
msgpack::type::EXT
Definition: object_fwd_decl.hpp:43
msgpack::object
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
msgpack::type::ARRAY
Definition: object_fwd_decl.hpp:41
msgpack::type::MAP
Definition: object_fwd_decl.hpp:42
msgpack::type::FLOAT64
Definition: object_fwd_decl.hpp:34
msgpack::has_as
Definition: object_fwd.hpp:53
msgpack::object_map
Definition: object_fwd.hpp:27
msgpack::object_bin
Definition: object_fwd.hpp:37
MSGPACK_DEPRECATED
#define MSGPACK_DEPRECATED(msg)
Definition: cpp_config.hpp:132
msgpack::object_str
Definition: object_fwd.hpp:32
msgpack::type::POSITIVE_INTEGER
Definition: object_fwd_decl.hpp:31