Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FileWriter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/bx/FileWriterI.h"
7#include "mc/external/bx/Whence.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace bx { class Error; }
12namespace bx { class FilePath; }
13// clang-format on
14
15namespace bx {
16
17class FileWriter : public ::bx::FileWriterI {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 64, uchar[64]> m_internal;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~FileWriter() /*override*/;
28
29 virtual bool open(::bx::FilePath const& _filePath, bool _append, ::bx::Error* _err) /*override*/;
30
31 virtual void close() /*override*/;
32
33 virtual int64 seek(int64 _offset, ::bx::Whence::Enum _whence) /*override*/;
34
35 virtual int write(void const* _data, int _size, ::bx::Error* _err) /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI FileWriter();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCNAPI void* $ctor();
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCNAPI void $dtor();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCNAPI bool $open(::bx::FilePath const& _filePath, bool _append, ::bx::Error* _err);
60
61 MCNAPI void $close();
62
63 MCNAPI int64 $seek(int64 _offset, ::bx::Whence::Enum _whence);
64
65 MCNAPI int $write(void const* _data, int _size, ::bx::Error* _err);
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftableForWriterI();
72
73 MCNAPI static void** $vftableForCloserI();
74
75 MCNAPI static void** $vftableForWriterOpenI();
76
77 MCNAPI static void** $vftableForSeekerI();
78 // NOLINTEND
79};
80
81} // namespace bx
Definition Error.h:7
Definition FilePath.h:7
Definition FileWriter.h:7
static MCAPI void ** $vftableForWriterOpenI()
static MCAPI void ** $vftableForCloserI()
MCAPI void $close()
static MCAPI void ** $vftableForSeekerI()
MCAPI bool $open(::bx::FilePath const &_filePath, bool _append, ::bx::Error *_err)
MCAPI int64 $seek(int64 _offset, ::bx::Whence::Enum _whence)
MCAPI int $write(void const *_data, int _size, ::bx::Error *_err)
MCAPI void $dtor()
MCAPI FileWriter()
MCAPI void * $ctor()
static MCAPI void ** $vftableForWriterI()