systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
SignalDecl.h
Go to the documentation of this file.
1#ifndef _SIGNAL_DECL_H_
2#define _SIGNAL_DECL_H_
3
4#include <string>
5
6#include "PortDecl.h"
7
8namespace systemc_clang {
9
11class FindTemplateTypes;
12
20
21class SignalDecl : public PortDecl {
22 public:
24 SignalDecl();
25 SignalDecl(const PortDecl &pd);
26
28 virtual ~SignalDecl();
29
36 SignalDecl(const std::string &name, clang::FieldDecl *fd,
38
40 std::string getName() const;
41
44
46 const clang::FieldDecl *getASTNode() const;
47
49 std::string asString() const;
50
51};
52} // namespace systemc_clang
53#endif
const clang::FieldDecl * getASTNode() const
Return the AST node found for the signal declaration.
FindTemplateTypes * getTemplateTypes()
Return the template types that were found.
virtual ~SignalDecl()
Default destrubtor.
Definition SignalDecl.cpp:9
std::string getName() const
Get parameters.
std::string asString() const
Dump to string.
SignalDecl()
Constructors.