CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
decoder_exception_fallback.h
1
2#ifndef __DecoderExceptionFallback_h__
3#define __DecoderExceptionFallback_h__
4
5#include "system/text/decoder_fallback.h"
6#include "system/text/decoder_exception_fallback_buffer.h"
7
8#include "fwd.h"
9
10namespace System { namespace Text {
11
16class ASPOSECPP_SHARED_CLASS DecoderExceptionFallback : public DecoderFallback
17{
18public:
21 virtual int get_MaxCharCount() const override { return 0; }
25 return MakeObject<DecoderExceptionFallbackBuffer>();
26 }
27};
28
29}}
30
31#endif
Provides exception-throwing fallback strategy. Objects of this class should only be allocated using S...
Definition: decoder_exception_fallback.h:17
virtual DecoderFallbackBufferPtr CreateFallbackBuffer() override
Creates fallback buffer.
Definition: decoder_exception_fallback.h:24
virtual int get_MaxCharCount() const override
Gets maximal count of characters the instance can return.
Definition: decoder_exception_fallback.h:21
Provides fallback API to handle decoding error. Objects of this class should only be allocated using ...
Definition: decoder_fallback.h:14
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9