LeviLamina
Loading...
Searching...
No Matches
ValueIteratorBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Value.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 // ValueIteratorBase inner types define
18 using size_t = uint;
19
20 using difference_type = int;
21
23
24 using iterator_category = ::std::bidirectional_iterator_tag;
25
26public:
28 if (isArray_) {
29 using IterT = decltype(array_);
30 array_.~IterT();
31 } else {
32 using IterT = decltype(map_);
33 map_.~IterT();
34 }
35 }
36
37public:
38 // member variables
39 // NOLINTBEGIN
40 union {
41 Json::Value::ArrayValues::iterator array_;
42 Json::Value::ObjectValues::iterator map_;
43 };
44 ::ll::TypedStorage<1, 1, bool> isArray_;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI bool operator!=(::Json::ValueIteratorBase const& other) const;
51 // NOLINTEND
52};
53
54} // namespace Json
Definition ValueIteratorBase.h:15