Usermode/libc++ - Exception handling implemented (partially)
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / include_exp / typeinfo
1 /*
2  * Acess2 C++ Library
3  * - By John Hodge (thePowersGang)
4  *
5  * typeinfo (header)
6  * - typeid and dynamic_cast
7  */
8 #ifndef _LIBCXX__TYPEINFO_
9 #define _LIBCXX__TYPEINFO_
10
11 namespace std {
12
13 // Type information class
14 class type_info
15 {
16 public:
17         virtual ~type_info();
18         bool operator==(const type_info &) const;
19         bool operator!=(const type_info &) const;
20         bool before(const type_info &) const;
21         const char* name() const;
22         
23         // acess
24         bool __is_child(const type_info &, unsigned long&) const;
25 private:
26         type_info (const type_info& rhs);
27         type_info& operator= (const type_info& rhs);
28
29         // acess
30         bool is_class() const;
31         bool is_subclass() const;
32         
33         // CXX ABI
34         const char *__type_name;
35 };
36
37 };
38
39 #endif
40
41 // vim: ft=cpp
42

UCC git Repository :: git.ucc.asn.au