/*
    AUTOMATICALLY GENERATED BY tspec 2.8
    API SUBSET: cpp:typeinfo (VERSION 1.1)
*/

#ifndef __TDF_CPP_TYPEINFO
#define __TDF_CPP_TYPEINFO

extern "C++" {

namespace std {

#pragma TenDRA declaration block api__cpp__typeinfo begin

#ifndef __TDF_CPP_EXCEPTION_EXCEPT
#pragma extend interface "../shared/cpp.api/except.h"
#endif /* __TDF_CPP_EXCEPTION_EXCEPT */
// CLASS RETURNED BY TYPEID OPERATOR
class type_info {
    // Implementation dependent details
    class __base_info {} ;
    int __code ;
    const char *__name ;
    __base_info *__base ;
public :
    virtual ~type_info () ;
    bool operator== ( const type_info & ) const ;
    bool operator!= ( const type_info & ) const ;
    bool before ( const type_info & ) const ;
    const char *name () const ;
private :
    type_info ( const type_info & ) ;
    type_info &operator= ( const type_info & ) ;
} ;

// EXCEPTION THROWN BY BAD DYNAMIC_CAST
class bad_cast : public exception {
    // Implementation dependent details
public :
    bad_cast () throw () ;
    bad_cast ( const bad_cast & ) throw () ;
    bad_cast &operator= ( const bad_cast & ) throw () ;
    virtual ~bad_cast () throw () ;
    virtual const char *what () const throw () ;
} ;

// EXCEPTION THROWN BY BAD TYPEID
class bad_typeid : public exception {
    // Implementation dependent details
public :
    bad_typeid () throw () ;
    bad_typeid ( const bad_typeid & ) throw () ;
    bad_typeid &operator= ( const bad_typeid & ) throw () ;
    virtual ~bad_typeid () throw () ;
    virtual const char *what () const throw () ;
} ;

#pragma TenDRA declaration block end

}

}

#endif /* __TDF_CPP_TYPEINFO */
