systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc_clang::FindGlobalEvents Class Reference

#include <FindGlobalEvents.h>

Inheritance diagram for systemc_clang::FindGlobalEvents:
Collaboration diagram for systemc_clang::FindGlobalEvents:

Public Types

typedef std::map< std::string, clang::VarDecl * > globalEventMapType
 
typedef std::pair< std::string, clang::VarDecl * > kvType
 

Public Member Functions

 FindGlobalEvents (clang::TranslationUnitDecl *, llvm::raw_ostream &)
 
virtual ~FindGlobalEvents ()
 
virtual bool VisitVarDecl (clang::VarDecl *)
 
globalEventMapType getEventMap ()
 
std::vector< std::string > getEventNames ()
 
void dump ()
 
std::string asString () const
 

Private Attributes

llvm::raw_ostream & _os
 
globalEventMapType _globalEvents
 

Detailed Description

Definition at line 20 of file FindGlobalEvents.h.

Member Typedef Documentation

◆ globalEventMapType

std::map<std::string, clang::VarDecl *> systemc_clang::FindGlobalEvents::globalEventMapType

Definition at line 22 of file FindGlobalEvents.h.

◆ kvType

std::pair<std::string, clang::VarDecl *> systemc_clang::FindGlobalEvents::kvType

Definition at line 23 of file FindGlobalEvents.h.

Constructor & Destructor Documentation

◆ FindGlobalEvents()

FindGlobalEvents::FindGlobalEvents ( clang::TranslationUnitDecl * declaration,
llvm::raw_ostream & os )

Definition at line 6 of file FindGlobalEvents.cpp.

◆ ~FindGlobalEvents()

FindGlobalEvents::~FindGlobalEvents ( )
virtual

Definition at line 12 of file FindGlobalEvents.cpp.

Member Function Documentation

◆ asString()

std::string FindGlobalEvents::asString ( ) const

Definition at line 39 of file FindGlobalEvents.cpp.

◆ dump()

void FindGlobalEvents::dump ( )

Definition at line 29 of file FindGlobalEvents.cpp.

◆ getEventMap()

FindGlobalEvents::globalEventMapType FindGlobalEvents::getEventMap ( )

Definition at line 25 of file FindGlobalEvents.cpp.

◆ getEventNames()

std::vector< std::string > systemc_clang::FindGlobalEvents::getEventNames ( )

◆ VisitVarDecl()

bool FindGlobalEvents::VisitVarDecl ( clang::VarDecl * variable_declaration)
virtual

Definition at line 14 of file FindGlobalEvents.cpp.

Member Data Documentation

◆ _globalEvents

globalEventMapType systemc_clang::FindGlobalEvents::_globalEvents
private

Definition at line 38 of file FindGlobalEvents.h.

◆ _os

llvm::raw_ostream& systemc_clang::FindGlobalEvents::_os
private

Definition at line 37 of file FindGlobalEvents.h.


The documentation for this class was generated from the following files: