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
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 // vIndex: 0
35 virtual ~StyledWriter() /*override*/;
36
37 // vIndex: 1
38 virtual ::std::string write(::Json::Value const& root) /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI void indent();
45
46 MCAPI bool isMultineArray(::Json::Value const& value);
47
48 MCAPI void pushValue(::std::string const& value);
49
50 MCAPI void unindent();
51
52 MCAPI void writeArrayValue(::Json::Value const& value);
53
54 MCAPI void writeIndent();
55
56 MCAPI void writeValue(::Json::Value const& value);
57
58 MCAPI void writeWithIndent(::std::string const& value);
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 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace Json
Definition StyledWriter.h:15
Definition Value.h:16
Definition Writer.h:12