SBufReservationRequirements Class Reference

Named SBuf::reserve() parameters. Defaults ask for and restrict nothing. More...

#include <SBuf.h>

Collaboration diagram for SBufReservationRequirements:

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

Definition at line 687 of file SBuf.h.

Member Typedef Documentation

Member Data Documentation

bool SBufReservationRequirements::allowShared = true

Definition at line 700 of file SBuf.h.

Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and testSBuf::testReserve().

size_type SBufReservationRequirements::idealSpace = 0

Definition at line 697 of file SBuf.h.

Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and testSBuf::testReserve().

size_type SBufReservationRequirements::maxCapacity = SBuf::maxSize

Definition at line 699 of file SBuf.h.

Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and testSBuf::testReserve().

size_type SBufReservationRequirements::minSpace = 0

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors