CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
i_xml_serializable.h
1
2#ifndef _aspose_xml_i_xml_serialization_h_
3#define _aspose_xml_i_xml_serialization_h_
4
5#include <xml/schema/xml_schema.h>
6#include <xml/xml_reader.h>
7#include <xml/xml_writer.h>
8
9namespace System { namespace Xml { namespace Serialization {
14class ASPOSECPP_SHARED_CLASS IXmlSerializable : virtual public Object {
15 RTTI_INFO(IXmlSerializable, ::System::BaseTypesInfo<System::Object>);
16public:
22 virtual ASPOSECPP_SHARED_API void ReadXml(System::SharedPtr<System::Xml::XmlReader> reader) = 0;
25 virtual ASPOSECPP_SHARED_API void WriteXml(System::SharedPtr<System::Xml::XmlWriter> writer) = 0;
27 virtual ~IXmlSerializable() {}
28};
29
30}}} // namesace System::Xml::Serialization
31#endif
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
Provides custom formatting for XML serialization and deserialization. Objects of this class should on...
Definition: i_xml_serializable.h:14
virtual System::SharedPtr< System::Xml::Schema::XmlSchema > GetSchema()=0
An XmlSchema object that describes the XML representation of the object that is returned by the Write...
virtual void ReadXml(System::SharedPtr< System::Xml::XmlReader > reader)=0
Deserializes object from its XML representation.
virtual void WriteXml(System::SharedPtr< System::Xml::XmlWriter > writer)=0
Serializes the current object to XML representation.
virtual ~IXmlSerializable()
Destructor.
Definition: i_xml_serializable.h:27
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9