CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
code_pages_encoding_provider.h
1
3
4#pragma once
5
6#include <system/text/encoding_provider.h>
7
8namespace System { namespace Text {
9
14class ASPOSECPP_SHARED_CLASS CodePagesEncodingProvider : public EncodingProvider
15{
16 RTTI_INFO(System::Text::CodePagesEncodingProvider, ::System::BaseTypesInfo<System::Text::EncodingProvider>)
17
18public:
24
30 ASPOSECPP_SHARED_API EncodingPtr GetEncoding(const String& name) override;
31
37 ASPOSECPP_SHARED_API EncodingPtr GetEncoding(int codepage) override;
38};
39
40}} // namespace System::Text
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
Represents an encoding provider that supplies encodings for specific code pages.
Definition: code_pages_encoding_provider.h:15
static System::SharedPtr< EncodingProvider > get_Instance()
Gets the singleton instance of the CodePagesEncodingProvider.
EncodingPtr GetEncoding(const String &name) override
Gets the encoding associated with the specified name.
EncodingPtr GetEncoding(int codepage) override
Gets the encoding associated with the specified code page identifier.
Represents a base class for encoding providers that supply character encoding information.
Definition: encoding_provider.h:14
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9