Exception indicating that an expected element was not encountered.
More...
#include <exceptions.hxx>
|
| | expected_element (const std::basic_string< C > &name, const std::basic_string< C > &ns) |
| | Initialize an instance with the expected element description.
|
| |
| const std::basic_string< C > & | name () const |
| | Get the name of the expected element.
|
| |
| const std::basic_string< C > & | namespace_ () const |
| | Get the namespace of the expected element.
|
| |
| virtual const char * | what () const throw () |
| | Get exception description.
|
| |
template<typename C>
class xsd::cxx::tree::expected_element< C >
Exception indicating that an expected element was not encountered.
◆ expected_element()
template<typename C >
| expected_element |
( |
const std::basic_string< C > & |
name, |
|
|
const std::basic_string< C > & |
ns |
|
) |
| |
Initialize an instance with the expected element description.
- Parameters
-
| name | A name of the expected element. |
| ns | A namespace of the expected element. |
◆ name()
template<typename C >
| const std::basic_string< C > & name |
( |
| ) |
const |
|
inline |
Get the name of the expected element.
- Returns
- The name of the expected element.
◆ namespace_()
template<typename C >
| const std::basic_string< C > & namespace_ |
( |
| ) |
const |
|
inline |
Get the namespace of the expected element.
- Returns
- The namespace of the expected element.
◆ what()
template<typename C >
| virtual const char * what |
( |
| ) |
const |
| throw | ( | |
| ) | | |
|
virtual |
Get exception description.
- Returns
- A C string describing the exception.
The documentation for this class was generated from the following file:
Copyright © 2005-2023 Code Synthesis.