CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
write_stack_frame.h
1#pragma once
2
3#include <system/string.h>
4#include <system/nullable.h>
5#include <cstdint>
6
7#include "system/text/json/serialization/json_number_handling.h"
8
9namespace System
10{
11namespace Collections
12{
13class IEnumerator;
14} // namespace Collections
15namespace Text
16{
17namespace Json
18{
19class JsonSerializerOptions;
20enum class MetadataPropertyName : uint8_t;
21enum class PolymorphicSerializationState : uint8_t;
22namespace Serialization
23{
24class JsonConverterBase;
25namespace Metadata
26{
27class JsonPropertyInfoBase;
28class JsonTypeInfoBase;
29} // namespace Metadata
30} // namespace Serialization
31enum class StackFramePropertyState : uint8_t;
32} // namespace Json
33} // namespace Text
34class TypeInfo;
35} // namespace System
36
37namespace System {
38
39namespace Text {
40
41namespace Json {
42
43class ASPOSECPP_SHARED_CLASS WriteStackFrame : public System::Object, public System::Details::BoxableObjectBase
44{
47
48 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
49 ASPOSECPP_SHARED_RTTI_INFO_DECL();
50
51public:
52
67
68 ASPOSECPP_SHARED_API void EndCollectionElement();
69 ASPOSECPP_SHARED_API void EndDictionaryEntry();
70 ASPOSECPP_SHARED_API void EndProperty();
75 ASPOSECPP_SHARED_API void ExitPolymorphicConverter(bool success);
76
77 ASPOSECPP_SHARED_API WriteStackFrame();
78
79protected:
80
81 #ifdef ASPOSE_GET_SHARED_MEMBERS
82 void GetSharedMembers(System::Object::shared_members_type& result) const override;
83 #endif
84
85private:
86
87 ASPOSECPP_SHARED_API String get_DebuggerDisplay();
88
89};
90
91} // namespace Json
92} // namespace Text
93} // namespace System
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
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: write_stack_frame.h:44
System::SharedPtr< Object > CollectionEnumerator
Definition: write_stack_frame.h:53
System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > InitializePolymorphicReEntry(const TypeInfo &runtimeType, System::SharedPtr< JsonSerializerOptions > options)
bool ProcessedStartToken
Definition: write_stack_frame.h:58
String JsonPropertyNameAsString
Definition: write_stack_frame.h:62
Nullable< Serialization::JsonNumberHandling > NumberHandling
Definition: write_stack_frame.h:66
System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonPropertyInfoBase > JsonPropertyInfo
Definition: write_stack_frame.h:54
System::SharedPtr< Serialization::JsonConverterBase > InitializePolymorphicReEntry(System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > derivedJsonTypeInfo)
System::Text::Json::PolymorphicSerializationState PolymorphicSerializationState
Definition: write_stack_frame.h:64
bool IsWritingExtensionDataProperty
Definition: write_stack_frame.h:55
int32_t EnumeratorIndex
Definition: write_stack_frame.h:61
bool ProcessedEndToken
Definition: write_stack_frame.h:59
int32_t OriginalDepth
Definition: write_stack_frame.h:57
System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > JsonTypeInfo
Definition: write_stack_frame.h:56
StackFramePropertyState PropertyState
Definition: write_stack_frame.h:60
System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > GetNestedJsonTypeInfo()
void ExitPolymorphicConverter(bool success)
System::Text::Json::MetadataPropertyName MetadataPropertyName
Definition: write_stack_frame.h:63
System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > PolymorphicTypeInfo
Definition: write_stack_frame.h:65
System::SharedPtr< Serialization::JsonConverterBase > ResumePolymorphicReEntry()
Represents a particular type and provides information about it.
Definition: type_info.h:109
@ Text
Defines color adjustment information for text.
@ TypeInfo
Specifies that the member is a type.
PolymorphicSerializationState
Definition: polymorphic_serialization_state.h:12
MetadataPropertyName
Definition: metadata_property_name.h:13
StackFramePropertyState
Definition: stack_frame_property_state.h:12
Definition: db_command.h:9