Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructs a buffer object.
CStrBufT( 
   StringType& str, 
   int nMinLength, 
   DWORD dwFlags = AUTO_LENGTH  
) throw(...); 
explicit CStrBufT( 
   StringType& str  
) throw(...);
Parameters
- str 
 The string object associated with the buffer. Typically, the developer will use the predefined typedefs of CStrBuf (TCHAR variant), CStrBufA (char variant) and CStrBufW (wchar_t variant).
- nMinLength 
 The minimum length of the character buffer.
- dwFlags 
 Determines if the string length is automatically determined. Can be one of the following:- **AUTO_LENGTH **String length is automatically determined when CSimpleStringT::Release is called. The string must be null-terminated. Default value. 
- **SET_LENGTH **String length is set when CSimpleStringT::GetBuffer is called. 
 
Remarks
Creates a string buffer for the associated string object. During construction, CSimpleStringT::GetBuffer or CSimpleStringT::GetBufferSetLength is called.
Note that the copy constructor is private.
Requirements
Header: atlsimpstr.h