CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_serializer_implementation.h
1
2#pragma once
3
4#include <xml/xml_serializer.h>
5#include <xml/xml_serialization_writer.h>
6#include <xml/xml_serialization_reader.h>
7#include <system/type_info.h>
8#include <system/string.h>
9#include <system/shared_ptr.h>
10#include <system/object.h>
11#include <system/collections/dictionary.h>
12
13namespace System {
14
15namespace Xml {
16
17namespace Serialization {
18
20class ASPOSECPP_SHARED_CLASS XmlSerializerImplementation : public System::Object
21{
22public:
23
25 {
26 throw NotSupportedException();
27 }
28
30 {
31 throw NotSupportedException();
32 }
33
35 {
36 throw NotSupportedException();
37 }
38
40 {
41 throw NotSupportedException();
42 }
43
45 {
46 throw NotSupportedException();
47 }
48
49 ASPOSECPP_SHARED_API virtual bool CanSerialize(const TypeInfo& type)
50 {
51 ASPOSE_UNUSED(type);
52 throw NotSupportedException();
53 }
54
55 ASPOSECPP_SHARED_API virtual System::SharedPtr<XmlSerializer> GetSerializer(const TypeInfo& type)
56 {
57 ASPOSE_UNUSED(type);
58 throw NotSupportedException();
59 }
60};
61
62} // namespace Serialization
63} // namespace Xml
64} // namespace System
65
66
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Represents a particular type and provides information about it.
Definition: type_info.h:109
Internal class to use with XmlSerializer.
Definition: xml_serializer_implementation.h:21
virtual System::SharedPtr< Collections::Generic::Dictionary< String, String > > get_ReadMethods()
Definition: xml_serializer_implementation.h:34
virtual System::SharedPtr< Collections::Generic::Dictionary< String, System::SharedPtr< XmlSerializer > > > get_TypedSerializers()
Definition: xml_serializer_implementation.h:44
virtual System::SharedPtr< XmlSerializationWriter > get_Writer()
Definition: xml_serializer_implementation.h:29
virtual bool CanSerialize(const TypeInfo &type)
Definition: xml_serializer_implementation.h:49
virtual System::SharedPtr< XmlSerializer > GetSerializer(const TypeInfo &type)
Definition: xml_serializer_implementation.h:55
virtual System::SharedPtr< XmlSerializationReader > get_Reader()
Definition: xml_serializer_implementation.h:24
virtual System::SharedPtr< Collections::Generic::Dictionary< String, String > > get_WriteMethods()
Definition: xml_serializer_implementation.h:39
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9