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 MCNAPI void indent();
45
46 MCNAPI bool isMultineArray(::Json::Value const& value);
47
48 MCNAPI void pushValue(::std::string const& value);
49
50 MCNAPI void unindent();
51
52 MCNAPI void writeArrayValue(::Json::Value const& value);
53
54 MCNAPI void writeIndent();
55
56 MCNAPI void writeValue(::Json::Value const& value);
57
58 MCNAPI void writeWithIndent(::std::string const& value);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCNAPI ::std::string $write(::Json::Value const& root);
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace Json
Definition StyledWriter.h:15
MCAPI void indent()
static MCAPI void ** $vftable()
MCAPI void writeValue(::Json::Value const &value)
MCAPI bool isMultineArray(::Json::Value const &value)
MCAPI void writeIndent()
MCAPI void pushValue(::std::string const &value)
MCAPI void $dtor()
MCAPI void writeWithIndent(::std::string const &value)
MCAPI void unindent()
MCAPI::std::string $write(::Json::Value const &root)
MCAPI void writeArrayValue(::Json::Value const &value)
Definition Value.h:16
Definition Writer.h:12