CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
encoder_exception_fallback.h
1
2#ifndef __EncoderExceptionFallback_h__
3#define __EncoderExceptionFallback_h__
4
5#include "system/text/encoder_exception_fallback_buffer.h"
6#include "system/text/encoder_fallback.h"
7
8#include "fwd.h"
9
10namespace System { namespace Text {
11
16class ASPOSECPP_SHARED_CLASS EncoderExceptionFallback : public EncoderFallback
17{
18public:
21
24 virtual int get_MaxCharCount() const override { return 0; }
28 return MakeObject<EncoderExceptionFallbackBuffer>();
29 }
30};
31
32}}
33
34#endif
Provides exception-throwing fallback strategy. Objects of this class should only be allocated using S...
Definition: encoder_exception_fallback.h:17
virtual EncoderFallbackBufferPtr CreateFallbackBuffer() override
Creates fallback buffer.
Definition: encoder_exception_fallback.h:27
virtual int get_MaxCharCount() const override
Gets maximal count of characters the instance can return.
Definition: encoder_exception_fallback.h:24
EncoderExceptionFallback()
Constructor.
Definition: encoder_exception_fallback.h:20
Provides fallback API to handle encoding error. Objects of this class should only be allocated using ...
Definition: encoder_fallback.h:15
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9