Reference
Constructors
| Constructs an object of type basic_streambuf. | 
Typedefs
| Associates a type name with the Elem template parameter. | |
| Associates a type name within basic_streambuf scope with the Elem template parameter. | |
| Associates a type name within basic_streambuf scope with the Elem template parameter. | |
| Associates a type name within basic_streambuf scope with the Elem template parameter. | |
| Associates a type name with the Tr template parameter. | 
Member Functions
| A protected function that returns a pointer to the beginning of the input buffer. | |
| A protected function that returns a pointer just past the end of the input buffer. | |
| A protected function that returns a pointer just past the end of the output buffer. | |
| A protected function that adds _Count to the next pointer for the input buffer. | |
| Gets the basic_streambuf object's locale. | |
| A protected function that returns a pointer to the next element of the input buffer. | |
| A protected, virtual function called by pubimbue. | |
| Returns the number of elements that are ready to be read from the buffer. | |
| A protected virtual function that can be called when a new character is inserted into a full buffer. | |
| A protected virtual member function that tries to put back an element into the input stream, then make it the current element (pointed to by the next pointer). | |
| A protected function that returns a pointer to the beginning of the output buffer. | |
| A protected function that adds count to the next pointer for the output buffer. | |
| A protected function that returns a pointer to the next element of the output buffer. | |
| Sets the basic_streambuf object's locale. | |
| Calls seekoff, a protected virtual function that is overridden in a derived class. | |
| Calls seekpos, a protected virtual function that is overridden in a derived class and resets the current pointer position. | |
| Calls setbuf, a protected virtual function that is overridden in a derived class. | |
| Calls sync, a protected virtual function that is overridden in a derived class and updates the external stream associated with this buffer. | |
| Reads and returns the current element, moving the stream pointer. | |
| The protected virtual member function tries to alter the current positions for the controlled streams. | |
| The protected virtual member function tries to alter the current positions for the controlled streams. | |
| The protected virtual member function performs an operation particular to each derived stream buffer. | |
| A protected function that stores _Gbeg in the beginning pointer, _Gnext in the next pointer, and _Gend in the end pointer for the input buffer. | |
| A protected function that stores _Pbeg in the beginning pointer and _Pend in the end pointer for the output buffer. | |
| Returns current element without changing position in the stream. | |
| Returns the number of elements read. | |
| Protected virtual member function that returns a count of the number of characters that can be extracted from the input stream and ensure that the program will not be subject to an indefinite wait. | |
| Reads the current element and returns the following element. | |
| Puts a char_type in the stream. | |
| Puts a character into the stream. | |
| Puts a character string into the stream. | |
| Move past the current element in the stream. | |
| Gets a character from the stream. | |
| Exchanges the values in this object for the values in the provided basic_streambuf object parameter. | |
| A protected virtual function that tries to synchronize the controlled streams with any associated external streams. | |
| A protected virtual function that extracts the current element from the input stream. | |
| A protected virtual function that extracts the current element from the input stream. | |
| A protected virtual function that extracts elements from the input stream. | |
| A protected virtual function that inserts elements into the output stream. | 
Operators
| Assigns the values of this object from another basic_streambuf object. | 
See Also
Reference
Thread Safety in the Standard C++ Library
Change History
| Date | History | Reason | 
|---|---|---|
| January 2011 | Removed references to _Xsgetn_s ad _Sgetn_s, which have been removed from Visual C++. | Content bug fix. |