Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Concepts
Public Member Functions
cli::CommandList Class Referencefinal

#include <CommandList.h>

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

Public Member Functions

 CommandList (ext::vector< std::unique_ptr< Command > > commands)
 
CommandResult run (Environment &environment) const override
 
void append (std::unique_ptr< Command > command)
 
- Public Member Functions inherited from cli::Command
virtual ~Command () noexcept=default
 

Constructor & Destructor Documentation

◆ CommandList()

cli::CommandList::CommandList ( ext::vector< std::unique_ptr< Command > >  commands)
inline

Member Function Documentation

◆ append()

void cli::CommandList::append ( std::unique_ptr< Command command)
inline

◆ run()

CommandResult cli::CommandList::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: