CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Win32FileHandle.hpp
Go to the documentation of this file.
1
2//
3// CeresEngine - A game development framework
4//
5// Created by Rogiel Sulzbach.
6// Copyright (c) 2018-2023 Rogiel Sulzbach. All rights reserved.
7//
8
9#pragma once
10
11#include "Forward.hpp"
12
15
20
22
23#include <memory>
24
25namespace CeresEngine {
26
57
58} // namespace CeresEngine
File handle for the local file system.
Definition LocalFileHandle.hpp:21
File handle for the local file system on Windows.
Definition Win32FileHandle.hpp:28
Int64 getAccessTime() const final
Gets the time of last access.
Win32FileHandle(Win32FileSystem &fs, StringView path)
Constructs a new Win32 File Handle.
void updateFileInfo() final
Update file information.
Win32FileHandle(const Win32FileHandle &other)
Int64 getModificationTime() const final
Gets time of last modification.
UPtr< void, void(*)(void *)> mFileInfo
Information about the current file (created on demand)
Definition Win32FileHandle.hpp:33
Representation of the local file system on Windows.
Definition Win32FileSystem.hpp:27
Definition Application.hpp:19
std::unique_ptr< T, Deleter > UPtr
UPtr is a smart pointer that owns and manages another object through a pointer and disposes of that o...
Definition SmartPtr.hpp:28
std::int64_t Int64
Definition DataTypes.hpp:24
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25