18 #ifndef _LOG4CXX_MESSAGE_BUFFER_H 19 #define _LOG4CXX_MESSAGE_BUFFER_H 21 #include <log4cxx/log4cxx.h> 26 #pragma warning ( push ) 27 #pragma warning ( disable: 4251 4275 ) 39 typedef std::ios_base& (*ios_base_manip)(std::ios_base&);
156 operator std::basic_ostream<char>& ();
163 const std::basic_string<char>& str(std::basic_ostream<char>& os);
176 bool hasStream()
const;
191 std::basic_string<char> buf;
195 std::basic_ostringstream<char>* stream;
201 return ((std::basic_ostream<char>&) os) << val;
204 #if LOG4CXX_UNICHAR_API || LOG4CXX_CFSTRING_API || LOG4CXX_LOGCHAR_IS_UNICHAR 251 #if LOG4CXX_CFSTRING_API 333 operator uostream& ();
340 const std::basic_string<UniChar>& str(uostream& os);
353 bool hasStream()
const;
368 std::basic_string<UniChar> buf;
372 std::basic_ostringstream<UniChar>* stream;
382 #if LOG4CXX_WCHAR_T_API 438 std::basic_ostream<wchar_t>&
operator<<(
bool val);
445 std::basic_ostream<wchar_t>&
operator<<(
short val);
451 std::basic_ostream<wchar_t>&
operator<<(
int val);
457 std::basic_ostream<wchar_t>&
operator<<(
unsigned int val);
463 std::basic_ostream<wchar_t>&
operator<<(
long val);
469 std::basic_ostream<wchar_t>&
operator<<(
unsigned long val);
475 std::basic_ostream<wchar_t>&
operator<<(
float val);
481 std::basic_ostream<wchar_t>&
operator<<(
double val);
487 std::basic_ostream<wchar_t>&
operator<<(
long double val);
493 std::basic_ostream<wchar_t>&
operator<<(
void* val);
499 operator std::basic_ostream<wchar_t>& ();
506 const std::basic_string<wchar_t>& str(std::basic_ostream<wchar_t>& os);
519 bool hasStream()
const;
534 std::basic_string<wchar_t> buf;
538 std::basic_ostringstream<wchar_t>* stream;
544 return ((std::basic_ostream<wchar_t>&) os) << val;
567 operator std::ostream& ();
613 const std::string& str(std::ostream& os);
644 #if LOG4CXX_UNICHAR_API || LOG4CXX_CFSTRING_API 675 #if LOG4CXX_CFSTRING_API 767 const std::wstring& str(std::basic_ostream<wchar_t>& os);
769 #if LOG4CXX_UNICHAR_API || LOG4CXX_CFSTRING_API 791 bool hasStream()
const;
812 #if LOG4CXX_UNICHAR_API || LOG4CXX_CFSTRING_API 823 return ((std::ostream&) os) << val;
826 #if LOG4CXX_LOGCHAR_IS_UTF8 830 #if LOG4CXX_LOGCHAR_IS_WCHAR 834 #if LOG4CXX_LOGCHAR_IS_UNICHAR 846 #if defined(_MSC_VER) 847 #pragma warning (pop) unsigned short UniChar
Definition: logstring.h:44
const struct __CFString * CFStringRef
Definition: logstring.h:36
std::basic_ostream< char > & operator<<(CharMessageBuffer &os, const V &val)
Definition: messagebuffer.h:199
void MessageBufferUseStaticStream()
This class is designed to support insertion operations in the message argument to the LOG4CXX_INFO an...
Definition: messagebuffer.h:388
This class is designed to support insertion operations in the message argument to the LOG4CXX_INFO an...
Definition: messagebuffer.h:210
std::ios_base &(* ios_base_manip)(std::ios_base &)
Definition: messagebuffer.h:39
std::basic_ostream< UniChar > uostream
Definition: messagebuffer.h:222
This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...
Definition: messagebuffer.h:552
This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...
Definition: messagebuffer.h:46
Definition: appender.h:32