Changeset 2487 for trunk/gsdl/lib
- Timestamp:
- 2001-06-01T14:51:29+12:00 (23 years ago)
- Location:
- trunk/gsdl/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/text_t.cpp
r1860 r2487 28 28 /* 29 29 $Log$ 30 Revision 1.21 2001/06/01 02:51:28 sjboddie 31 Changes to get phind working under windows 32 30 33 Revision 1.20 2001/01/25 18:26:44 cs025 31 34 Included CORBA branch for first time … … 262 265 } 263 266 264 267 unsigned long text_t::getulong () const 268 { 269 unsigned long i = 0; 270 271 const_iterator here = text.begin(); 272 const_iterator end = text.end(); 273 274 while ((here != end) && (*here >= '0') && (*here <= '9')) 275 { 276 i = 10*i + (*here - '0'); 277 here++; 278 } 279 280 return i; 281 } 265 282 266 283 void text_t::appendcarr (char *s, size_type len) -
trunk/gsdl/lib/text_t.h
r2423 r2487 147 147 int getint () const; 148 148 149 // same as getint but returns an unsigned long 150 unsigned long getulong () const; 151 149 152 // support for arrays of chars 150 153 void appendcarr (char *s, size_type len);
Note:
See TracChangeset
for help on using the changeset viewer.