nsEmbedString
From MDC
Contents |
[edit] Summary
The nsEmbedString concrete class provides a way to construct a nsAString object that allocates null-terminated storage.
#include "nsEmbedString.h"
class nsEmbedString : public nsAString { ... };
[edit] Typedefs
- self_type [nsEmbedString]
- An alias for the type of this class.
- abstract_string_type [nsAString]
- An alias for the abstract string type this class specializes.
[edit] Methods
-
nsEmbedString - Constructors for nsEmbedString.
-
get - The get function returns a const pointer to the string's null-terminated, internal buffer.
[edit] Operators
-
operator= - This operator is a shortcut for the inherited
nsAString::Assignfamily of functions.
[edit] Remarks
The methods defined on nsEmbedString are implemented as inline wrappers around the XPCOM string functions, prefixed with NS_String. See, for example, NS_StringContainerInit.