Class PortDecl

Inheritance Relationships

Derived Type

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(const PortDecl&)
~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()
json dump_json()

Produce json dump.