Jlm
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
jlm::tooling::PrintCommandsCommand Class Referencefinal

#include <Command.hpp>

Inheritance diagram for jlm::tooling::PrintCommandsCommand:
Inheritance graph
[legend]
Collaboration diagram for jlm::tooling::PrintCommandsCommand:
Collaboration graph
[legend]

Public Member Functions

 ~PrintCommandsCommand () override
 
 PrintCommandsCommand (std::unique_ptr< CommandGraph > commandGraph)
 
 PrintCommandsCommand (const PrintCommandsCommand &)=delete
 
 PrintCommandsCommand (PrintCommandsCommand &&)=delete
 
PrintCommandsCommandoperator= (const PrintCommandsCommand &)=delete
 
PrintCommandsCommandoperator= (PrintCommandsCommand &&)=delete
 
std::string ToString () const override
 
void Run () const override
 
- Public Member Functions inherited from jlm::tooling::Command
virtual ~Command ()
 

Static Public Member Functions

static std::unique_ptr< CommandGraphCreate (std::unique_ptr< CommandGraph > commandGraph)
 

Static Private Member Functions

static CommandGraph::NodeCreate (CommandGraph &commandGraph, std::unique_ptr< CommandGraph > printedCommandGraph)
 

Private Attributes

std::unique_ptr< CommandGraphCommandGraph_
 

Detailed Description

The PrintCommandsCommand class prints the commands of a command graph in topological order.

Definition at line 44 of file Command.hpp.

Constructor & Destructor Documentation

◆ ~PrintCommandsCommand()

jlm::tooling::PrintCommandsCommand::~PrintCommandsCommand ( )
overridedefault

◆ PrintCommandsCommand() [1/3]

jlm::tooling::PrintCommandsCommand::PrintCommandsCommand ( std::unique_ptr< CommandGraph commandGraph)
inlineexplicit

Definition at line 49 of file Command.hpp.

◆ PrintCommandsCommand() [2/3]

jlm::tooling::PrintCommandsCommand::PrintCommandsCommand ( const PrintCommandsCommand )
delete

◆ PrintCommandsCommand() [3/3]

jlm::tooling::PrintCommandsCommand::PrintCommandsCommand ( PrintCommandsCommand &&  )
delete

Member Function Documentation

◆ Create() [1/2]

static CommandGraph::Node& jlm::tooling::PrintCommandsCommand::Create ( CommandGraph commandGraph,
std::unique_ptr< CommandGraph printedCommandGraph 
)
inlinestaticprivate

Definition at line 74 of file Command.hpp.

◆ Create() [2/2]

std::unique_ptr< CommandGraph > jlm::tooling::PrintCommandsCommand::Create ( std::unique_ptr< CommandGraph commandGraph)
static

Definition at line 88 of file Command.cpp.

◆ operator=() [1/2]

PrintCommandsCommand& jlm::tooling::PrintCommandsCommand::operator= ( const PrintCommandsCommand )
delete

◆ operator=() [2/2]

PrintCommandsCommand& jlm::tooling::PrintCommandsCommand::operator= ( PrintCommandsCommand &&  )
delete

◆ Run()

void jlm::tooling::PrintCommandsCommand::Run ( ) const
overridevirtual

Reimplemented from jlm::tooling::Command.

Definition at line 78 of file Command.cpp.

◆ ToString()

std::string jlm::tooling::PrintCommandsCommand::ToString ( ) const
overridevirtual

Implements jlm::tooling::Command.

Definition at line 72 of file Command.cpp.

Member Data Documentation

◆ CommandGraph_

std::unique_ptr<CommandGraph> jlm::tooling::PrintCommandsCommand::CommandGraph_
private

Definition at line 80 of file Command.hpp.


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