LeviLamina
Loading...
Searching...
No Matches
StyledStreamWriter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Json { class Value; }
8// clang-format on
9
10namespace Json {
11
13public:
14 // StyledStreamWriter inner types define
15 using ChildValues = ::std::vector<::std::string>;
16
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> childValues_;
21 ::ll::TypedStorage<8, 8, ::std::ostream*> document_;
22 ::ll::TypedStorage<8, 32, ::std::string> indentString_;
23 ::ll::TypedStorage<4, 4, int> rightMargin_;
24 ::ll::TypedStorage<8, 32, ::std::string> indentation_;
25 ::ll::TypedStorage<1, 1, bool> addChildValues_;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI explicit StyledStreamWriter(::std::string indentation);
36
37 MCAPI void pushValue(::std::string const& value);
38
39 MCAPI void unindent();
40
41 MCAPI void write(::std::ostream& out, ::Json::Value const& root);
42
43 MCAPI void writeArrayValue(::Json::Value const& value);
44
45 MCAPI void writeValue(::Json::Value const& value);
46
47 MCAPI ~StyledStreamWriter();
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::std::string indentation);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61};
62
63} // namespace Json
Definition StyledStreamWriter.h:12
Definition Value.h:16