systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <EventDecl.h>
Public Member Functions | |
EventDecl () | |
Constructors. | |
EventDecl (const std::string &, clang::FieldDecl *) | |
EventDecl (const EventDecl &) | |
Copy constructor. | |
virtual | ~EventDecl () |
Destructor. | |
std::string | getName () const |
Return the name of the sc_event. | |
const clang::FieldDecl * | getASTNode () const |
Return the FieldDecl node for the sc_event declaration. | |
void | dump (llvm::raw_ostream &) |
Private Attributes | |
std::string | name_ |
clang::FieldDecl * | ast_node_ |
Definition at line 14 of file EventDecl.h.
EventDecl::EventDecl | ( | ) |
Constructors.
Definition at line 13 of file EventDecl.cpp.
EventDecl::EventDecl | ( | const std::string & | name, |
clang::FieldDecl * | fd ) |
Definition at line 15 of file EventDecl.cpp.
EventDecl::EventDecl | ( | const EventDecl & | from | ) |
Copy constructor.
Definition at line 18 of file EventDecl.cpp.
|
virtual |
Destructor.
Definition at line 8 of file EventDecl.cpp.
void EventDecl::dump | ( | llvm::raw_ostream & | os | ) |
const clang::FieldDecl * EventDecl::getASTNode | ( | ) | const |
Return the FieldDecl node for the sc_event declaration.
Definition at line 25 of file EventDecl.cpp.
std::string EventDecl::getName | ( | ) | const |
Return the name of the sc_event.
Definition at line 23 of file EventDecl.cpp.
|
private |
Definition at line 39 of file EventDecl.h.
|
private |
Definition at line 38 of file EventDecl.h.