Changeset 57944 in vbox for trunk/include/iprt/cpp
- Timestamp:
- Sep 29, 2015 3:07:09 PM (9 years ago)
- Location:
- trunk/include/iprt/cpp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/list.h
r56291 r57944 208 208 * This preallocates @a cCapacity elements within the list. 209 209 * 210 * @param cCapacit iyThe initial capacity the list has.210 * @param cCapacity The initial capacity the list has. 211 211 * @throws std::bad_alloc 212 212 */ … … 924 924 * This preallocates @a cCapacity elements within the list. 925 925 * 926 * @param cCapacit iyThe initial capacity the list has.926 * @param cCapacity The initial capacity the list has. 927 927 * @throws std::bad_alloc 928 928 */ … … 955 955 * This preallocates @a cCapacity elements within the list. 956 956 * 957 * @param cCapacit iyThe initial capacity the list has.957 * @param cCapacity The initial capacity the list has. 958 958 * @throws std::bad_alloc 959 959 */ … … 983 983 * This preallocates @a cCapacity elements within the list. 984 984 * 985 * @param cCapacit iyThe initial capacity the list has.985 * @param cCapacity The initial capacity the list has. 986 986 * @throws std::bad_alloc 987 987 */ -
trunk/include/iprt/cpp/ministring.h
r57005 r57944 428 428 * Shortcut to append(), char variant. 429 429 * 430 * @param pszThatThe character to append.430 * @param ch The character to append. 431 431 * 432 432 * @returns Reference to the object. 433 433 */ 434 RTCString &operator+=(char c )435 { 436 return append(c );434 RTCString &operator+=(char ch) 435 { 436 return append(ch); 437 437 } 438 438 … … 603 603 * Compares the member string to another RTCString. 604 604 * 605 * @param pcszThatThe string to compare with.605 * @param rThat The string to compare with. 606 606 * @param cs Whether comparison should be case-sensitive. 607 607 * @returns 0 if equal, negative if this is smaller than @a pcsz, positive 608 608 * if larger. 609 609 */ 610 int compare(const RTCString & that, CaseSensitivity cs = CaseSensitive) const610 int compare(const RTCString &rThat, CaseSensitivity cs = CaseSensitive) const 611 611 { 612 612 if (cs == CaseSensitive) 613 return ::RTStrCmp(m_psz, that.m_psz);614 return ::RTStrICmp(m_psz, that.m_psz);613 return ::RTStrCmp(m_psz, rThat.m_psz); 614 return ::RTStrICmp(m_psz, rThat.m_psz); 615 615 } 616 616 … … 619 619 * 620 620 * @returns true if equal, false if not. 621 * @param that The string to compare with.622 */ 623 bool equals(const RTCString & that) const624 { 625 return that.length() == length()626 && memcmp( that.m_psz, m_psz, length()) == 0;621 * @param rThat The string to compare with. 622 */ 623 bool equals(const RTCString &rThat) const 624 { 625 return rThat.length() == length() 626 && memcmp(rThat.m_psz, m_psz, length()) == 0; 627 627 } 628 628 -
trunk/include/iprt/cpp/mtlist.h
r56291 r57944 101 101 * This preallocates @a cCapacity elements within the list. 102 102 * 103 * @param cCapacit iyThe initial capacity the list has.103 * @param cCapacity The initial capacity the list has. 104 104 * @throws std::bad_alloc 105 105 */ … … 129 129 * This preallocates @a cCapacity elements within the list. 130 130 * 131 * @param cCapacit iyThe initial capacity the list has.131 * @param cCapacity The initial capacity the list has. 132 132 * @throws std::bad_alloc 133 133 */ … … 157 157 * This preallocates @a cCapacity elements within the list. 158 158 * 159 * @param cCapacit iyThe initial capacity the list has.159 * @param cCapacity The initial capacity the list has. 160 160 * @throws std::bad_alloc 161 161 */ -
trunk/include/iprt/cpp/xml.h
r56291 r57944 601 601 * simple path to any decendant. 602 602 * @param pcszAttribute The attribute name. 603 * @param pcszPathNamespace The namespace to match @ pcszPath with, NULL603 * @param pcszPathNamespace The namespace to match @a pcszPath with, NULL 604 604 * (default) match any namespace. When using a 605 605 * path, this matches all elements along the way. 606 * @param pcszAttrib Namespace The namespace prefix to apply to the attribute,607 * NULL (default) match any namespace.606 * @param pcszAttributeNamespace The namespace prefix to apply to the 607 * attribute, NULL (default) match any namespace. 608 608 * @see findChildElementP and findAttributeValue 609 609 */
Note:
See TracChangeset
for help on using the changeset viewer.