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

PString & PString::operator= ( int  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.

Parameters:
n  Integer to convert

Definition at line 1518 of file contain.cxx.

References MakeMinimumSize().

{
  SetMinSize(sizeof(int)*3+1);
  p_signed2string<int>(n, 10, theArray);
  MakeMinimumSize();
  return *this;
}


Generated by  Doxygen 1.6.0   Back to index