ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
repl Class Referencefinal

Interactive REPL (Read-Eval-Print Loop) for the ORE Studio client. More...

#include <repl.hpp>

Collaboration diagram for repl:
Collaboration graph

Public Member Functions

 repl (ores::nats::service::nats_client &session)
 Construct a REPL instance with a NATS session.
 
 repl (const repl &)=delete
 
reploperator= (const repl &)=delete
 
 repl (repl &&)=delete
 
reploperator= (repl &&)=delete
 
void run ()
 Run the REPL session using std::cin and std::cout.
 
void run (std::istream &in, std::ostream &out)
 Run the REPL session with custom streams.
 

Detailed Description

Interactive REPL (Read-Eval-Print Loop) for the ORE Studio client.

Provides a command-line interface for interacting with the ORE Studio server, including commands for connection management and data retrieval.

Constructor & Destructor Documentation

◆ repl()

repl ( ores::nats::service::nats_client session)
explicit

Construct a REPL instance with a NATS session.

Parameters
sessionReference to a nats_client.

Member Function Documentation

◆ run()

void run ( std::istream &  in,
std::ostream &  out 
)

Run the REPL session with custom streams.

Parameters
inInput stream to read commands from.
outOutput stream to write responses to.