#include <streambuf_tmpnam.h>
Inheritance diagram for rpa::filgen_name_to_FILE< NameGenerator >:
Public Member Functions | |
filgen_name_to_FILE () | |
~filgen_name_to_FILE () | |
Private Attributes | |
NameGenerator | _filNam |
rpa::filgen_name_to_FILE< NameGenerator >::filgen_name_to_FILE | ( | ) | [inline] |
There is a security hole because we cannot access this file exclusively. Even if we could, this step cannot be atomic so the file could be by anything, if it is in /tmp.
rpa::filgen_name_to_FILE< NameGenerator >::~filgen_name_to_FILE | ( | ) | [inline] |
The file itself is not removed by this class. It is only closed. It is up to the base class to remove it.
NameGenerator rpa::filgen_name_to_FILE< NameGenerator >::_filNam [private] |