Append buffer that can be grown dynamically.
More...
#include <ogr_wkb.h>
|
| OGRAppendBuffer () |
| Constructor.
|
|
virtual | ~OGRAppendBuffer () |
| Destructor.
|
|
void * | GetPtrForNewBytes (size_t nItemSize) |
| Return the pointer at which nItemSize bytes can be written, or nullptr in case of error.
|
|
size_t | GetSize () const |
| Return the number of valid bytes in the buffer.
|
|
|
virtual bool | Grow (size_t nItemSize)=0 |
| Extend the capacity of m_pRawBuffer to be at least m_nSize + nItemSize large.
|
|
|
size_t | m_nCapacity = 0 |
| Capacity of the buffer (ie number of bytes allocated).
|
|
size_t | m_nSize = 0 |
| Number of valid bytes in the buffer.
|
|
void * | m_pRawBuffer = nullptr |
| Raw buffer pointer.
|
|
Append buffer that can be grown dynamically.
The documentation for this class was generated from the following files: