xale-db 1.0
minimal SQL engine, written in c++
Loading...
Searching...
No Matches
CLIClient.h
Go to the documentation of this file.
1#ifndef CLIENT_CLI_CLIENT_H
2#define CLIENT_CLI_CLIENT_H
3
4#include "Client/IClient.h"
5
6namespace Xale::Client
7{
8 class CLIClient : public IClient
9 {
10 public:
11 void start() override;
12 std::string getInput(bool* isExit) override;
13 void displayOutput(const std::string& output) override;
14 void close() override;
15 };
16}
17
18#endif // CLIENT_CLI_CLIENT_H
Definition CLIClient.h:9
void displayOutput(const std::string &output) override
Displays output to the command line.
Definition CLIClient.cpp:42
void close() override
Closes the client.
Definition CLIClient.cpp:50
void start() override
Definition CLIClient.cpp:8
std::string getInput(bool *isExit) override
Gets input from the command line.
Definition CLIClient.cpp:16
Definition IClient.h:10
Definition CLIClient.h:7