systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
systemc_clang::FindEvents Class Reference

#include <FindEvents.h>

Inheritance diagram for systemc_clang::FindEvents:
Inheritance graph
[legend]
Collaboration diagram for systemc_clang::FindEvents:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string, clang::FieldDecl * > classEventMapType
 typedefs
 
typedef std::pair< std::string, clang::FieldDecl * > kvType
 

Public Member Functions

 FindEvents (clang::CXXRecordDecl *, llvm::raw_ostream &)
 
 FindEvents (const FindEvents &)
 
virtual ~FindEvents ()
 
virtual bool VisitFieldDecl (clang::FieldDecl *)
 RecursiveASTVisitor methods.
 
classEventMapType getInClassEvents ()
 Access methods.
 
std::vector< std::string > getEventNames ()
 
void dump ()
 Print methods.
 

Private Attributes

llvm::raw_ostream & os_
 
classEventMapType _inClassEvents
 

Detailed Description

Definition at line 17 of file FindEvents.h.

Member Typedef Documentation

◆ classEventMapType

typedef std::map<std::string, clang::FieldDecl *> systemc_clang::FindEvents::classEventMapType

typedefs

Definition at line 20 of file FindEvents.h.

◆ kvType

typedef std::pair<std::string, clang::FieldDecl *> systemc_clang::FindEvents::kvType

Definition at line 21 of file FindEvents.h.

Constructor & Destructor Documentation

◆ FindEvents() [1/2]

FindEvents::FindEvents ( clang::CXXRecordDecl * d,
llvm::raw_ostream & os )

Definition at line 9 of file FindEvents.cpp.

◆ FindEvents() [2/2]

FindEvents::FindEvents ( const FindEvents & from)

Definition at line 13 of file FindEvents.cpp.

◆ ~FindEvents()

FindEvents::~FindEvents ( )
virtual

Definition at line 17 of file FindEvents.cpp.

Member Function Documentation

◆ dump()

void FindEvents::dump ( )

Print methods.

Definition at line 51 of file FindEvents.cpp.

◆ getEventNames()

std::vector< std::string > FindEvents::getEventNames ( )

Definition at line 42 of file FindEvents.cpp.

◆ getInClassEvents()

FindEvents::classEventMapType FindEvents::getInClassEvents ( )

Access methods.

Definition at line 37 of file FindEvents.cpp.

◆ VisitFieldDecl()

bool FindEvents::VisitFieldDecl ( clang::FieldDecl * fd)
virtual

RecursiveASTVisitor methods.

Definition at line 24 of file FindEvents.cpp.

Member Data Documentation

◆ _inClassEvents

classEventMapType systemc_clang::FindEvents::_inClassEvents
private

Definition at line 38 of file FindEvents.h.

◆ os_

llvm::raw_ostream& systemc_clang::FindEvents::os_
private

Definition at line 37 of file FindEvents.h.


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