cli_readline Class Reference

An extension to cli which uses readline. More...

#include <cli_readline.h>

Inheritance diagram for cli_readline:

cli

Detailed Description

This header-only class requires the GNU readline library for use, but is not referenced by O2scl code at the moment to make the library usable without readline.

Definition at line 43 of file cli_readline.h.


Public Member Functions

 cli_readline (std::string fname=".cli_hist", size_t max_size=100)

Protected Attributes

char * line_read
 Buffer for readline.
std::string histfile
 String containing filename.
size_t msize
 Maximum history file size.

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

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page