C++/Tree Mapping Runtime Library
Public Member Functions | List of all members
no_element_info< C > Class Template Reference

Exception indicating that parsing or serialization information is not available for an element. More...

#include <exceptions.hxx>

Inheritance diagram for no_element_info< C >:
exception< C >

Public Member Functions

 no_element_info (const std::basic_string< C > &element_name, const std::basic_string< C > &element_ns)
 Initialize an instance with the element description.
 
const std::basic_string< C > & element_name () const
 Get the element name.
 
const std::basic_string< C > & element_namespace () const
 Get the element namespace.
 
virtual const char * what () const throw ()
 Get exception description.
 

Detailed Description

template<typename C>
class xsd::cxx::tree::no_element_info< C >

Exception indicating that parsing or serialization information is not available for an element.

Constructor & Destructor Documentation

◆ no_element_info()

template<typename C >
no_element_info ( const std::basic_string< C > &  element_name,
const std::basic_string< C > &  element_ns 
)

Initialize an instance with the element description.

Parameters
element_nameAn element name.
element_nsAn element namespace.

Member Function Documentation

◆ element_name()

template<typename C >
const std::basic_string< C > & element_name ( ) const
inline

Get the element name.

Returns
The element name.

◆ element_namespace()

template<typename C >
const std::basic_string< C > & element_namespace ( ) const
inline

Get the element namespace.

Returns
The element 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.