LeviLamina
Loading...
Searching...
No Matches
File.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/string/BasicStackString.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Core { class PathView; }
12namespace Core { class Result; }
13namespace brstd { struct source_location; }
14// clang-format on
15
16namespace Core {
17
18class File {
19public:
20 // member variables
21 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 File& operator=(File const&);
29 File(File const&);
30 File();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI ::Core::Result close();
36
37 MCNAPI ~File();
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> cleanPath(::Core::PathView entryPath);
44
45#ifdef LL_PLAT_C
46 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>>
47 cleanPathSeparators(::Core::PathView entryPath);
48#endif
49
50 MCNAPI static ::Core::Result writeCreateOrAppendFileData(
52 uint64 offset,
53 uint64 numBytesToWrite,
54 uchar const* buffer,
55 ::brstd::source_location sourceLocation
56 );
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64};
65
66} // namespace Core
MCAPI::Core::Result close()
MCAPI void $dtor()
static MCAPI ::Core::Result writeCreateOrAppendFileData(::Core::PathView path, uint64 offset, uint64 numBytesToWrite, uchar const *buffer, ::brstd::source_location sourceLocation)
MCAPI ~File()
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > cleanPath(::Core::PathView entryPath)
Definition PathView.h:19
Definition Result.h:11
Definition source_location.h:7
Definition buffer.h:5
Definition Alias.h:14