t17_mkstemp< N > Class Template Reference

List of all members.

Public Member Functions

 t17_mkstemp ()
const char * operator() (void) const

Private Attributes

char _filename [FILENAME_MAX]

Detailed Description

template<int N>
class t17_mkstemp< N >

This is an optional template parameter for filgen_mkstemp : Its role is to provide a template string for the function 'mkstemp'. This template string must have 'XXXXXX' at its end. (At least on Linux ; On some other platforms, these 'X' can be at any place).


Constructor & Destructor Documentation

template<int N>
t17_mkstemp< N >::t17_mkstemp (  )  [inline]

On top of 'mkstmp', uses 'tmpnam' to ensure unicity and to be sure that the file is at the right place : "/tmp", without needing to hard-code this path, which may vary.


Member Function Documentation

template<int N>
const char* t17_mkstemp< N >::operator() ( void   )  const [inline]


Member Data Documentation

template<int N>
char t17_mkstemp< N >::_filename[FILENAME_MAX] [private]


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