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

PString::PString ( const PWORDArray &  ustr  ) 

Create a string from the UCS-2 array. A new memory block is allocated of a size equal to len# plus one which is sufficient to take the string and a terminating '' character.

Note that this function will allow a string with embedded '' characters to be created, but most of the functions here will be unable to access characters beyond the first ''. Furthermore, if the MakeMinimumSize()# function is called, all data beyond that first #''# character will be lost.

ustr  UCS-2 null terminated string.

Definition at line 1280 of file contain.cxx.

  InternalFromUCS2(ustr, ustr.GetSize());

Generated by  Doxygen 1.6.0   Back to index