#include "ace/ACE.h"#include "ace/Malloc_Base.h"#include "ace/String_Base.h"#include "ace/Auto_Ptr.h"#include "ace/OS_NS_string.h"#include <algorithm>

Go to the source code of this file.
Functions | |
| template<class ACE_CHAR_T > | |
| ACE_String_Base< ACE_CHAR_T > | operator+ (const ACE_String_Base< ACE_CHAR_T > &s, const ACE_String_Base< ACE_CHAR_T > &t) |
| template<class ACE_CHAR_T > | |
| ACE_String_Base< ACE_CHAR_T > | operator+ (const ACE_CHAR_T *s, const ACE_String_Base< ACE_CHAR_T > &t) |
| template<class ACE_CHAR_T > | |
| ACE_String_Base< ACE_CHAR_T > | operator+ (const ACE_String_Base< ACE_CHAR_T > &s, const ACE_CHAR_T *t) |
| template<class ACE_CHAR_T > | |
| ACE_String_Base< ACE_CHAR_T > | operator+ (const ACE_String_Base< ACE_CHAR_T > &t, const ACE_CHAR_T c) |
| template<class ACE_CHAR_T > | |
| ACE_String_Base< ACE_CHAR_T > | operator+ (const ACE_CHAR_T c, const ACE_String_Base< ACE_CHAR_T > &t) |
| ACE_String_Base<ACE_CHAR_T> operator+ | ( | const ACE_String_Base< ACE_CHAR_T > & | s, | |
| const ACE_String_Base< ACE_CHAR_T > & | t | |||
| ) |
Definition at line 580 of file String_Base.cpp.
{
ACE_String_Base<ACE_CHAR_T> temp (s.length () + t.length ());
temp += s;
temp += t;
return temp;
}
| ACE_String_Base<ACE_CHAR_T> operator+ | ( | const ACE_CHAR_T | c, | |
| const ACE_String_Base< ACE_CHAR_T > & | t | |||
| ) |
Definition at line 625 of file String_Base.cpp.
{
ACE_String_Base<ACE_CHAR_T> temp (t.length () + 1);
temp += c;
temp += t;
return temp;
}
| ACE_String_Base<ACE_CHAR_T> operator+ | ( | const ACE_String_Base< ACE_CHAR_T > & | t, | |
| const ACE_CHAR_T | c | |||
| ) |
Definition at line 615 of file String_Base.cpp.
{
ACE_String_Base<ACE_CHAR_T> temp (t.length () + 1);
temp += t;
temp += c;
return temp;
}
| ACE_String_Base<ACE_CHAR_T> operator+ | ( | const ACE_String_Base< ACE_CHAR_T > & | s, | |
| const ACE_CHAR_T * | t | |||
| ) |
Definition at line 602 of file String_Base.cpp.
{
size_t tlen = 0;
if (t != 0)
tlen = ACE_OS::strlen (t);
ACE_String_Base<ACE_CHAR_T> temp (s.length () + tlen);
temp += s;
if (tlen > 0)
temp.append (t, tlen);
return temp;
}
| ACE_String_Base<ACE_CHAR_T> operator+ | ( | const ACE_CHAR_T * | s, | |
| const ACE_String_Base< ACE_CHAR_T > & | t | |||
| ) |
Definition at line 589 of file String_Base.cpp.
{
size_t slen = 0;
if (s != 0)
slen = ACE_OS::strlen (s);
ACE_String_Base<ACE_CHAR_T> temp (slen + t.length ());
if (slen > 0)
temp.append (s, slen);
temp += t;
return temp;
}
1.7.0