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

long GBaseString::toLong ( const int  pos,
int &  endpos,
const int  base = 10 
) const [inline, inherited]

Returns a long intenger. Implments i18n strtol.

Definition at line 1176 of file GString.h.

References GPBase::ptr.

Referenced by GBaseString::toLong().

{
  long int retval=0;
  if(ptr)
  {
    retval=(*this)->toLong(pos, endpos, base);
  }else
  {
    endpos=(-1);
  }
  return retval;
}


Generated by  Doxygen 1.6.0   Back to index