CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
decoder_fallback.h
1
2#pragma once
3
4#include "fwd.h"
5#include "system/object.h"
6
7namespace System { namespace Text {
8
13class ASPOSECPP_SHARED_CLASS DecoderFallback: public Object
14{
15protected:
17 DecoderFallback() = default;
18
19public:
22 static ASPOSECPP_SHARED_API const DecoderFallbackPtr get_ExceptionFallback();
25 static ASPOSECPP_SHARED_API const DecoderFallbackPtr get_ReplacementFallback();
28 static ASPOSECPP_SHARED_API const DecoderFallbackPtr get_StandardSafeFallback();
29
32 virtual ASPOSECPP_SHARED_API int get_MaxCharCount() const = 0;
35 virtual ASPOSECPP_SHARED_API DecoderFallbackBufferPtr CreateFallbackBuffer() = 0;
36};
37
38}} // namespace System::Text
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Provides fallback API to handle decoding error. Objects of this class should only be allocated using ...
Definition: decoder_fallback.h:14
static const DecoderFallbackPtr get_StandardSafeFallback()
Gets default standard safe fallback implementation.
virtual int get_MaxCharCount() const =0
Gets maximal number of characters that can be returned by fallback.
DecoderFallback()=default
Constructor.
static const DecoderFallbackPtr get_ExceptionFallback()
Gets default exception fallback implementation.
virtual DecoderFallbackBufferPtr CreateFallbackBuffer()=0
Gets buffer associated with fallback algorithm.
static const DecoderFallbackPtr get_ReplacementFallback()
Gets default replacement fallback implementation.
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9