nsEmbedString

« XPCOM API Reference

Summary

Constructors for nsEmbedString.

  nsEmbedString();


 explicit  nsEmbedString(
   const self_type& aString
 );

Parameters

aString
[in] A nsEmbedString to copy into this string.
  nsEmbedString(
   const abstract_string_type& aAbstractString
 );

Parameters

aAbstractString
[in] A nsAString to copy into this string.
 explicit  nsEmbedString(
   const abstract_string_type& aAbstractString
 );

Parameters

aAbstractString
[in] A nsAString to copy into this string.
 explicit  nsEmbedString(
   const char_type* aData,
   size_type aDataLength = PR_UINT32_MAX
 );

Parameters

aData
[in] A raw character array to copy into this string.
aDataLength
[in] The length of aData, measured in storage units. If equal to PR_UINT32_MAX, then aData is assumed to be null-terminated. Otherwise, aData need not be null terminated.

Remarks

The default constructor sets the string's internal buffer to point to a static empty (zero-length) buffer.

Document Tags and Contributors

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