Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
DMemBuffer Template
Classes | Legend | Members | Methods | DMemBuffer Constructor | Send Feedback

Template class for resizable buffer of allocated items.

Class Hierarchy
template <class Type>
class DMemBuffer;
File

dstring.h

Remarks

The items must be simple types such as char or wchar_t that can be copied with memmove. For internal use by the other classes.

Group
Methods
Method 
Description 
Allocate a specified number of the items 
Attach an existing buffer, optionally taking ownership 
Detach the buffer, but do not delete it, and return a pointer to the start of the buffer 
This is the overview for the DMemBuffer constructor overload. 
Get start of buffer 
Get buffer size 
Try to ensure that the buffer is at least of a specified size, extending the buffer if necessary, and return false if the buffer cannot be allocated 
Legend
 
Method 
Links
You are here: C++ Support Classes > dtSearch Namespace > Classes > DMemBuffer Template
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.