LeviLamina
Loading...
Searching...
No Matches
StyledWriter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Writer.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Json { class Value; }
11// clang-format on
12
13namespace Json {
14
15class StyledWriter : public ::Json::Writer {
16public:
17 // StyledWriter inner types define
18 using ChildValues = ::std::vector<::std::string>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> childValues_;
24 ::ll::TypedStorage<8, 32, ::std::string> document_;
25 ::ll::TypedStorage<8, 32, ::std::string> indentString_;
26 ::ll::TypedStorage<4, 4, int> rightMargin_;
27 ::ll::TypedStorage<4, 4, int> indentSize_;
28 ::ll::TypedStorage<1, 1, bool> addChildValues_;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~StyledWriter() /*override*/;
35
36 virtual ::std::string write(::Json::Value const& root) /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI StyledWriter();
43
44 MCAPI void indent();
45
46 MCAPI void unindent();
47
48 MCAPI void writeArrayValue(::Json::Value const& value);
49
50 MCAPI void writeIndent();
51
52 MCAPI void writeValue(::Json::Value const& value);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor();
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI ::std::string $write(::Json::Value const& root);
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
81
82} // namespace Json
static MCAPI void ** $vftable()
Definition Value.h:16
Definition Writer.h:12