From 9aed8fb43441228343b925b42464a55042c47ca0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 17 Nov 2021 13:16:45 +0000 Subject: IVGCVSW-6040 Update 21.11 Doxygen Documents Signed-off-by: Nikhil Raj Change-Id: Ia36ec98c4bebc27a69103911ea3409cd7db587a5 --- 21.11/namespacearmnn_utils_1_1_filesystem.xhtml | 156 ++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 21.11/namespacearmnn_utils_1_1_filesystem.xhtml (limited to '21.11/namespacearmnn_utils_1_1_filesystem.xhtml') diff --git a/21.11/namespacearmnn_utils_1_1_filesystem.xhtml b/21.11/namespacearmnn_utils_1_1_filesystem.xhtml new file mode 100644 index 0000000000..b6515c3335 --- /dev/null +++ b/21.11/namespacearmnn_utils_1_1_filesystem.xhtml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + +ArmNN: armnnUtils::Filesystem Namespace Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
armnnUtils::Filesystem Namespace Reference
+
+
+ + + + + +

+Functions

fs::path NamedTempFile (const char *fileName)
 Returns a path to a file in the system temporary folder. If the file existed it will be deleted. More...
 
+

Function Documentation

+ +

◆ NamedTempFile()

+ +
+
+ + + + + + + + +
fs::path NamedTempFile (const char * fileName)
+
+ +

Returns a path to a file in the system temporary folder. If the file existed it will be deleted.

+

Construct a temporary file name.

+

Given a specified file name construct a path to that file in the system temporary directory. If the file already exists it is deleted. This could throw filesystem_error exceptions.

+
Parameters
+ + +
fileNamethe file name required in the temporary directory.
+
+
+
Returns
path consisting of system temporary directory and file name.
+ +

Definition at line 23 of file Filesystem.cpp.

+ +

Referenced by TEST_CASE_FIXTURE(), and TEST_SUITE().

+
24 {
25  fs::path tmpDir = fs::temp_directory_path();
26  fs::path namedTempFile{tmpDir / fileName};
27  if (fs::exists(namedTempFile))
28  {
29  fs::remove(namedTempFile);
30  }
31  return namedTempFile;
32 }
+
+
+
+
+ + + + -- cgit v1.2.1