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

#include <LineInterface.h>

Inheritance diagram for cli::LineInterface:
[legend]

Public Member Functions

virtual bool readline (std::string &line, bool first)=0
 
virtual void lineCallback (const std::string &) const
 
 LineInterface ()=default
 
 LineInterface (LineInterface &&) noexcept=default
 
 LineInterface (const LineInterface &)=delete
 
LineInterfaceoperator= (LineInterface &&) noexcept=delete
 
LineInterfaceoperator= (const LineInterface &)=delete
 
virtual ~LineInterface () noexcept=default
 

Detailed Description

Line reader serves as a base class for adaptors reding from various source.

Constructor & Destructor Documentation

◆ LineInterface() [1/3]

cli::LineInterface::LineInterface ( )
default

◆ LineInterface() [2/3]

cli::LineInterface::LineInterface ( LineInterface &&  )
defaultnoexcept

◆ LineInterface() [3/3]

cli::LineInterface::LineInterface ( const LineInterface )
delete

◆ ~LineInterface()

virtual cli::LineInterface::~LineInterface ( )
virtualdefaultnoexcept

Member Function Documentation

◆ lineCallback()

virtual void cli::LineInterface::lineCallback ( const std::string &  ) const
inlinevirtual

◆ operator=() [1/2]

LineInterface & cli::LineInterface::operator= ( const LineInterface )
delete

◆ operator=() [2/2]

LineInterface & cli::LineInterface::operator= ( LineInterface &&  )
deletenoexcept

◆ readline()

virtual bool cli::LineInterface::readline ( std::string &  line,
bool  first 
)
pure virtual

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