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
property_tree
detail
exception_implementation.hpp
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// Copyright (C) 2002-2006 Marcin Kalicinski
3
// Copyright (C) 2009 Sebastian Redl
4
//
5
// Distributed under the Boost Software License, Version 1.0.
6
// (See accompanying file LICENSE_1_0.txt or copy at
7
// http://www.boost.org/LICENSE_1_0.txt)
8
//
9
// For more information, see www.boost.org
10
// ----------------------------------------------------------------------------
11
#ifndef BOOST_PROPERTY_TREE_DETAIL_EXCEPTIONS_IMPLEMENTATION_HPP_INCLUDED
12
#define BOOST_PROPERTY_TREE_DETAIL_EXCEPTIONS_IMPLEMENTATION_HPP_INCLUDED
13
14
namespace
boost
{
namespace
property_tree
15
{
16
17
namespace
detail
18
{
19
20
// Helper for preparing what string in ptree_bad_path exception
21
template
<
class
P>
inline
22
std::string
prepare_bad_path_what
(
const
std::string &what,
23
const
P &
path
)
24
{
25
return
what +
" ("
+
path
.
dump
() +
")"
;
26
}
27
28
}
29
31
// ptree_error
32
33
inline
ptree_error::ptree_error
(
const
std::string &w):
34
std
::runtime_error(w)
35
{
36
}
37
38
inline
ptree_error::~ptree_error
() throw()
39
{
40
}
41
43
// ptree_bad_data
44
45
template
<
class
D>
inline
46
ptree_bad_data::ptree_bad_data
(
const
std::string &w,
const
D &d):
47
ptree_error
(w), m_data(
d
)
48
{
49
}
50
51
inline
ptree_bad_data::~ptree_bad_data
() throw()
52
{
53
}
54
55
template
<
class
D>
inline
56
D
ptree_bad_data::data
()
const
57
{
58
return
boost::any_cast<D>(
m_data
);
59
}
60
62
// ptree_bad_path
63
64
template
<
class
P>
inline
65
ptree_bad_path::ptree_bad_path
(
const
std::string &w,
const
P &p):
66
ptree_error
(detail::
prepare_bad_path_what
(w, p)), m_path(p)
67
{
68
69
}
70
71
inline
ptree_bad_path::~ptree_bad_path
() throw()
72
{
73
}
74
75
template
<
class
P>
inline
76
P
ptree_bad_path::path
()
const
77
{
78
return
boost::any_cast<P>(
m_path
);
79
}
80
81
}}
82
83
#endif
boost::property_tree::ptree_bad_data::~ptree_bad_data
~ptree_bad_data()
Definition:
exception_implementation.hpp:51
boost::property_tree::ptree_error::~ptree_error
~ptree_error()
Definition:
exception_implementation.hpp:38
boost::property_tree::ptree_bad_data::data
T data() const
boost::property_tree::ptree_error
Definition:
exceptions.hpp:27
boost::property_tree::ptree_bad_path::~ptree_bad_path
~ptree_bad_path()
Definition:
exception_implementation.hpp:71
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::property_tree::ptree_bad_data::m_data
boost::any m_data
Definition:
exceptions.hpp:58
boost::property_tree::string_path::dump
std::string dump() const
Definition:
string_path.hpp:128
boost::property_tree::ptree_bad_path::m_path
boost::any m_path
Definition:
exceptions.hpp:79
boost::property_tree::detail::prepare_bad_path_what
std::string prepare_bad_path_what(const std::string &what, const P &path)
Definition:
exception_implementation.hpp:22
d
d
boost::property_tree::string_path
Definition:
ptree_fwd.hpp:36
boost::property_tree::ptree_bad_path::path
T path() const
boost::property_tree::ptree_bad_data::ptree_bad_data
ptree_bad_data(const std::string &what, const T &data)
std
boost::property_tree::ptree_bad_path::ptree_bad_path
ptree_bad_path(const std::string &what, const T &path)
boost::property_tree::ptree_error::ptree_error
ptree_error(const std::string &what)
Definition:
exception_implementation.hpp:33
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:39:00