input_stream Class Reference

#include <input_stream.hpp>

List of all members.

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_


Detailed Description

Definition at line 21 of file input_stream.hpp.


Constructor & Destructor Documentation

input_stream::input_stream ( const std::string &  path  ) 

Definition at line 30 of file input_stream.cpp.

References fd_.

input_stream::~input_stream (  ) 

Definition at line 52 of file input_stream.cpp.

References stop().

input_stream::input_stream ( const input_stream  )  [private]


Member Function Documentation

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.

References fd_, and path_.

Referenced by server::process_command(), and ~input_stream().

void input_stream::operator= ( const input_stream  )  [private]


Member Data Documentation

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]

Definition at line 35 of file input_stream.hpp.

Referenced by stop().

std::deque<char> input_stream::data_ [private]

Definition at line 36 of file input_stream.hpp.

Referenced by read_line().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs