Named SBuf::reserve() parameters. Defaults ask for and restrict nothing. More...
#include <SBuf.h>
Public Types | |
typedef SBuf::size_type | size_type |
Public Attributes | |
size_type | idealSpace = 0 |
if allocating anyway, provide this much space More... | |
size_type | minSpace = 0 |
allocate [at least this much] if spaceSize() is smaller More... | |
size_type | maxCapacity = SBuf::maxSize |
do not allocate more than this More... | |
bool | allowShared = true |
whether sharing our storage with others is OK More... | |
Detailed Description
Member Typedef Documentation
◆ size_type
Member Data Documentation
◆ allowShared
bool SBufReservationRequirements::allowShared = true |
Definition at line 709 of file SBuf.h.
Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
◆ idealSpace
size_type SBufReservationRequirements::idealSpace = 0 |
Definition at line 706 of file SBuf.h.
Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
◆ maxCapacity
size_type SBufReservationRequirements::maxCapacity = SBuf::maxSize |
Definition at line 708 of file SBuf.h.
Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
◆ minSpace
size_type SBufReservationRequirements::minSpace = 0 |
Definition at line 707 of file SBuf.h.
Referenced by JoinContainerIntoSBuf(), Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
The documentation for this class was generated from the following file:
- src/sbuf/SBuf.h