#include <input_stream.hpp>
Public Member Functions | |
input_stream (const std::string &path) | |
~input_stream () | |
bool | read_line (std::string &str) |
void | stop () |
const std::string & | path () const |
Private Member Functions | |
input_stream (const input_stream &) | |
void | operator= (const input_stream &) |
Private Attributes | |
int | fd_ |
std::string | path_ |
std::deque< char > | data_ |
Definition at line 21 of file input_stream.hpp.
input_stream::input_stream | ( | const std::string & | path | ) |
Definition at line 31 of file input_stream.cpp.
References fd_.
input_stream::~input_stream | ( | ) |
Definition at line 56 of file input_stream.cpp.
References stop().
|
private |
|
private |
|
inline |
Definition at line 30 of file input_stream.hpp.
References path_.
bool input_stream::read_line | ( | std::string & | str | ) |
Definition at line 75 of file input_stream.cpp.
References block(), data_, fd_, gui2::event::find(), itor, and read().
void input_stream::stop | ( | ) |
Definition at line 63 of file input_stream.cpp.
Referenced by ~input_stream().
|
private |
Definition at line 41 of file input_stream.hpp.
Referenced by read_line().
|
private |
Definition at line 39 of file input_stream.hpp.
Referenced by input_stream(), read_line(), and stop().
|
private |
Definition at line 40 of file input_stream.hpp.