OpenMS
File::TemporaryFiles_ Class Reference

Internal helper class, which holds temporary filenames and deletes these files at program exit. More...

Collaboration diagram for File::TemporaryFiles_:
[legend]

Public Member Functions

 TemporaryFiles_ (const TemporaryFiles_ &)=delete
 
TemporaryFiles_operator= (const TemporaryFiles_ &)=delete
 
 TemporaryFiles_ ()
 
String newFile ()
 create a new filename and queue internally for deletion More...
 
 ~TemporaryFiles_ ()
 

Private Attributes

StringList filenames_
 
std::mutex mtx_
 

Detailed Description

Internal helper class, which holds temporary filenames and deletes these files at program exit.

Constructor & Destructor Documentation

◆ TemporaryFiles_() [1/2]

TemporaryFiles_ ( const TemporaryFiles_ )
delete

◆ TemporaryFiles_() [2/2]

◆ ~TemporaryFiles_()

Member Function Documentation

◆ newFile()

String newFile ( )

create a new filename and queue internally for deletion

◆ operator=()

TemporaryFiles_& operator= ( const TemporaryFiles_ )
delete

Member Data Documentation

◆ filenames_

StringList filenames_
private

◆ mtx_

std::mutex mtx_
private