#include <Local_Name_Space.h>
Public Member Functions | |
| ACE_NS_String (void) | |
| Default "no-op" constructor. | |
| ACE_NS_String (ACE_WCHAR_T *dst, const ACE_WCHAR_T *src, size_t len) | |
| Initialization method. | |
| ACE_NS_String (const ACE_NS_WString &) | |
| Converts an ACE_NS_WString to an ACE_NS_String;. | |
| ~ACE_NS_String (void) | |
| Destructor. | |
| operator ACE_NS_WString () const | |
| Converts an ACE_NS_String to fresh copy of an ACE_NS_WString;. | |
| char * | char_rep (void) const |
| Return the ASCII character representation. | |
| int | strstr (const ACE_NS_String &) const |
| Matches on substrings. | |
| bool | operator== (const ACE_NS_String &) const |
| Compare an ACE_NS_String. | |
| bool | operator!= (const ACE_NS_String &) const |
| Compare an ACE_NS_String. | |
| size_t | len (void) const |
| Returns length of the string. | |
| ACE_WCHAR_T * | fast_rep (void) const |
| Returns the underlying representation. | |
| u_long | hash (void) const |
| Returns a hash value for this string. | |
Private Attributes | |
| size_t | len_ |
| Length of the string. | |
| ACE_WCHAR_T * | rep_ |
| This actually points into shared/persistent memory. | |
| int | delete_rep_ |
In order to work correctly, this class must be able to convert back and forth with <ace_ns_wstrings>.
|
|
Default "no-op" constructor.
|
|
||||||||||||||||
|
Initialization method.
|
|
|
Converts an ACE_NS_WString to an ACE_NS_String;.
|
|
|
Destructor.
|
|
|
Return the ASCII character representation.
|
|
|
Returns the underlying representation.
|
|
|
Returns a hash value for this string.
|
|
|
Returns length of the string.
|
|
|
Converts an ACE_NS_String to fresh copy of an ACE_NS_WString;.
|
|
|
Compare an ACE_NS_String.
|
|
|
Compare an ACE_NS_String.
|
|
|
Matches on substrings.
|
|
|
Should rep_ be deleted when destructed (only used for WString conversions) |
|
|
Length of the string.
|
|
|
This actually points into shared/persistent memory.
|
1.3.9.1