Changeset 34242 in vbox
- Timestamp:
- Nov 22, 2010 2:27:48 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67990
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r33675 r34242 210 210 bool isEmpty() const { return m_bstr == NULL || *m_bstr == 0; } 211 211 212 /** 213 * Returns true if the member string has a length of one or more. 214 * 215 * @returns true if not empty, false if empty (NULL or ""). 216 */ 217 bool isNotEmpty() const { return m_bstr != NULL && *m_bstr != 0; } 218 212 219 size_t length() const { return isEmpty() ? 0 : ::RTUtf16Len((PRTUTF16)m_bstr); } 213 220
Note:
See TracChangeset
for help on using the changeset viewer.