CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
json_reader_options.h
1#pragma once
2
3#include <system/object.h>
4#include <cstdint>
5
6namespace System
7{
8namespace Text
9{
10namespace Json
11{
12enum class JsonCommentHandling;
13class JsonSerializerOptions;
14class Utf8JsonReader;
15} // namespace Json
16} // namespace Text
17} // namespace System
18
19namespace System {
20
21namespace Text {
22
23namespace Json {
24
25class ASPOSECPP_SHARED_CLASS JsonReaderOptions : public System::Object, public System::Details::BoxableObjectBase
26{
29
30 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
31 ASPOSECPP_SHARED_RTTI_INFO_DECL();
32
34 friend class Utf8JsonReader;
35
36public:
37
39 ASPOSECPP_SHARED_API void set_CommentHandling(JsonCommentHandling value);
40 ASPOSECPP_SHARED_API int32_t get_MaxDepth();
41 ASPOSECPP_SHARED_API void set_MaxDepth(int32_t value);
42 ASPOSECPP_SHARED_API bool get_AllowMultipleValues();
43 ASPOSECPP_SHARED_API void set_AllowMultipleValues(bool value);
44
45 ASPOSECPP_SHARED_API JsonReaderOptions();
46
50 ASPOSECPP_SHARED_API bool Equals(const JsonReaderOptions& other) const;
54 ASPOSECPP_SHARED_API bool operator ==(const JsonReaderOptions& other) const;
55
56protected:
57
58 static const int32_t DefaultMaxDepth = 64;
59
60 #ifdef ASPOSE_GET_SHARED_MEMBERS
61 void GetSharedMembers(System::Object::shared_members_type& result) const override;
62 #endif
63
64private:
65
66 int32_t _maxDepth;
67 JsonCommentHandling _commentHandling;
68 bool pr_AllowMultipleValues;
69
70};
71
72} // namespace Json
73} // namespace Text
74} // namespace System
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Definition: json_reader_options.h:26
bool Equals(const JsonReaderOptions &other) const
Determines if the current and the specified objects are equal.
JsonCommentHandling get_CommentHandling()
void set_CommentHandling(JsonCommentHandling value)
Definition: json_serializer_options.h:111
Definition: utf8_json_reader.h:78
@ Text
Defines color adjustment information for text.
JsonCommentHandling
Definition: json_comment_handling.h:14
Definition: db_command.h:9
bool operator==(ArraySegment< T > a, ArraySegment< T > b)
Definition: array_segment.h:167