LeviLamina
Loading...
Searching...
No Matches
FileWriterImpl.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 FileWriterImpl : public ::bx::FileWriterI {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::_iobuf*> m_file;
22 ::ll::TypedStorage<1, 1, bool> m_open;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~FileWriterImpl() /*override*/ = default;
29
30 virtual bool open(::bx::FilePath const& _filePath, bool _append, ::bx::Error* _err) /*override*/;
31
32 virtual void close() /*override*/;
33
34 virtual int64 seek(int64 _offset, ::bx::Whence::Enum _whence) /*override*/;
35
36 virtual int write(void const* _data, int _size, ::bx::Error* _err) /*override*/;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCAPI bool $open(::bx::FilePath const& _filePath, bool _append, ::bx::Error* _err);
43
44 MCAPI void $close();
45
46 MCAPI int64 $seek(int64 _offset, ::bx::Whence::Enum _whence);
47
48 MCAPI int $write(void const* _data, int _size, ::bx::Error* _err);
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftableForSeekerI();
55
56 MCNAPI static void** $vftableForWriterI();
57
58 MCNAPI static void** $vftableForCloserI();
59
60 MCNAPI static void** $vftableForWriterOpenI();
61 // NOLINTEND
62};
63
64} // namespace bx
Definition Error.h:7
Definition FilePath.h:7
Definition FileWriterImpl.h:7
static MCAPI void ** $vftableForSeekerI()
static MCAPI void ** $vftableForWriterOpenI()
static MCAPI void ** $vftableForWriterI()
static MCAPI void ** $vftableForCloserI()