wstring class (UPnP AV)
A version of this page is also available for
4/8/2010
This class provides a case-sensitive string that contains comparison and concatenation operations, iterators, and so on, and uses class allocator-managed memory for copies and assignments.
Note
This string class is provided for use only from the UPnP AV Framework. Its extension or use in other applications is not supported.
Remarks
The following table shows the methods for this class.
Method | Description |
---|---|
Adds characters to the end of the string. |
|
Assigns new character values to the contents of the string. |
|
Returns the largest number of elements that could be stored in the string without increasing the memory allocation of the string. |
|
Erases all elements of the string. |
|
Compares the string with a specified string to determine if the two strings are equal or if one is lexicographically lesser or greater than the other. |
|
Tests to determine if the string contains elements. |
|
Returns the current number of elements in the string. |
|
Sets the capacity of the string to a number at least as great as a specified number. |
|
Specifies a new size for the string, appending or erasing elements if required. |
|
Returns the current number of elements in the string. |
|
Constructs a string that is empty or initialized by specific characters, or that is a copy of all or part of some other string object or C-style null-terminated string. |
The following table shows the operators for this class.
Operator | Description |
---|---|
Converts the contents of the string into a C-style null-terminated string. |
|
Compares two strings for inequality. |
|
Appends the specified characters to the string. |
|
Assigns new character values to the contents of a string. |
|
Compares two strings for equality. |