atlas  0.6
Public Member Functions | Private Attributes | List of all members
atlas::input::HistoryBuffer Class Reference

#include <input.h>

Inheritance diagram for atlas::input::HistoryBuffer:
Inheritance graph
[legend]
Collaboration diagram for atlas::input::HistoryBuffer:
Collaboration graph
[legend]

Public Member Functions

 HistoryBuffer ()
 
 HistoryBuffer (const std::string &str)
 
virtual ~HistoryBuffer ()
 
virtual void getline (const char *prompt="", bool toHistory=true)
 
- Public Member Functions inherited from atlas::input::InputBuffer
 InputBuffer ()
 
 InputBuffer (const std::string &str)
 
virtual ~InputBuffer ()
 
virtual void reset ()
 
virtual void reset (std::streampos)
 

Private Attributes

HISTORY_STATE state
 

Constructor & Destructor Documentation

atlas::input::HistoryBuffer::HistoryBuffer ( )
atlas::input::HistoryBuffer::HistoryBuffer ( const std::string str)
explicit
atlas::input::HistoryBuffer::~HistoryBuffer ( )
virtual

Member Function Documentation

void atlas::input::HistoryBuffer::getline ( const char *  prompt = "",
bool  toHistory = true 
)
virtual

Forget string in input buffer, read a new line, and position at start

Reimplemented from atlas::input::InputBuffer.

Member Data Documentation

HISTORY_STATE atlas::input::HistoryBuffer::state
private

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