rpa::filgen_FILE_to_fd< FileGenerator > Class Template Reference

#include <streambuf_tmpnam.h>

List of all members.

Public Member Functions

 filgen_FILE_to_fd ()
 For security reasons, only this process can access this file.
int operator() (void) const
 ~filgen_FILE_to_fd ()

Private Attributes

int _fd
FileGenerator _filGen


Detailed Description

template<class FileGenerator>
class rpa::filgen_FILE_to_fd< FileGenerator >

This template converts a functor generator of FILE ptr, into a functor generator of int file descriptors.


Constructor & Destructor Documentation

template<class FileGenerator>
rpa::filgen_FILE_to_fd< FileGenerator >::filgen_FILE_to_fd (  )  [inline]

For security reasons, only this process can access this file.

template<class FileGenerator>
rpa::filgen_FILE_to_fd< FileGenerator >::~filgen_FILE_to_fd (  )  [inline]

We do not take into account any possible buffering. We do not close the file because we just take it from inside the FILE ptr : It would close it a second time.


Member Function Documentation

template<class FileGenerator>
int rpa::filgen_FILE_to_fd< FileGenerator >::operator() ( void   )  const [inline]


Member Data Documentation

template<class FileGenerator>
int rpa::filgen_FILE_to_fd< FileGenerator >::_fd [private]

template<class FileGenerator>
FileGenerator rpa::filgen_FILE_to_fd< FileGenerator >::_filGen [private]


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 10:20:38 2007 for rpa by  doxygen 1.4.7