3 * - By John Hodge (thePowersGang)
6 * - typeid and dynamic_cast
13 type_info::~type_info()
18 bool type_info::operator==(const type_info& other) const
20 _SysDebug("type_info::operator== - '%s' == '%s'", this->__type_name, other.__type_name);
21 return this->__type_name == other.__type_name;
24 bool type_info::operator!=(const type_info& other) const
26 _SysDebug("type_info::operator!= - '%s' != '%s'", this->__type_name, other.__type_name);
27 return this->__type_name != other.__type_name;
30 bool type_info::before(const type_info& other) const
32 _SysDebug("type_info::before - '%s' < '%s'", this->__type_name, other.__type_name);
33 return this->__type_name < other.__type_name;
36 const char *type_info::name() const
38 return this->__type_name;
42 type_info::type_info(const type_info& rhs):
43 __type_name(rhs.__type_name)
46 type_info& type_info::operator=(const type_info& rhs)
48 __type_name = rhs.__type_name;