ReXGlue SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
directory.h
Go to the documentation of this file.
1
10
11
#pragma once
12
13
#include <optional>
14
15
#include <
rex/filesystem/file_stat.h
>
16
#include <
rex/types.h
>
17
#include <
rex/utility.h
>
18
19
namespace
rex::filesystem {
20
22
class
IDirectory
:
public
NonCopyable {
23
public
:
24
virtual
~IDirectory
() =
default
;
25
27
[[nodiscard]]
virtual
std::optional<FileStat>
Next
() = 0;
28
29
virtual
void
Restart() = 0;
30
32
[[nodiscard]]
virtual
u64
GetPosition
()
const
= 0;
33
};
34
35
}
// namespace rex::filesystem
rex::filesystem::IDirectory
Definition
directory.h:22
rex::filesystem::IDirectory::GetPosition
virtual u64 GetPosition() const =0
rex::filesystem::IDirectory::Next
virtual std::optional< FileStat > Next()=0
file_stat.h
types.h
Integer types, byte order wrappers and size literals.
utility.h
Move only function, const propagating pointer and scope guard.
rex
filesystem
directory.h
Generated by
1.18.0