OpenMS  2.7.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 StringnewFile ()
 create a new filename and queue internally for deletion More...
 
 ~TemporaryFiles_ ()
 

Private Member Functions

 TemporaryFiles_ (const TemporaryFiles_ &)=delete
 
TemporaryFiles_operator= (const TemporaryFiles_ &)=delete
 

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_()

◆ TemporaryFiles_() [2/2]

TemporaryFiles_ ( const TemporaryFiles_ )
privatedelete

Member Function Documentation

◆ newFile()

const String& newFile ( )

create a new filename and queue internally for deletion

◆ operator=()

TemporaryFiles_& operator= ( const TemporaryFiles_ )
privatedelete

Member Data Documentation

◆ filenames_

StringList filenames_
private

◆ mtx_

std::mutex mtx_
private