CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
json_object_converter.h
1#pragma once
2
3#include <system/details/pointer_collection_helpers.h>
4#include <cstdint>
5
6#include "system/text/json/serialization/json_resumable_converter_of_t.h"
7#include "system/text/json/serialization/converter_strategy.h"
8
9namespace System {
10
11namespace Text {
12
13namespace Json {
14
15namespace Serialization {
16
17template<typename T>
19{
22
23 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
24 RTTI_INFO_TEMPLATE_CLASS(ThisType, ThisTypeBaseTypesInfo);
25
26 template<typename FT0> friend class JsonObjectConverter;
27
28public:
29
30 bool get_CanPopulate() override
31 {
32 return true;
33 }
34
35 void SetTemplateWeakPtr(uint32_t argument) override
36 {
37 switch (argument)
38 {
39 case 0:
41 break;
42
43 }
44 }
45
46private:
47
48 System::Text::Json::ConverterStrategy GetDefaultConverterStrategy() override
49 {
51 }
52
53};
54
55} // namespace Serialization
56} // namespace Json
57} // namespace Text
58} // namespace System
Definition: json_object_converter.h:19
void SetTemplateWeakPtr(uint32_t argument) override
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containe...
Definition: json_object_converter.h:35
bool get_CanPopulate() override
Definition: json_object_converter.h:30
Definition: json_resumable_converter_of_t.h:42
void SetTemplateWeakPtr(uint32_t argument) override
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containe...
Definition: json_resumable_converter_of_t.h:99
@ Text
Defines color adjustment information for text.
ConverterStrategy
Definition: converter_strategy.h:13
Definition: db_command.h:9