| 
														 | 
														 | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														      /// Override streambuf::underflow(). | 
														 | 
														 | 
														      /// Override streambuf::underflow(). | 
													
													
												
													
														 | 
														 | 
														      int_type underflow(); | 
														 | 
														 | 
														      int_type underflow(); | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														      /// Fill the buffer. | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														      //void fillBuffer(); | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														      /// Copy constructor not implemented. | 
														 | 
														 | 
														      /// Copy constructor not implemented. | 
													
													
												
													
														 | 
														 | 
														      ReadStreambuf(const ReadStreambuf &); | 
														 | 
														 | 
														      ReadStreambuf(const ReadStreambuf &); | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														
  | 
													
													
												
											
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														    /// Input stream to read data from the child's standard output. | 
														 | 
														 | 
														    /// Input stream to read data from the child's standard output. | 
													
													
												
													
														 | 
														 | 
														    std::istream reader; | 
														 | 
														 | 
														    std::istream reader; | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														    /** Get the number of bytes available for input. | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
															@returns number of bytes that can be read from reader without | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
															blocking. | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														    */ | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														    ssize_t inputBytesAvailable(); | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														    /// Output stream to write data to the child's standard input. | 
														 | 
														 | 
														    /// Output stream to write data to the child's standard input. | 
													
													
												
													
														 | 
														 | 
														    std::ostream writer; | 
														 | 
														 | 
														    std::ostream writer; | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														
  | 
													
													
												
											
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														    */ | 
														 | 
														 | 
														    */ | 
													
													
												
													
														 | 
														 | 
														    void run(); | 
														 | 
														 | 
														    void run(); | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
														    /** Check if input is available. | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
															\returns true if at least one character is available for | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
															reading. | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														    */ | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														    //bool hasData(); | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														    /** Terminite the child process. | 
														 | 
														 | 
														    /** Terminite the child process. | 
													
													
												
													
														 | 
														 | 
														
  | 
														 | 
														 | 
														
  | 
													
													
												
													
														 | 
														 | 
															\throws runtime_error if an error occurs. | 
														 | 
														 | 
															\throws runtime_error if an error occurs. |