Public Member Functions

bad_temp_file Class Reference

List of all members.

Public Member Functions

 bad_temp_file (const string &src_file, const int src_line, const string &filename_pattern)
 constructor
virtual const char * what () const throw ()
 accessor to the error message

Detailed Description

a temporary file can't be created using the stdlib's mkstemp function


Constructor & Destructor Documentation

bad_temp_file::bad_temp_file ( const string &  src_file,
const int  src_line,
const string &  filename_pattern 
) [inline]

constructor

Parameters:
src_file name of the source code file where the error occurs (ie __FILE__)
src_line number of the line of the source code file where the error occurs (ie __LINE__)
pattern temp file pattern used (see mkstemp manual for details)

Member Function Documentation

virtual const char* bad_temp_file::what (  )  const throw () [inline, virtual]

accessor to the error message

Returns:
the error message

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