Apache Log4cxx Version 1.0.0
Loading...
Searching...
No Matches
transcoder.h File Reference

Go to the source code of this file.

Classes

class  log4cxx::helpers::Transcoder
 Simple transcoder for converting between external char and wchar_t strings and internal strings. More...
 

Namespaces

namespace  log4cxx
 
namespace  log4cxx::helpers
 

Macros

#define LOG4CXX_ENCODE_CHAR(var, src)
 
#define LOG4CXX_DECODE_CHAR(var, src)
 
#define LOG4CXX_DECODE_CFSTRING(var, src)
 
#define LOG4CXX_ENCODE_CFSTRING(var, src)    CFStringRef var = log4cxx::helpers::Transcoder::encode(src)
 
#define LOG4CXX_ENCODE_WCHAR(var, src)
 
#define LOG4CXX_DECODE_WCHAR(var, src)
 
#define LOG4CXX_ENCODE_UNICHAR(var, src)
 
#define LOG4CXX_DECODE_UNICHAR(var, src)
 

Macro Definition Documentation

◆ LOG4CXX_DECODE_CFSTRING

#define LOG4CXX_DECODE_CFSTRING (   var,
  src 
)
Value:
log4cxx::helpers::Transcoder::decode(src, var)
std::basic_string< logchar > LogString
Definition: logstring.h:60

◆ LOG4CXX_DECODE_CHAR

#define LOG4CXX_DECODE_CHAR (   var,
  src 
)
Value:
log4cxx::helpers::Transcoder::decode(src, var)

◆ LOG4CXX_DECODE_UNICHAR

#define LOG4CXX_DECODE_UNICHAR (   var,
  src 
)
Value:
log4cxx::helpers::Transcoder::decode(src, var)

◆ LOG4CXX_DECODE_WCHAR

#define LOG4CXX_DECODE_WCHAR (   var,
  src 
)
Value:
log4cxx::helpers::Transcoder::decode(src, var)

◆ LOG4CXX_ENCODE_CFSTRING

#define LOG4CXX_ENCODE_CFSTRING (   var,
  src 
)     CFStringRef var = log4cxx::helpers::Transcoder::encode(src)

◆ LOG4CXX_ENCODE_CHAR

#define LOG4CXX_ENCODE_CHAR (   var,
  src 
)
Value:
std::string var; \
log4cxx::helpers::Transcoder::encode(src, var)

◆ LOG4CXX_ENCODE_UNICHAR

#define LOG4CXX_ENCODE_UNICHAR (   var,
  src 
)
Value:
std::basic_string<UniChar> var; \
log4cxx::helpers::Transcoder::encode(src, var)

◆ LOG4CXX_ENCODE_WCHAR

#define LOG4CXX_ENCODE_WCHAR (   var,
  src 
)
Value:
std::wstring var; \
log4cxx::helpers::Transcoder::encode(src, var)