OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
DisassemblyControlUnitPort Class Reference

#include <DisassemblyControlUnitPort.hh>

Inheritance diagram for DisassemblyControlUnitPort:
Inheritance graph
Collaboration diagram for DisassemblyControlUnitPort:
Collaboration graph

Public Member Functions

 DisassemblyControlUnitPort (std::string port)
 
virtual ~DisassemblyControlUnitPort ()
 
virtual std::string toString () const
 
- Public Member Functions inherited from DisassemblyElement
virtual ~DisassemblyElement ()
 

Private Attributes

std::string port_
 Name of the control unit port. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DisassemblyElement
 DisassemblyElement ()
 

Detailed Description

Represents a control unit port in the disassembler.

Definition at line 41 of file DisassemblyControlUnitPort.hh.

Constructor & Destructor Documentation

◆ DisassemblyControlUnitPort()

DisassemblyControlUnitPort::DisassemblyControlUnitPort ( std::string  port)

The constructor.

Parameters
gcuNameName of the control unit.

Definition at line 40 of file DisassemblyControlUnitPort.cc.

40  :
41  DisassemblyElement(), port_(port) {
42 }

◆ ~DisassemblyControlUnitPort()

DisassemblyControlUnitPort::~DisassemblyControlUnitPort ( )
virtual

The destructor.

Definition at line 48 of file DisassemblyControlUnitPort.cc.

48  {
49 }

Member Function Documentation

◆ toString()

std::string DisassemblyControlUnitPort::toString ( ) const
virtual

Returns disassembly of the control unit port.

Returns
Disassembly of the control unit port as a string.

Implements DisassemblyElement.

Definition at line 58 of file DisassemblyControlUnitPort.cc.

58  {
59  return port_;
60 }

References port_.

Member Data Documentation

◆ port_

std::string DisassemblyControlUnitPort::port_
private

Name of the control unit port.

Definition at line 48 of file DisassemblyControlUnitPort.hh.

Referenced by toString().


The documentation for this class was generated from the following files:
DisassemblyControlUnitPort::port_
std::string port_
Name of the control unit port.
Definition: DisassemblyControlUnitPort.hh:48
DisassemblyElement::DisassemblyElement
DisassemblyElement()
Definition: DisassemblyElement.cc:38