LeviLamina
Loading...
Searching...
No Matches
MemoryWriter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/bx/Whence.h"
7#include "mc/external/bx/WriterSeekerI.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace bx { class Error; }
12namespace bx { struct MemoryBlockI; }
13// clang-format on
14
15namespace bx {
16
17class MemoryWriter : public ::bx::WriterSeekerI {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::bx::MemoryBlockI*> m_memBlock;
22 ::ll::TypedStorage<8, 8, uchar*> m_data;
23 ::ll::TypedStorage<8, 8, int64> m_pos;
24 ::ll::TypedStorage<8, 8, int64> m_top;
25 ::ll::TypedStorage<8, 8, int64> m_size;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~MemoryWriter() /*override*/ = default;
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 // virtual function thunks
40 // NOLINTBEGIN
41 MCAPI int64 $seek(int64 _offset, ::bx::Whence::Enum _whence);
42
43 MCAPI int $write(void const* _data, int _size, ::bx::Error* _err);
44 // NOLINTEND
45
46public:
47 // vftables
48 // NOLINTBEGIN
49 MCNAPI static void** $vftableForSeekerI();
50
51 MCNAPI static void** $vftableForWriterI();
52 // NOLINTEND
53};
54
55} // namespace bx
Definition Error.h:7
Definition MemoryWriter.h:7
static MCAPI void ** $vftableForWriterI()
static MCAPI void ** $vftableForSeekerI()
Definition MemoryBlockI.h:7