nsEmbedCString
From MDC
Contents |
[edit] Summary
The nsEmbedCString concrete class provides a way to construct a nsACString object that allocates null-terminated storage.
#include "nsEmbedString.h"
class nsEmbedCString : public nsACString { ... };
[edit] Typedefs
- self_type [nsEmbedCString]
- An alias for the type of this class.
- abstract_string_type [nsACString]
- An alias for the abstract string type this class specializes.
[edit] Methods
nsEmbedCString- Constructors for nsEmbedCString.
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
nsACString::Assignfamily of functions.
[edit] Remarks
The methods defined on nsEmbedCString are implemented as inline wrappers around the XPCOM string functions, prefixed with NS_CString. See, for example, NS_CStringContainerInit.