Program Listing for File file.h
↰ Return to documentation for file (include\filesystem\file.h
)
/******************************************************************************
© Intel Corporation.
This software and the related documents are Intel copyrighted materials,
and your use of them is governed by the express license under which they
were provided to you ("License"). Unless the License provides otherwise,
you may not use, modify, copy, publish, distribute, disclose or transmit
this software or the related documents without Intel's prior written
permission.
This software and the related documents are provided as is, with no express
or implied warranties, other than those that are expressly stated in the
License.
******************************************************************************/
#pragma once
#include "igpa-config.h"
#include <cstddef>
namespace gpa {
namespace filesystem {
struct FileDescriptor; // file-desc.h
class File
{
public:
static bool GetFileInfo(TCHAR const* url, FileDescriptor* fileDesc);
static TCHAR const* MakeTempFileName(TCHAR* strBuffer, size_t strLen);
static bool Remove(TCHAR const* filename);
static bool Exists(TCHAR const* filename);
static bool Copy(TCHAR const* srcPathName, TCHAR const* destPathName, bool overwriteIfExists);
};
} // namespace filesystem
} // namespace gpa