risc::traverser Namespace Reference

Functions

bool is_defined_in_included_library (SgProject *project, SgNode *node)
 This funciton checks if the defintion of the node is in a file that is located in the given include path.
std::vector< SgClassDefinition * > find_all_modules ()
 Search for all class definitions.
std::vector< SgClassDefinition * > find_all_channels ()
 Search for all class definitions.

Function Documentation

std::vector< SgClassDefinition * > risc::traverser::find_all_channels (  ) 

Search for all class definitions.

Returns:
A vector with all classes that are derived from sc_channel
std::vector< SgClassDefinition * > risc::traverser::find_all_modules (  ) 

Search for all class definitions.

Returns:
A vector with all classes that are derived from sc_module
bool risc::traverser::is_defined_in_included_library ( SgProject *  project,
SgNode *  node 
)

This funciton checks if the defintion of the node is in a file that is located in the given include path.

Parameters:
project Head node of the project
Returns:
True, if the node is located in a file in the include folder
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 30 Sep 2018 by  doxygen 1.6.1