systemc-clang
2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
src
model
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
8
namespace
systemc_clang
{
9
11
class
FindTemplateTypes;
12
20
21
class
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,
37
FindTemplateTypes
*tt);
38
40
std::string
getName
()
const
;
41
43
FindTemplateTypes
*
getTemplateTypes
();
44
46
const
clang::FieldDecl *
getASTNode
()
const
;
47
49
std::string
asString
()
const
;
50
51
};
52
}
// namespace systemc_clang
53
#endif
PortDecl.h
systemc_clang::FindTemplateTypes
Definition
FindTemplateTypes.h:49
systemc_clang::PortDecl
Definition
PortDecl.h:21
systemc_clang::SignalDecl
Definition
SignalDecl.h:21
systemc_clang::SignalDecl::getASTNode
const clang::FieldDecl * getASTNode() const
Return the AST node found for the signal declaration.
Definition
SignalDecl.cpp:27
systemc_clang::SignalDecl::getTemplateTypes
FindTemplateTypes * getTemplateTypes()
Return the template types that were found.
Definition
SignalDecl.cpp:23
systemc_clang::SignalDecl::~SignalDecl
virtual ~SignalDecl()
Default destrubtor.
Definition
SignalDecl.cpp:9
systemc_clang::SignalDecl::getName
std::string getName() const
Get parameters.
Definition
SignalDecl.cpp:21
systemc_clang::SignalDecl::asString
std::string asString() const
Dump to string.
Definition
SignalDecl.cpp:31
systemc_clang::SignalDecl::SignalDecl
SignalDecl()
Constructors.
Definition
SignalDecl.cpp:13
systemc_clang
Definition
SplitCFG.h:10
Generated by
1.12.0