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

PString & PString::operator= ( unsigned long  n  ) 

Assign a string from the integer type. This will create a simple base 10, shortest length conversion of the integer (with sign character if appropriate) into the string.

n  Integer to convert

Definition at line 1545 of file contain.cxx.

References MakeMinimumSize().

  SetMinSize(sizeof(unsigned long)*3+1);
  p_unsigned2string<unsigned long>(n, 10, theArray);
  return *this;

Generated by  Doxygen 1.6.0   Back to index