All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
search_node_in_namespace.h
Go to the documentation of this file.
1 #ifndef SEARCH_CLASS_DEFINITION_BY_NAME_H_INCLUDED_
2 #define SEARCH_CLASS_DEFINITION_BY_NAME_H_INCLUDED_
3 
4 #include <string>
5 #include "rose.h"
6 
7 namespace risc
8 {
9 
10 namespace tools
11 {
12 
22 SgClassDefinition*
23 find_class_definition(std::string class_name, std::string qualified_namespace);
24 
34 SgTypedefDeclaration* find_typedef_declaration(
35  std::string typedef_name,
36  std::string qualified_namespace);
37 
38 } // end namespace tools
39 
40 } // end namespace risc
41 
42 #endif /* SEARCH_CLASS_DEFINITION_BY_NAME_H_INCLUDED_ */
43 
44 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
SgClassDefinition * find_class_definition(std::string class_name, std::string qualified_namespace)
This function searchs for a class by name (string) in namespace (string)
Definition: search_node_in_namespace.cpp:6
SgTypedefDeclaration * find_typedef_declaration(std::string typedef_name, std::string qualified_namespace)
This function searchs for a typedef&#39;s by name (string) in namespace (string)
Definition: search_node_in_namespace.cpp:32