#include <input_stream.hpp>
Public Member Functions | |
input_stream (const std::string &path) | |
~input_stream () | |
bool | read_line (std::string &str) |
void | stop () |
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 | ) |
input_stream::~input_stream | ( | ) |
input_stream::input_stream | ( | const input_stream & | ) | [private] |
bool input_stream::read_line | ( | std::string & | str | ) |
Definition at line 70 of file input_stream.cpp.
References data_, fd_, and read().
Referenced by server::run().
void input_stream::stop | ( | ) |
Definition at line 59 of file input_stream.cpp.
Referenced by server::process_command(), and ~input_stream().
void input_stream::operator= | ( | const input_stream & | ) | [private] |
int input_stream::fd_ [private] |
Definition at line 34 of file input_stream.hpp.
Referenced by input_stream(), read_line(), and stop().
std::string input_stream::path_ [private] |
std::deque<char> input_stream::data_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |