18 #ifndef _LOG4CXX_HELPERS_CHARSETDECODER_H 19 #define _LOG4CXX_HELPERS_CHARSETDECODER_H 57 static CharsetDecoderPtr getDefaultDecoder();
66 static CharsetDecoderPtr getDecoder(
const LogString& charset);
71 static CharsetDecoderPtr getUTF8Decoder();
75 static CharsetDecoderPtr getISOLatinDecoder();
86 virtual log4cxx_status_t decode(
ByteBuffer& in,
92 inline static bool isError(log4cxx_status_t stat)
115 #endif //_LOG4CXX_HELPERS_CHARSETENCODER_H #define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
LOG4CXX_PTR_DEF(AppenderAttachableImpl)
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
An abstract engine to transform a sequences of bytes in a specific charset into a LogString...
Definition: charsetdecoder.h:36
base class for java-like objects.
Definition: object.h:101
A byte buffer.
Definition: bytebuffer.h:33
Definition: appender.h:32
static bool isError(log4cxx_status_t stat)
Determins if status value indicates an invalid byte sequence.
Definition: charsetdecoder.h:92
std::basic_string< logchar > LogString
Definition: logstring.h:66