Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Glib::ustring::ustring ( const ustring src,
ustring::size_type  i,
ustring::size_type  n = npos 
)

Construct a ustring as a copy of a substring.

Parameters:
src Source ustring.
i Index of first character to copy from.
n Number of characters to copy (defaults to copying the remainder).

Definition at line 294 of file ustring.cc.

References string_.

:
  string_ ()
{
  const Utf8SubstrBounds bounds (src.string_, i, n);
  string_.assign(src.string_, bounds.i, bounds.n);
}


Generated by  Doxygen 1.6.0   Back to index