pipe Class Reference
[File System Library]

#include <unixstl/filesystem/pipe.hpp>

List of all members.


Detailed Description

Class which wraps the UNIX pipe() function.

Public Types

Member Types
typedef pipe class_type
 The class type.
typedef unix_exception_policy exception_policy_type
 The exception policy type.

Public Member Functions

Construction
 pipe ()
 ~pipe () throw ()
Accessors
int read_handle () const
 Returns the read handle of the pipe.
int write_handle () const
Operations
void close_read ()
 Closes the read handle, if not already closed.
void close_write ()
 Closes the write handle, if not already closed.
void close ()
 Closes the read and write handles, if not already closed.

Member Typedef Documentation

typedef pipe class_type

The class type.

The exception policy type.


Member Function Documentation

int read_handle (  )  const [inline]

Returns the read handle of the pipe.

void close_read (  )  [inline]

Closes the read handle, if not already closed.

void close_write (  )  [inline]

Closes the write handle, if not already closed.

void close (  )  [inline]

Closes the read and write handles, if not already closed.


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

Generated on Thu Jun 10 08:59:08 2010 for STLSoft by  doxygen 1.5.6