rpa::filgen_name_to_fd< NameGenerator > Class Template Reference

#include <streambuf_tmpnam.h>

Inheritance diagram for rpa::filgen_name_to_fd< NameGenerator >:

rpa::filgen_name_to_fd_base List of all members.

Public Member Functions

 filgen_name_to_fd ()
 For security reasons, only this process can access this file.
 ~filgen_name_to_fd ()

Private Attributes

NameGenerator _filNam

Detailed Description

template<class NameGenerator>
class rpa::filgen_name_to_fd< NameGenerator >

This template converts a functor for generating file names, into a functor for generating int file descriptors. It may be necessary when a streambuf can only be initialised with a file descriptor, but the calling program can only create a temporary file name.


Constructor & Destructor Documentation

template<class NameGenerator>
rpa::filgen_name_to_fd< NameGenerator >::filgen_name_to_fd (  )  [inline]

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

template<class NameGenerator>
rpa::filgen_name_to_fd< NameGenerator >::~filgen_name_to_fd (  )  [inline]

The file itself is not removed by this class. It is only closed. It is up to the base class to remove it.


Member Data Documentation

template<class NameGenerator>
NameGenerator rpa::filgen_name_to_fd< NameGenerator >::_filNam [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