20.11
Filesystem.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#if defined(_MSC_VER)
9
// ghc includes Windows.h directly, bringing in macros that we don't want (e.g. min/max).
10
// By including Windows.h ourselves first (with appropriate options), we prevent this.
11
#include <common/include/WindowsWrapper.hpp>
12
#endif
13
#include <ghc/filesystem.hpp>
14
namespace
fs = ghc::filesystem;
15
16
namespace
armnnUtils
17
{
18
namespace
Filesystem
19
{
20
21
/// Returns a path to a file in the system temporary folder. If the file existed it will be deleted.
22
fs::path
NamedTempFile
(
const
char
* fileName);
23
24
}
25
}
armnnUtils
Definition:
DataLayoutIndexed.hpp:13
armnnUtils::Filesystem::NamedTempFile
fs::path NamedTempFile(const char *fileName)
Construct a temporary file name.
Definition:
Filesystem.cpp:23
src
armnnUtils
Filesystem.hpp
Generated on Wed Nov 25 2020 09:59:12 for ArmNN by
1.8.13