Class PortDecl¶
Defined in File PortDecl.h
Inheritance Relationships¶
Derived Type¶
public systemc_clang::SignalDecl(Class SignalDecl)
Class Documentation¶
-
class
systemc_clang::PortDecl¶ This class holds the member declarations of a SystemC module class. These can be ports, signals or submodules (instances of other SystemC modules).
Subclassed by systemc_clang::SignalDecl
Public Functions
-
PortDecl()¶
-
PortDecl(const std::string&, FindTemplateTypes*)¶
-
PortDecl(const std::string&, const clang::Decl*, FindTemplateTypes*)¶
-
~PortDecl()¶
-
void
setModuleName(const std::string&)¶ Set parameters.
-
void
setBinding(clang::VarDecl *vd)¶
-
void
setArrayType()¶
-
void
addArraySize(llvm::APInt size)¶
-
bool
getArrayType() const¶ Get parameters.
-
std::vector<llvm::APInt>
getArraySizes()¶
-
std::string
getName() const¶
-
clang::FieldDecl *
getAsFieldDecl() const¶
-
clang::VarDecl *
getAsVarDecl() const¶
-
FindTemplateTypes *
getTemplateType()¶
-