SString.cpp File Reference

#include "ace/Malloc_T.h"
#include "ace/OS_Memory.h"
#include "ace/SString.h"
#include "ace/Auto_Ptr.h"
#include "ace/OS_NS_string.h"
#include "ace/streams.h"

Include dependency graph for SString.cpp:

Include dependency graph

Go to the source code of this file.

Functions

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_OSTREAM_TYPE & 
operator<< (ACE_OSTREAM_TYPE &os, const ACE_CString &cs)
ACE_OSTREAM_TYPE & operator<< (ACE_OSTREAM_TYPE &os, const ACE_WString &ws)
ACE_OSTREAM_TYPE & operator<< (ACE_OSTREAM_TYPE &os, const ACE_SString &ss)


Function Documentation

ACE_OSTREAM_TYPE& operator<< ACE_OSTREAM_TYPE &  os,
const ACE_SString ss
 

Definition at line 54 of file SString.cpp.

References ACE_SString::fast_rep().

00055 {
00056   if (ss.fast_rep () != 0)
00057     os << ss.fast_rep ();
00058   return os;
00059 }

ACE_OSTREAM_TYPE& operator<< ACE_OSTREAM_TYPE &  os,
const ACE_WString ws
 

Definition at line 40 of file SString.cpp.

00041 {
00042   // @@ Need to figure out how to print the "wide" string
00043   //    on platforms that don't support "wide" strings.
00044 #if defined (ACE_HAS_WCHAR)
00045   os << ACE_Wide_To_Ascii (ws.fast_rep ()).char_rep ();
00046 #else
00047   ACE_UNUSED_ARG (ws);
00048   os << "(*non-printable string*)";
00049 #endif
00050   return os;
00051 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_OSTREAM_TYPE& operator<< ACE_OSTREAM_TYPE &  os,
const ACE_CString cs
 

Definition at line 32 of file SString.cpp.

00033 {
00034   if (cs.fast_rep () != 0)
00035     os << cs.fast_rep ();
00036   return os;
00037 }


Generated on Thu Nov 9 11:09:54 2006 for ACE by doxygen 1.3.6