systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
NotifyCalls.cpp
Go to the documentation of this file.
1#include "NotifyCalls.h"
2
3using namespace systemc_clang;
4
5NotifyCalls::NotifyCalls() : name_{"NONE"} {}
6
7NotifyCalls::NotifyCalls(const std::string &name,
9 : name_{name}, notify_call_list_{notify_list} {}
10
15
16std::string NotifyCalls::getName() const { return name_; }
17
21
23 return notify_call_list_.size();
24}
25
26void NotifyCalls::dump(llvm::raw_ostream &os, int tabn) {
27 for (size_t i{0}; i < notify_call_list_.size(); ++i) {
28 os << "\n Notify Call: " << notify_call_list_.at(i);
29 }
30}
31
33 // _astNode does *NOT* need to be deleted because clang should
34 // be responsible for freeing the memory.
35}
Stores the data members found in a class.
std::vector< clang::CallExpr * > NotifyCallListType
Definition FindNotify.h:20
FindNotify::NotifyCallListType getNotifyCallList()
void dump(llvm::raw_ostream &, int)
std::string getName() const
Get parameters.
unsigned int getNumNotifyCalls()
FindNotify::NotifyCallListType notify_call_list_
Definition NotifyCalls.h:43