#include "ace/Global_Macros.h"
#include "ace/String_Base_Const.h"
#include "ace/String_Base.inl"
#include "ace/String_Base.cpp"
Include dependency graph for String_Base.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | ACE_String_Base |
This class provides a wrapper facade for C strings. More... | |
Functions | |
template<class CHAR> ACE_String_Base< CHAR > | operator+ (const ACE_String_Base< CHAR > &, const ACE_String_Base< CHAR > &) |
template<class CHAR> ACE_String_Base< CHAR > | operator+ (const ACE_String_Base< CHAR > &, const CHAR *) |
template<class CHAR> ACE_String_Base< CHAR > | operator+ (const CHAR *, const ACE_String_Base< CHAR > &) |
template<class CHAR> ACE_String_Base< CHAR > | operator+ (const ACE_String_Base< CHAR > &t, const CHAR c) |
template<class CHAR> ACE_String_Base< CHAR > | operator+ (const CHAR c, const ACE_String_Base< CHAR > &t) |
template<class CHAR> bool | operator== (const CHAR *s, const ACE_String_Base< CHAR > &t) |
template<class CHAR> bool | operator!= (const CHAR *s, const ACE_String_Base< CHAR > &t) |
Nanbor Wang <nanbor@cs.wustl.edu>
Definition in file String_Base.h.
|
Definition at line 153 of file String_Base.inl.
00155 {
00156 return !(t == s);
00157 }
|
|
Definition at line 525 of file String_Base.cpp. References ACE_String_Base< CHAR >::length().
00527 { 00528 ACE_String_Base<CHAR> temp (t.length () + 1); 00529 temp += c; 00530 temp += t; 00531 return temp; 00532 } |
|
Definition at line 515 of file String_Base.cpp. References ACE_String_Base< CHAR >::length().
00517 { 00518 ACE_String_Base<CHAR> temp (t.length () + 1); 00519 temp += t; 00520 temp += c; 00521 return temp; 00522 } |
|
Definition at line 489 of file String_Base.cpp. References ACE_String_Base< CHAR >::append(), ACE_String_Base< CHAR >::length(), and ACE_OS::strlen().
00490 { 00491 size_t slen = 0; 00492 if (s != 0) 00493 slen = ACE_OS::strlen (s); 00494 ACE_String_Base<CHAR> temp (slen + t.length ()); 00495 if (slen > 0) 00496 temp.append (s, slen); 00497 temp += t; 00498 return temp; 00499 } |
|
Definition at line 502 of file String_Base.cpp. References ACE_String_Base< CHAR >::append(), ACE_String_Base< CHAR >::length(), and ACE_OS::strlen().
00503 { 00504 size_t tlen = 0; 00505 if (t != 0) 00506 tlen = ACE_OS::strlen (t); 00507 ACE_String_Base<CHAR> temp (s.length () + tlen); 00508 temp += s; 00509 if (tlen > 0) 00510 temp.append (t, tlen); 00511 return temp; 00512 } |
|
Definition at line 480 of file String_Base.cpp. References ACE_String_Base< CHAR >::length().
00481 { 00482 ACE_String_Base<CHAR> temp (s.length () + t.length ()); 00483 temp += s; 00484 temp += t; 00485 return temp; 00486 } |
|
Definition at line 146 of file String_Base.inl.
00148 {
00149 return t == s;
00150 }
|