nsEmbedCString

Ā« XPCOM API Reference

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 { ... };

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.

Methods

nsEmbedCString
Constructors for nsEmbedCString.
get
The get function returns a const pointer to the string's null-terminated, internal buffer.

Operators

operator=
This operator is a shortcut for the inherited nsACString::Assign family of functions.

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.

See Also

NS_CStringContainerInit, nsACString

Document Tags and Contributors

Contributors to this page: Pmash
Last updated by: Pmash,