Public Member Functions | Private Attributes | List of all members
boost::property_tree::ptree_bad_path Class Reference

#include <exceptions.hpp>

Inheritance diagram for boost::property_tree::ptree_bad_path:
Inheritance graph
[legend]

Public Member Functions

template<class P >
path () const
 
template<class T >
T path () const
 
template<class P >
 ptree_bad_path (const std::string &w, const P &p)
 
template<class T >
 ptree_bad_path (const std::string &what, const T &path)
 
 ~ptree_bad_path () throw ()
 
- Public Member Functions inherited from boost::property_tree::ptree_error
 ptree_error (const std::string &what)
 
 ~ptree_error () throw ()
 

Private Attributes

boost::any m_path
 

Detailed Description

Error indicating that specified path does not exist. Derives from ptree_error.

Definition at line 64 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ ptree_bad_path() [1/2]

template<class T >
boost::property_tree::ptree_bad_path::ptree_bad_path ( const std::string &  what,
const T path 
)

Instantiate a ptree_bad_path with the given message and path data.

Parameters
whatThe message to associate with this error.
pathThe path that could not be found in the property_tree.

◆ ~ptree_bad_path()

boost::property_tree::ptree_bad_path::~ptree_bad_path ( )
throw (
)
inline

Definition at line 71 of file exception_implementation.hpp.

◆ ptree_bad_path() [2/2]

template<class P >
boost::property_tree::ptree_bad_path::ptree_bad_path ( const std::string &  w,
const P &  p 
)
inline

Definition at line 65 of file exception_implementation.hpp.

Member Function Documentation

◆ path() [1/2]

template<class P >
P boost::property_tree::ptree_bad_path::path ( ) const
inline

Definition at line 76 of file exception_implementation.hpp.

◆ path() [2/2]

template<class T >
T boost::property_tree::ptree_bad_path::path ( ) const

Retrieve the invalid path. You need to explicitly specify the type of path.

Member Data Documentation

◆ m_path

boost::any boost::property_tree::ptree_bad_path::m_path
private

Definition at line 79 of file exceptions.hpp.


The documentation for this class was generated from the following files:


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 04:38:17