Changeset 33675 in vbox
- Timestamp:
- Nov 2, 2010 9:38:52 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67297
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r33621 r33675 525 525 526 526 /** 527 * Attempts to convert the member string into a 32-bit integer.528 *529 * @returns 32-bit unsigned number on success.530 * @returns 0 on failure.531 */532 int toInt32() const533 {534 return RTStrToInt32(m_psz);535 }536 537 /**538 * Attempts to convert the member string into an unsigned 32-bit integer.539 *540 * @returns 32-bit unsigned number on success.541 * @returns 0 on failure.542 */543 int toUInt32() const544 {545 return RTStrToUInt32(m_psz);546 }547 548 /**549 527 * Static immutable empty-string object. May be used for comparison purposes. 550 528 */ -
trunk/include/iprt/cpp/ministring.h
r33615 r33675 649 649 650 650 /** 651 * Attempts to convert the member string into a 32-bit integer. 652 * 653 * @returns 32-bit unsigned number on success. 654 * @returns 0 on failure. 655 */ 656 int toInt32() const 657 { 658 return RTStrToInt32(m_psz); 659 } 660 661 /** 662 * Attempts to convert the member string into an unsigned 32-bit integer. 663 * 664 * @returns 32-bit unsigned number on success. 665 * @returns 0 on failure. 666 */ 667 int toUInt32() const 668 { 669 return RTStrToUInt32(m_psz); 670 } 671 672 /** 651 673 * Attempts to convert the member string into an 64-bit integer. 652 674 *
Note:
See TracChangeset
for help on using the changeset viewer.