Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

SString.cpp File Reference

#include "ace_pch.h"
#include "ace/Malloc.h"
#include "ace/SString.h"
#include "ace/Auto_Ptr.h"
#include "ace/streams.h"
#include "ace/SString.i"

Include dependency graph for SString.cpp:

Include dependency graph

Go to the source code of this file.

Functions

const char * get_rcsid_ace_SString (const char *)
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)

Variables

const char * rcsid_ace_SString = get_rcsid_ace_SString ( rcsid_ace_SString )


Function Documentation

const char* get_rcsid_ace_SString const char *    [inline, static]
 

Definition at line 19 of file SString.cpp.

00019 :55:30 brunsch Exp")

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

Definition at line 251 of file SString.cpp.

References ACE_SString::fast_rep.

00252 {
00253   if (ss.fast_rep () != 0)
00254     os << ss.fast_rep ();
00255   return os;
00256 }

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

Definition at line 237 of file SString.cpp.

References ACE_String_Base< ACE_WSTRING_TYPE >::fast_rep.

00238 {
00239   // @@ Need to figure out how to print the "wide" string
00240   //    on platforms that don't support "wide" strings.
00241 #if defined (ACE_HAS_WCHAR)
00242   os << ACE_Wide_To_Ascii (ws.fast_rep ()).char_rep ();
00243 #else
00244   ACE_UNUSED_ARG (ws);
00245   os << "(*non-printable string*)";
00246 #endif
00247   return os;
00248 }

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

Definition at line 229 of file SString.cpp.

References ACE_String_Base< char >::fast_rep.

00230 {
00231   if (cs.fast_rep () != 0)
00232     os << cs.fast_rep ();
00233   return os;
00234 }


Variable Documentation

const char* rcsid_ace_SString = get_rcsid_ace_SString ( rcsid_ace_SString ) [static]
 

Definition at line 19 of file SString.cpp.


Generated on Mon Jun 16 12:28:20 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002