3#include <system/object_ext.h>
4#include <system/nullable.h>
5#include <system/func.h>
6#include <system/details/yield.h>
7#include <system/collections/list.h>
8#include <system/collections/ilist.h>
9#include <system/collections/ienumerator.h>
10#include <system/array.h>
13#include "system/text/json/nodes/json_node.h"
14#include "system/text/json/nodes/json_node_options.h"
15#include "system/text/json/document/json_element.h"
23template <
typename>
class IEnumerable;
26template <
typename>
class ReadOnlySpan;
31class JsonSerializerOptions;
37class JsonArrayConverter;
38class JsonNodeConverter;
43class ValueStringBuilder;
61 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
62 ASPOSECPP_SHARED_RTTI_INFO_DECL();
75 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
76 ASPOSECPP_SHARED_RTTI_INFO_DECL();
80 class DebugViewItem :
public System::Object,
public System::Details::BoxableObjectBase
85 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
86 ASPOSECPP_SHARED_RTTI_INFO_DECL();
98 #ifdef ASPOSE_GET_SHARED_MEMBERS
99 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
113 #ifdef ASPOSE_GET_SHARED_MEMBERS
114 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
127 ASPOSECPP_SHARED_API int32_t
get_Count()
const override;
141 return System::MakeYieldEnumerable<T>([=](System::Details::YieldContext<T>& __)
mutable
143 if (__.stage == 1)
goto __1;
145 item_enumerator = (get_List())->GetEnumerator();
146 while (item_enumerator->MoveNext())
148 item = item_enumerator->get_Current();
150 __.YieldReturn(item == nullptr ? System::ExplicitCast<T>(System::ExplicitCast<System::Object>(nullptr)) : item->template GetValue<T>(), 1); return; __1:;
159 ASPOSECPP_SHARED_API
void Clear()
override;
164 ASPOSECPP_SHARED_API
void RemoveAt(int32_t index)
override;
166 ASPOSECPP_SHARED_API
void RemoveRange(int32_t index, int32_t count);
185 #ifdef ASPOSE_GET_SHARED_MEMBERS
186 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
195 ASPOSECPP_SHARED_API
bool get_IsReadOnly()
const override;
197 ASPOSECPP_SHARED_API
JsonValueKind GetValueKindCore()
override;
Class that represents an array data structure. Objects of this class should only be allocated using S...
Definition: array.h:296
Interface of indexed container of elements. Objects of this class should only be allocated using Syst...
Definition: ilist.h:20
List forward declaration.
Definition: list.h:129
Function delegate. This type should be allocated on stack and passed to functions by value or by refe...
Definition: func.h:82
Forward declaration.
Definition: nullable.h:75
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Forward to use within Span class.
Definition: span.h:415
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:126
Definition: json_element.h:59
Definition: json_array.h:56
void idx_set(int index, System::SharedPtr< JsonNode > value) override
JsonArray(const System::SharedPtr< Array< System::SharedPtr< JsonNode > > > &items)
JsonArray(Nullable< JsonNodeOptions > options=nullptr)
bool Remove(const System::SharedPtr< JsonNode > &item) override
Nullable< JsonElement > get_UnderlyingElement() override
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(JsonArray, CODEPORTING_ARGS(JsonElement element, Nullable< JsonNodeOptions > options=nullptr))
System::SharedPtr< JsonNode > DeepCloneCore() override
System::SharedPtr< Collections::Generic::IEnumerable< T > > GetValues()
Definition: json_array.h:137
void RemoveAt(int32_t index) override
System::SharedPtr< JsonNode > idx_get(int index) const override
Gets element at specified index.
void Clear() override
Deletes all elements from collection.
bool Contains(const System::SharedPtr< JsonNode > &item) const override
JsonArray(JsonNodeOptions options, const System::SharedPtr< Array< System::SharedPtr< JsonNode > > > &items)
bool DeepEqualsCore(System::SharedPtr< JsonNode > node) override
int32_t IndexOf(const System::SharedPtr< JsonNode > &item) const override
void Add(const System::SharedPtr< JsonNode > &item) override
int32_t get_Count() const override
Gets number of elements in collection.
int32_t GetElementIndex(System::SharedPtr< JsonNode > node)
int32_t RemoveAll(Func< System::SharedPtr< JsonNode >, bool > match)
System::SharedPtr< Collections::Generic::IEnumerator< System::SharedPtr< JsonNode > > > GetEnumerator() override
Gets enumerator.
JsonArray(JsonElement element, Nullable< JsonNodeOptions > options=nullptr)
void WriteTo(System::SharedPtr< Utf8JsonWriter > writer, System::SharedPtr< JsonSerializerOptions > options=nullptr) override
void RemoveRange(int32_t index, int32_t count)
void GetPath(ValueStringBuilder &path, System::SharedPtr< JsonNode > child) override
static System::SharedPtr< JsonArray > Create(JsonElement element, Nullable< JsonNodeOptions > options=nullptr)
void Insert(int32_t index, const System::SharedPtr< JsonNode > &item) override
Definition: json_node.h:54
Definition: json_node_options.h:14
Definition: json_array_converter.h:44
Definition: json_node_converter.h:46
Definition: value_string_builder.h:17
@ Text
Defines color adjustment information for text.
JsonValueKind
Definition: json_value_kind.h:12
Definition: db_command.h:9