systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
EventContainer.h
Go to the documentation of this file.
1//===-- src/EventContainer.h - systec-clang class definition -------*- C++
2//-*-===//
3//
4// systemc-clang: SystemC Parser
5//
6// This file is distributed under the University of Illinois License.
7// See LICENSE.mkd for details.
8//
9//===----------------------------------------------------------------------===//
14//===----------------------------------------------------------------------===//
15#ifndef _EVENT_CONTAINER_H_
16#define _EVENT_CONTAINER_H_
17
18//#include "clang/AST/DeclCXX.h"
19#include "llvm/Support/raw_ostream.h"
20#include <string>
21
23namespace clang {
24class VarDecl;
25};
26
27namespace systemc_clang {
29 public:
31 EventContainer(std::string, clang::VarDecl *);
32
33 virtual ~EventContainer();
34
35 // Copy constructor.
37
38 std::string getEventName() const;
39 clang::VarDecl *getASTNode() const;
40
41 void dump(llvm::raw_ostream &os, int tabn = 0);
42
43 private:
44 // Name of port on which the binding happens.
45 std::string event_name_;
46 clang::VarDecl *ast_node_;
47};
48} // namespace systemc_clang
49#endif
void dump(llvm::raw_ostream &os, int tabn=0)
std::string getEventName() const
clang::VarDecl * getASTNode() const
Clang forward declarations.
Definition FindArgument.h:6