zypp::_ExternalProgram::EarlyPipe Struct Reference

Helper providing pipe FDs for ExternalProgramWithStderr. More...

#include <ExternalProgram.h>

Inheritance diagram for zypp::_ExternalProgram::EarlyPipe:
[legend]

List of all members.

Public Types

enum  { R = 0, W = 1 }

Public Member Functions

 EarlyPipe ()
 ~EarlyPipe ()
void closeW ()
FILE * stderr ()

Protected Attributes

FILE * _stderr
int _fds [2]


Detailed Description

Helper providing pipe FDs for ExternalProgramWithStderr.

Moved to a basse class because the pipe needs to be initialized before the ExternalProgram base class is initialized.

See also:
ExternalProgramWithStderr

Definition at line 234 of file ExternalProgram.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
R 
W 

Definition at line 236 of file ExternalProgram.h.


Constructor & Destructor Documentation

zypp::_ExternalProgram::EarlyPipe::EarlyPipe (  ) 

Definition at line 572 of file ExternalProgram.cc.

References _fds, _stderr, R, and W.

zypp::_ExternalProgram::EarlyPipe::~EarlyPipe (  ) 

Definition at line 585 of file ExternalProgram.cc.

References _stderr, and closeW().


Member Function Documentation

void zypp::_ExternalProgram::EarlyPipe::closeW (  )  [inline]

Definition at line 239 of file ExternalProgram.h.

References _fds, and W.

Referenced by zypp::ExternalProgramWithStderr::_initStdErr(), and ~EarlyPipe().

FILE* zypp::_ExternalProgram::EarlyPipe::stderr (  )  [inline]

Definition at line 240 of file ExternalProgram.h.

References _stderr.


Member Data Documentation

Definition at line 243 of file ExternalProgram.h.

Referenced by closeW(), and EarlyPipe().


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

doxygen