Go to the documentation of this file.00001 #ifndef CLASS_IS_DERIVED_FROM_H_INCLUDED_
00002 #define CLASS_IS_DERIVED_FROM_H_INCLUDED_
00003
00004 #include "rose.h"
00005
00006 namespace risc {
00007
00008 namespace tools {
00009
00018 bool
00019 is_derived_from (SgClassDefinition* derived_class, SgClassDefinition* base_class);
00020
00021
00028 bool
00029 is_derived_from_sc_module(SgClassDefinition* derived_class);
00030
00037 bool
00038 is_derived_from_sc_port(SgClassDefinition* derived_class);
00039
00046 bool
00047 is_derived_from_sc_port_base(SgClassDefinition* derived_class);
00048
00055 bool
00056 is_derived_from_sc_prim_channel(SgClassDefinition* derived_class);
00057
00064 bool
00065 is_derived_from_sc_channel(SgClassDefinition* derived_class);
00066
00073 bool
00074 is_sc_event(SgClassDefinition* derived_class);
00075
00084 bool
00085 is_sc_in_port(SgTemplateInstantiationDefn* template_class);
00086
00095 bool
00096 is_sc_out_port(SgTemplateInstantiationDefn* template_class);
00097
00106 bool
00107 is_sc_inout_port(SgTemplateInstantiationDefn* template_class);
00108 }
00109
00110 }
00111
00112
00113
00114 #endif