atlas  0.6
Public Member Functions | List of all members
atlas::input::InputBuffer Class Reference

#include <input.h>

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

Public Member Functions

 InputBuffer ()
 
 InputBuffer (const std::string &str)
 
virtual ~InputBuffer ()
 
virtual void getline (const char *prompt="", bool toHistory=true)
 
virtual void reset ()
 
virtual void reset (std::streampos)
 

Constructor & Destructor Documentation

atlas::input::InputBuffer::InputBuffer ( )
inline
atlas::input::InputBuffer::InputBuffer ( const std::string str)
inlineexplicit
virtual atlas::input::InputBuffer::~InputBuffer ( )
inlinevirtual

Member Function Documentation

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

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

Reimplemented in atlas::input::HistoryBuffer.

void atlas::input::InputBuffer::reset ( )
virtual
void atlas::input::InputBuffer::reset ( std::streampos  pos)
virtual

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