Exception indicating that the types are not related by inheritance.
More...
#include <exceptions.hxx>
|
| | not_derived (const std::basic_string< C > &base_type_name, const std::basic_string< C > &base_type_ns, const std::basic_string< C > &derived_type_name, const std::basic_string< C > &derived_type_ns) |
| | Initialize an instance with the type descriptions.
|
| |
| const std::basic_string< C > & | base_type_name () const |
| | Get the base type name.
|
| |
| const std::basic_string< C > & | base_type_namespace () const |
| | Get the base type namespace.
|
| |
| const std::basic_string< C > & | derived_type_name () const |
| | Get the derived type name.
|
| |
| const std::basic_string< C > & | derived_type_namespace () const |
| | Get the derived type namespace.
|
| |
| virtual const char * | what () const throw () |
| | Get exception description.
|
| |
template<typename C>
class xsd::cxx::tree::not_derived< C >
Exception indicating that the types are not related by inheritance.
◆ not_derived()
template<typename C >
| not_derived |
( |
const std::basic_string< C > & |
base_type_name, |
|
|
const std::basic_string< C > & |
base_type_ns, |
|
|
const std::basic_string< C > & |
derived_type_name, |
|
|
const std::basic_string< C > & |
derived_type_ns |
|
) |
| |
Initialize an instance with the type descriptions.
- Parameters
-
| base_type_name | A name of the base type. |
| base_type_ns | A namespace of the base type. |
| derived_type_name | A name of the derived type. |
| derived_type_ns | A namespace of the derived type. |
◆ base_type_name()
template<typename C >
| const std::basic_string< C > & base_type_name |
( |
| ) |
const |
|
inline |
Get the base type name.
- Returns
- The base type name.
◆ base_type_namespace()
template<typename C >
| const std::basic_string< C > & base_type_namespace |
( |
| ) |
const |
|
inline |
Get the base type namespace.
- Returns
- The base type namespace.
◆ derived_type_name()
template<typename C >
| const std::basic_string< C > & derived_type_name |
( |
| ) |
const |
|
inline |
Get the derived type name.
- Returns
- The derived type name.
◆ derived_type_namespace()
template<typename C >
| const std::basic_string< C > & derived_type_namespace |
( |
| ) |
const |
|
inline |
Get the derived type namespace.
- Returns
- The derived type namespace.
◆ 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.