std::basic_streambuf::sbumpc

int_type sbumpc(); Reads one character and advances the input sequence by one character. If the input sequence read position is not available, returns uflow(). Otherwise returns Traits::to_int_type(*gptr()). Parameters (none). Return value The value of the character pointed to by the get pointer, or Traits::eof() if the read position is not available. Example See also sgetc reads one character from the input sequence without advancing the sequence (public member function

std::basic_streambuf::pbump

void pbump( int count ); Repositions the put pointer (pptr()) by count characters, where count may be positive or negative. No checks are done for moving the pointer outside the put area [pbase(), epptr()). If the pointer is advanced and then overflow() is called to flush the put area to the associated character sequence, the effect is that extra count characters with undefined values are output. Parameters count - number to add to the put pointer Return value (none). Ex

std::basic_streambuf::pubseekpos

pos_type pubseekpos( pos_type pos, ios_base::openmode which = ios_base::in | ios_base::out ); (1) protected: virtual pos_type seekpos( pos_type pos, ios_base::openmode which = ios_base::in | ios_base::out); (2) Sets the position indicator of the input and/or output sequence to an absolute position. 1) Calls seekpos(pos, which) of the most derived class. 2) The base class version of this function has no effect. The derived classes may

std::basic_streambuf::pbase

char_type* pbase() const; (1) char_type* pptr() const; (2) char_type* epptr() const; (3) Returns pointers defining the put area. 1) Returns the pointer to the beginning of the put area. 2) Returns the pointer to the current character (put pointer) in the put area. 3) Returns the pointer to the end of the put area. Parameters (none). Return value 1) The pointer to the beginning of the put area. 2) The pointer to the current character (put pointer) in the put area. 3) Th

std::basic_streambuf::pubimbue

std::locale pubimbue( const std::locale& loc ); (1) protected: virtual void imbue( const std::locale& loc ); (2) Changes the associated locale. 1) Calls imbue(loc) of the most derived class. 2) The base class version of this function has no effect. The derived classes may override this function in order to be informed about the changes of the locale. The derived class may cache the locale and member facets between calls to imbue(). Parameters loc - locale object to

std::basic_streambuf::pubseekoff

pos_type pubseekoff( off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out ); (1) protected: virtual pos_type seekoff( off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out ); (2) Sets the position indicator of the input and/or output sequence relative to some other position. 1) Calls seekoff(off, dir, which) of the most derived class. 2) The base class vers

std::basic_streambuf::pbackfail

protected: virtual int_type pbackfail( int_type c = Traits::eof() ); This protected virtual function is called by the public functions sungetc() and sputbackc() (which, in turn, are called by basic_istream::unget and basic_istream::putback) when either: 1) There is no putback position in the get area (pbackfail() is called with no arguments). In this situation, the purpose of pbackfail() is to back up the get area by one character, if the associated character sequence allows this (e.g.

std::basic_streambuf::gbump

void gbump( int count ); Skips count characters in the get area. This is done by advancing the get pointer by count characters. No checks are done for underflow. Parameters count - number of characters to skip Return value (none). Example See also pbump advances the next pointer of the output sequence (protected member function)

std::basic_streambuf::eback

char_type* eback() const; (1) char_type* gptr() const; (2) char_type* egptr() const; (3) Returns pointers defining the get area. 1) Returns the pointer to the beginning of the get area. 2) Returns the pointer to the current character (get pointer) in the get area. 3) Returns the pointer to the end of the get area. Parameters (none). Return value 1) The pointer to the beginning of the get area. 2) The pointer to the current character (get pointer) in the get area. 3) Th

std::basic_streambuf::in_avail

std::streamsize in_avail(); Returns the number of characters available in the get area. If a read position is available, effectively returns egptr() - gptr(), the size of the get area. In this case, the number of bytes returned is the number of bytes that can be extracted from the buffer without calling underflow(). If the get area is empty, calls showmanyc() to determine the number of bytes available in the associated character sequence. In this case, the value returned is the number o