Changeset 33055 in vbox for trunk/include/iprt/cpp/ministring.h
- Timestamp:
- Oct 12, 2010 12:08:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/ministring.h
r31539 r33055 280 280 281 281 /** 282 * Converts the member string to upper case. 283 * 284 * @returns Reference to the object. 285 */ 286 MiniString &upper() 287 { 288 if (length()) 289 ::RTStrToUpper(m_psz); 290 return *this; 291 } 292 293 /** 294 * Converts the member string to lower case. 295 * 296 * @returns Reference to the object. 297 */ 298 MiniString &lower() 299 { 300 if (length()) 301 ::RTStrToLower(m_psz); 302 return *this; 303 } 304 305 /** 282 306 * Index operator. 283 307 * … … 487 511 */ 488 512 bool contains(const iprt::MiniString &that, CaseSensitivity cs = CaseSensitive) const; 513 514 /** 515 * Returns a upper case copy of this string. 516 * 517 * @returns the upper case string copy. 518 */ 519 MiniString toUpper() const 520 { 521 return MiniString(*this).upper(); 522 } 523 524 /** 525 * Returns a lower case copy of this string. 526 * 527 * @returns the lower case string copy. 528 */ 529 MiniString toLower() const 530 { 531 return MiniString(*this).lower(); 532 } 489 533 490 534 /**
Note:
See TracChangeset
for help on using the changeset viewer.