GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
temporary_file_list Class Reference

#include "interpreter.h"

Collaboration diagram for temporary_file_list:

Public Member Functions

 temporary_file_list (const temporary_file_list &)=delete
 
 temporary_file_list (void)
 
 ~temporary_file_list (void)
 
void cleanup (void)
 
void insert (const std::string &file)
 
temporary_file_listoperator= (const temporary_file_list &)=delete
 

Private Attributes

std::set< std::string > m_files
 

Detailed Description

Definition at line 89 of file interpreter.h.

Constructor & Destructor Documentation

◆ temporary_file_list() [1/2]

temporary_file_list::temporary_file_list ( void  )
inline

Definition at line 93 of file interpreter.h.

◆ temporary_file_list() [2/2]

temporary_file_list::temporary_file_list ( const temporary_file_list )
delete

◆ ~temporary_file_list()

temporary_file_list::~temporary_file_list ( void  )

Definition at line 317 of file interpreter.cc.

References cleanup().

Member Function Documentation

◆ cleanup()

void temporary_file_list::cleanup ( void  )

Definition at line 327 of file interpreter.cc.

References m_files, and octave_unlink_wrapper().

Referenced by ~temporary_file_list(), and interpreter::cleanup_tmp_files().

◆ insert()

void temporary_file_list::insert ( const std::string &  file)

Definition at line 322 of file interpreter.cc.

References m_files.

Referenced by interpreter::mark_for_deletion().

◆ operator=()

temporary_file_list& temporary_file_list::operator= ( const temporary_file_list )
delete

Member Data Documentation

◆ m_files

std::set<std::string> temporary_file_list::m_files
private

Definition at line 110 of file interpreter.h.

Referenced by cleanup(), and insert().


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