Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
i
k
n
p
r
s
t
v
Typedefs
a
b
c
f
h
i
m
n
p
s
t
u
w
y
Enumerations
Enumerator
a
b
c
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
Enumerator
a
b
c
e
g
i
k
l
m
n
o
p
r
s
u
v
Related Functions
a
b
c
d
e
i
l
m
o
r
s
u
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
g
m
o
p
r
s
t
Variables
_
a
b
f
g
l
t
u
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
e
f
g
i
l
m
r
s
u
v
w
x
sick_visionary_cpp_shared
3pp
boost
serialization
serialization/traits.hpp
Go to the documentation of this file.
1
#ifndef BOOST_SERIALIZATION_TRAITS_HPP
2
#define BOOST_SERIALIZATION_TRAITS_HPP
3
4
// MS compatible compilers support #pragma once
5
#if defined(_MSC_VER)
6
# pragma once
7
#endif
8
10
// traits.hpp:
11
12
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
13
// Use, modification and distribution is subject to the Boost Software
14
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
15
// http://www.boost.org/LICENSE_1_0.txt)
16
17
// See http://www.boost.org for updates, documentation, and revision history.
18
19
// This header is used to apply serialization traits to templates. The
20
// standard system can't be used for platforms which don't support
21
// Partial Templlate Specialization.
22
23
// The motivation for this is the Name-Value Pair (NVP) template.
24
// it has to work the same on all platforms in order for archives
25
// to be portable accross platforms.
26
27
#include <
boost/config.hpp
>
28
#include <
boost/static_assert.hpp
>
29
30
#include <
boost/mpl/int.hpp
>
31
#include <
boost/mpl/bool_fwd.hpp
>
32
#include <
boost/serialization/level_enum.hpp
>
33
#include <
boost/serialization/tracking_enum.hpp
>
34
35
namespace
boost
{
36
namespace
serialization {
37
38
// common base class used to detect appended traits class
39
struct
basic_traits
{};
40
41
template
<
class
T>
42
struct
extended_type_info_impl
;
43
44
template
<
45
class
T
,
46
int
Level
,
47
int
Tracking,
48
unsigned
int
Version = 0,
49
class
ETII =
extended_type_info_impl< T >
,
50
class
Wrapper =
mpl::false_
51
>
52
struct
traits
:
public
basic_traits
{
53
BOOST_STATIC_ASSERT
(Version == 0 ||
Level
>=
object_class_info
);
54
BOOST_STATIC_ASSERT
(Tracking ==
track_never
||
Level
>=
object_serializable
);
55
typedef
typename
mpl::int_<Level>
level
;
56
typedef
typename
mpl::int_<Tracking>
tracking
;
57
typedef
typename
mpl::int_<Version>
version
;
58
typedef
ETII
type_info_implementation
;
59
typedef
Wrapper
is_wrapper
;
60
};
61
62
}
// namespace serialization
63
}
// namespace boost
64
65
#endif // BOOST_SERIALIZATION_TRAITS_HPP
false_
bool_< false > false_
Definition:
bool_fwd.hpp:25
T
T
Definition:
mem_fn_cc.hpp:25
config.hpp
static_assert.hpp
int.hpp
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::serialization::extended_type_info_impl
Definition:
serialization/traits.hpp:42
boost::serialization::traits::level
mpl::int_< Level > level
Definition:
serialization/traits.hpp:55
tracking_enum.hpp
boost::serialization::traits::type_info_implementation
ETII type_info_implementation
Definition:
serialization/traits.hpp:58
boost::serialization::basic_traits
Definition:
serialization/traits.hpp:39
level_enum.hpp
boost::serialization::traits
Definition:
serialization/traits.hpp:52
boost::serialization::object_serializable
@ object_serializable
Definition:
level_enum.hpp:41
bool_fwd.hpp
Level
Level
boost::serialization::traits::BOOST_STATIC_ASSERT
BOOST_STATIC_ASSERT(Version==0||Level >=object_class_info)
boost::serialization::object_class_info
@ object_class_info
Definition:
level_enum.hpp:49
boost::serialization::traits::tracking
mpl::int_< Tracking > tracking
Definition:
serialization/traits.hpp:56
boost::serialization::traits::is_wrapper
Wrapper is_wrapper
Definition:
serialization/traits.hpp:59
boost::serialization::track_never
@ track_never
Definition:
tracking_enum.hpp:30
boost::serialization::traits::version
mpl::int_< Version > version
Definition:
serialization/traits.hpp:57
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:48:43