14#ifndef SIMICS_SYSTEMC_CLASS_TYPE_H
15#define SIMICS_SYSTEMC_CLASS_TYPE_H
45 type.type_ =
typeid(T).name();
52 type_ =
typeid(*this).name();
Definition: class_type.h:23
ClassType()
Definition: class_type.h:25
static ClassType typeForClass()
Definition: class_type.h:43
bool operator!=(const ClassType &type) const
Definition: class_type.h:32
virtual ~ClassType()
Definition: class_type.h:48
std::string type_
Definition: class_type.h:54
bool operator<(const ClassType &type) const
Definition: class_type.h:35
void set_type()
Definition: class_type.h:51
T * get_interface()
Definition: class_type.h:39
ClassType * implementor_
Definition: class_type.h:55
bool operator==(const ClassType &type) const
Definition: class_type.h:29
std::string type() const
Definition: class_type.h:26