systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
systemc_clang::EventDecl Class Reference

#include <EventDecl.h>

Public Member Functions

 EventDecl ()
 Constructors.
 
 EventDecl (const std::string &, clang::FieldDecl *)
 
 EventDecl (const EventDecl &)
 Copy constructor.
 
virtual ~EventDecl ()
 Destructor.
 
std::string getName () const
 Return the name of the sc_event.
 
const clang::FieldDecl * getASTNode () const
 Return the FieldDecl node for the sc_event declaration.
 
void dump (llvm::raw_ostream &)
 

Private Attributes

std::string name_
 
clang::FieldDecl * ast_node_
 

Detailed Description

Definition at line 14 of file EventDecl.h.

Constructor & Destructor Documentation

◆ EventDecl() [1/3]

EventDecl::EventDecl ( )

Constructors.

Definition at line 13 of file EventDecl.cpp.

◆ EventDecl() [2/3]

EventDecl::EventDecl ( const std::string & name,
clang::FieldDecl * fd )

Definition at line 15 of file EventDecl.cpp.

◆ EventDecl() [3/3]

EventDecl::EventDecl ( const EventDecl & from)

Copy constructor.

Definition at line 18 of file EventDecl.cpp.

◆ ~EventDecl()

EventDecl::~EventDecl ( )
virtual

Destructor.

Definition at line 8 of file EventDecl.cpp.

Member Function Documentation

◆ dump()

void EventDecl::dump ( llvm::raw_ostream & os)

Dump output.

Parameters
osOutput to the stream.

Definition at line 27 of file EventDecl.cpp.

◆ getASTNode()

const clang::FieldDecl * EventDecl::getASTNode ( ) const

Return the FieldDecl node for the sc_event declaration.

Definition at line 25 of file EventDecl.cpp.

◆ getName()

std::string EventDecl::getName ( ) const

Return the name of the sc_event.

Definition at line 23 of file EventDecl.cpp.

Member Data Documentation

◆ ast_node_

clang::FieldDecl* systemc_clang::EventDecl::ast_node_
private

Definition at line 39 of file EventDecl.h.

◆ name_

std::string systemc_clang::EventDecl::name_
private

Definition at line 38 of file EventDecl.h.


The documentation for this class was generated from the following files: