Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::io::tmp_file_reservation Struct Reference

A handle to a unique name of a file that will be removed when the handle is destructed. More...

#include <filesys.h>

List of all members.

Public Methods


Detailed Description

A handle to a unique name of a file that will be removed when the handle is destructed.

An empty file with permissions 0600 is created.


Constructor & Destructor Documentation

more::io::tmp_file_reservation::tmp_file_reservation std::string const &    name [inline, explicit]
 

Attempt to reserve the file.

more::io::tmp_file_reservation::~tmp_file_reservation   [inline]
 

Remove the file.


Member Function Documentation

bool more::io::tmp_file_reservation::is_reserved   const [inline]
 

True of a file name was reserved.

std::string const& more::io::tmp_file_reservation::name   [inline]
 

Returns the reserved file name, or throws a runtime_error if not reserved.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 7 19:12:46 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.