f78 Areas of a streambuf

Contents|Index|Previous|Next

Areas of a streambuf

streambuf buffer management is fairly sophisticated (or complicated).

The standard protocol has the following areas.

The following methods are used to manipulate these areas. These are all protected methods, intended to be used by virtual function in classes derived from streambuf. They are also all ANSI/ISO-standard, and the ugly names are traditional.

Note:
If a pointer points to the ‘end’ of an area, it means that it points to the character after the area.

char* streambuf::pbase ()const 
Method 
char* streambuf::epptr ()const 
Method 
char* streambuf::pptr ()const 
Method 
void streambuf::pbump (int N) 
Method 
void streambuf::setp (char* P, char* E) 
Method 
char* streambuf::eback ()const 
Method 
char* streambuf::egptr ()const 
Method 
char* streambuf::gptr ()const 
Method 
void streambuf:gbump (int N) 
Method 
void streambuf::setg (char* B, char* P, char* E) 
Method 
0