exceptions.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 
12 #ifndef BOOST_PROPERTY_TREE_EXCEPTIONS_HPP_INCLUDED
13 #define BOOST_PROPERTY_TREE_EXCEPTIONS_HPP_INCLUDED
14 
16 
17 #include <boost/any.hpp>
18 #include <string>
19 #include <stdexcept>
20 
21 namespace boost { namespace property_tree
22 {
23 
27  class ptree_error : public std::runtime_error
28  {
29  public:
32  ptree_error(const std::string &what);
33 
34  ~ptree_error() throw();
35  };
36 
37 
40  class ptree_bad_data : public ptree_error
41  {
42  public:
48  template<class T> ptree_bad_data(const std::string &what,
49  const T &data);
50 
51  ~ptree_bad_data() throw();
52 
56  template<class T> T data() const;
57  private:
59  };
60 
61 
64  class ptree_bad_path : public ptree_error
65  {
66  public:
70  template<class T> ptree_bad_path(const std::string &what,
71  const T &path);
72 
73  ~ptree_bad_path() throw();
74 
77  template<class T> T path() const;
78  private:
80  };
81 
82 }}
83 
85 
86 #endif
T
T
Definition: mem_fn_cc.hpp:25
boost::property_tree::ptree_bad_data::~ptree_bad_data
~ptree_bad_data()
Definition: exception_implementation.hpp:51
boost::any
Definition: any.hpp:36
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::ptree_bad_path::m_path
boost::any m_path
Definition: exceptions.hpp:79
boost::property_tree::ptree_bad_data
Definition: exceptions.hpp:40
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)
boost::property_tree::ptree_bad_path::ptree_bad_path
ptree_bad_path(const std::string &what, const T &path)
exception_implementation.hpp
ptree_fwd.hpp
any.hpp
boost::property_tree::ptree_bad_path
Definition: exceptions.hpp:64
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