Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions
cli::DeclareRunnableCommand Class Reference

#include <DeclareRunnableCommand.h>

Inheritance diagram for cli::DeclareRunnableCommand:
[legend]
Collaboration diagram for cli::DeclareRunnableCommand:
[legend]

Public Member Functions

 DeclareRunnableCommand (std::string name, std::vector< std::pair< abstraction::TypeQualifiers::TypeQualifierSet, std::unique_ptr< Arg > > > params, std::pair< abstraction::TypeQualifiers::TypeQualifierSet, std::unique_ptr< Arg > > result, std::shared_ptr< Command > body)
 
 DeclareRunnableCommand (std::string name, std::vector< std::pair< abstraction::TypeQualifiers::TypeQualifierSet, std::unique_ptr< Arg > > > params, std::shared_ptr< Command > body)
 
CommandResult run (Environment &environment) const override
 
- Public Member Functions inherited from cli::Command
virtual ~Command () noexcept=default
 

Constructor & Destructor Documentation

◆ DeclareRunnableCommand() [1/2]

cli::DeclareRunnableCommand::DeclareRunnableCommand ( std::string  name,
std::vector< std::pair< abstraction::TypeQualifiers::TypeQualifierSet, std::unique_ptr< Arg > > >  params,
std::pair< abstraction::TypeQualifiers::TypeQualifierSet, std::unique_ptr< Arg > >  result,
std::shared_ptr< Command body 
)
inline

◆ DeclareRunnableCommand() [2/2]

cli::DeclareRunnableCommand::DeclareRunnableCommand ( std::string  name,
std::vector< std::pair< abstraction::TypeQualifiers::TypeQualifierSet, std::unique_ptr< Arg > > >  params,
std::shared_ptr< Command body 
)
inline

Member Function Documentation

◆ run()

CommandResult cli::DeclareRunnableCommand::run ( Environment environment) const
inlineoverridevirtual

Implements cli::Command.

Here is the call graph for this function:

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