GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
file-io.h
Go to the documentation of this file.
1////////////////////////////////////////////////////////////////////////
2//
3// Copyright (C) 1993-2022 The Octave Project Developers
4//
5// See the file COPYRIGHT.md in the top-level directory of this
6// distribution or <https://octave.org/copyright/>.
7//
8// This file is part of Octave.
9//
10// Octave is free software: you can redistribute it and/or modify it
11// under the terms of the GNU General Public License as published by
12// the Free Software Foundation, either version 3 of the License, or
13// (at your option) any later version.
14//
15// Octave is distributed in the hope that it will be useful, but
16// WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18// GNU General Public License for more details.
19//
20// You should have received a copy of the GNU General Public License
21// along with Octave; see the file COPYING. If not, see
22// <https://www.gnu.org/licenses/>.
23//
24////////////////////////////////////////////////////////////////////////
25
26// Written by John C. Campbell <jcc@bevo.che.wisc.edu>
27
28#if ! defined (octave_file_io_h)
29#define octave_file_io_h 1
30
31#include "octave-config.h"
32
33#include <string>
34
35OCTAVE_NAMESPACE_BEGIN
36
37// Use this function internally until the function that uses it is
38// removed. Remove when corresponding global deprecated function is
39// removed.
40extern void mark_for_deletion_deprecated (const std::string&);
41
42// Use this function internally until the function that uses it is
43// removed. Remove when corresponding global deprecated function is
44// removed.
45extern void cleanup_tmp_files_deprecated (void);
46
47OCTAVE_NAMESPACE_END
48
49#if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
50
51OCTAVE_DEPRECATED (6, "use 'interpreter::mark_for_deletion' instead")
52inline void mark_for_deletion (const std::string& fname)
53{
55}
56
57OCTAVE_DEPRECATED (6, "use 'interpreter::cleanup_tmp_files' instead")
58inline void cleanup_tmp_files (void)
59{
61}
62
63#endif
64
65#endif
void cleanup_tmp_files_deprecated(void)
Definition: file-io.cc:3268
OCTAVE_NAMESPACE_BEGIN void mark_for_deletion_deprecated(const std::string &)
Definition: file-io.cc:3259
STL namespace.