OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
UniqueFileName.h
Go to the documentation of this file.
1#pragma once
2#ifndef INCLUDE_UNIQUEFILENAME_H_
3#define INCLUDE_UNIQUEFILENAME_H_
4
5#include <iostream>
6#include <string>
7
8using string = std::string;
9
10namespace DataStorageAPI
11{
12 class __declspec(dllexport) UniqueFileName
13 {
14
15 public:
16 string GetUniqueFilePath(string directory, string fileName, string fileExtension);
17 string GetUniqueFilePath(string filePath);
18 string GetUniqueFilePathUsingDirectory(string directory, string fileExtension = ".dat");
19 string GetRelativeFilePath(string absolutePath);
20 bool CheckFilePathExists(string filePath);
21
22 private:
23 bool DirectoryExists(std::string directory);
24 };
25};
26
27#endif
std::string string
Definition DocumentAccess.h:13
Definition ArrayBinaryConverter.h:3