Changeset 17955 in vbox
- Timestamp:
- Mar 16, 2009 4:53:18 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 44536
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r17745 r17955 591 591 592 592 /** 593 * Attempts to convert the member string into an 32-bit integer. 594 * 595 * @returns 32-bit unsigned number on success. 596 * @returns 0 on failure. 597 */ 598 int toInt32() const 599 { 600 return RTStrToInt32(str); 601 } 602 603 /** 604 * Attempts to convert the member string into an unsigned 32-bit integer. 605 * 606 * @returns 32-bit unsigned number on success. 607 * @returns 0 on failure. 608 */ 609 int toUInt32() const 610 { 611 return RTStrToUInt32(str); 612 } 613 614 /** 615 * Attempts to convert the member string into an 64-bit integer. 616 * 617 * @returns 64-bit unsigned number on success. 618 * @returns 0 on failure. 619 */ 620 int toInt64() const 621 { 622 return RTStrToInt64(str); 623 } 624 625 /** 626 * Attempts to convert the member string into an unsigned 64-bit integer. 627 * 628 * @returns 64-bit unsigned number on success. 629 * @returns 0 on failure. 630 */ 631 int toUInt64() const 632 { 633 return RTStrToUInt64(str); 634 } 635 636 /** 593 637 * Attempts to convert the member string into an unsigned 64-bit integer. 594 638 * @return IPRT error code.
Note:
See TracChangeset
for help on using the changeset viewer.