All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
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. More...
 
std::vector< SgClassDefinition * > find_all_modules ()
 Search for all class definitions. More...
 
std::vector< SgClassDefinition * > find_all_channels ()
 Search for all class definitions. More...
 

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
projectHead node of the project
nodenode
Returns
True, if the node is located in a file in the include folder