CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
iserializable.h
1
2#ifndef _aspose_system_runtime_serialization_iseriliazable_h_
3#define _aspose_system_runtime_serialization_iseriliazable_h_
4
5#include "system/object.h"
6#include "system/shared_ptr.h"
7#include "system/runtime/serialization/serialization_info.h"
8#include "system/runtime/serialization/streaming_context.h"
9
10namespace System { namespace Runtime { namespace Serialization {
11
16class ASPOSECPP_SHARED_CLASS ISerializable : public virtual Object
17{
19 typedef ISerializable ThisType;
22
24 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
25
27 RTTI_INFO(System::Runtime::Serialization::ISerializable, ThisTypeBaseTypesInfo);
31 virtual ASPOSECPP_SHARED_API void GetObjectData(System::SharedPtr<SerializationInfo> info, StreamingContext context) = 0;
32};
33
34}}}
35
36#endif
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Interface of object which can be serialized. Objects of this class should only be allocated using Sys...
Definition: iserializable.h:17
Dummy class to make StreamingContext-using translated classes compile. Do not manage instances of thi...
Definition: streaming_context.h:12
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9