systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <ProcessDecl.h>
Public Member Functions | |
ProcessDecl (std::string process_type, std::string entry_name, clang::CXXMethodDecl *entry_method_decl, EntryFunctionContainer *entry_fn) | |
ProcessDecl (const ProcessDecl &) | |
Copy constructor. | |
virtual | ~ProcessDecl () |
Destructor. | |
std::string | getType () const |
Get methods. | |
std::string | getName () const |
const clang::CXXMethodDecl * | getEntryMethodDecl () const |
EntryFunctionContainer * | getEntryFunction () |
std::string | asString () const |
Dump. | |
void | dump () |
Protected Attributes | |
std::string | process_type_ |
Process information. | |
std::string | entry_name_ |
Name of the entry function. | |
const clang::CXXMethodDecl * | entry_method_decl_ |
Each process can have 1 entry function. | |
EntryFunctionContainer * | entry_function_ptr_ |
This is a container that holds information about the entry function. | |
Definition at line 24 of file ProcessDecl.h.
ProcessDecl::ProcessDecl | ( | std::string | process_type, |
std::string | entry_name, | ||
clang::CXXMethodDecl * | entry_method_decl, | ||
EntryFunctionContainer * | entry_fn ) |
Constructor.
process_type | Specified whether it is an SC_METHOD, SC_THREAD or SC_CTHREAD. |
entry_name | The name of the entry function (function associated with the process). entry_method_decl The CXXMethodDecl for the entry function. |
entry_fn | The container that holds entry function information. |
Definition at line 8 of file ProcessDecl.cpp.
ProcessDecl::ProcessDecl | ( | const ProcessDecl & | from | ) |
Copy constructor.
Definition at line 25 of file ProcessDecl.cpp.
|
virtual |
Destructor.
Definition at line 16 of file ProcessDecl.cpp.
std::string ProcessDecl::asString | ( | ) | const |
Dump.
Definition at line 53 of file ProcessDecl.cpp.
void ProcessDecl::dump | ( | ) |
Definition at line 44 of file ProcessDecl.cpp.
EntryFunctionContainer * ProcessDecl::getEntryFunction | ( | ) |
Definition at line 40 of file ProcessDecl.cpp.
const clang::CXXMethodDecl * ProcessDecl::getEntryMethodDecl | ( | ) | const |
Definition at line 36 of file ProcessDecl.cpp.
std::string ProcessDecl::getName | ( | ) | const |
Definition at line 34 of file ProcessDecl.cpp.
std::string ProcessDecl::getType | ( | ) | const |
Get methods.
Definition at line 32 of file ProcessDecl.cpp.
|
protected |
This is a container that holds information about the entry function.
Definition at line 63 of file ProcessDecl.h.
|
protected |
Each process can have 1 entry function.
Definition at line 61 of file ProcessDecl.h.
|
protected |
Name of the entry function.
Definition at line 59 of file ProcessDecl.h.
|
protected |
Process information.
Definition at line 57 of file ProcessDecl.h.