Changeset 33605 in vbox for trunk/include
- Timestamp:
- Oct 29, 2010 1:13:58 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67216
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/ministring.h
r33563 r33605 29 29 #include <iprt/mem.h> 30 30 #include <iprt/string.h> 31 #include <iprt/stdarg.h> 31 32 32 33 #include <new> … … 211 212 212 213 /** 214 * Assigns the output of the string format operation (RTStrPrintf). 215 * 216 * @param pszFormat The format string. 217 * @param ... Ellipsis containing the arguments specified by 218 * the format string. 219 * 220 * @throws std::bad_alloc On allocation error. The object is left unchanged. 221 * 222 * @returns Reference to the object. 223 */ 224 MiniString &printf(const char *pszFormat, ...); 225 226 /** 227 * Assigns the output of the string format operation (RTStrPrintfV). 228 * 229 * @param pszFormat The format string. 230 * @param va Argument vector containing the arguments 231 * specified by the format string. 232 * 233 * @throws std::bad_alloc On allocation error. The object is left unchanged. 234 * 235 * @returns Reference to the object. 236 */ 237 MiniString &printfV(const char *pszFormat, va_list va); 238 239 /** 213 240 * Appends the string "that" to "this". 214 241 * … … 725 752 } 726 753 727 char *m_psz; /**< The string buffer. */ 754 static DECLCALLBACK(size_t) printfOutputCallback(void *pvArg, const char *pachChars, size_t cbChars); 755 756 char *m_psz; /**< The string buffer. */ 728 757 size_t m_cch; /**< strlen(m_psz) - i.e. no terminator included. */ 729 758 size_t m_cbAllocated; /**< Size of buffer that m_psz points to; at least m_cbLength + 1. */
Note:
See TracChangeset
for help on using the changeset viewer.