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

Exception indicating that the type information is not available for a type. More...

#include <exceptions.hxx>

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

Public Member Functions

 no_type_info (const std::basic_string< C > &type_name, const std::basic_string< C > &type_ns)
 Initialize an instance with the type description.
 
const std::basic_string< C > & type_name () const
 Get the type name.
 
const std::basic_string< C > & type_namespace () const
 Get the type namespace.
 
virtual const char * what () const throw ()
 Get exception description.
 

Detailed Description

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

Exception indicating that the type information is not available for a type.

Constructor & Destructor Documentation

◆ no_type_info()

template<typename C >
no_type_info ( const std::basic_string< C > &  type_name,
const std::basic_string< C > &  type_ns 
)

Initialize an instance with the type description.

Parameters
type_nameA name of the type.
type_nsA namespace of the type.

Member Function Documentation

◆ type_name()

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

Get the type name.

Returns
The type name.

◆ type_namespace()

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

Get the type namespace.

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