Forward declaration of basic_syncbuf.
Synopsis
Declared in <bslstl_syncbuf.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS = char_traits<CHAR_TYPE>,
class ALLOCATOR = allocator<CHAR_TYPE>>
class basic_syncbuf
: public std::basic_streambuf<CHAR_TYPE, CHAR_TRAITS>
, public BloombergLP::bslstl::SyncBufBase
Base Classes
Name |
Description |
|
The actual work of input and output (interface). |
Allocator‐independent base of |
Type Aliases
Name |
Description |
@{ This is a non‐standard type. |
|
Allocator type used by this stream buffer. |
|
Character type manipulated by this stream buffer. |
|
Integer type returned by stream operations. |
|
Offset type used by the character traits. |
|
Position type used by the character traits. |
|
Stream buffer type wrapped by this synchronized buffer. |
|
Character traits type used by this stream buffer. |
Member Functions
Name |
Description |
|
Constructors |
|
Call |
Call |
|
Atomically transfer any characters buffered by this object to the wrapped stream buffer, so that it appears in the output stream as a contiguous sequence of characters. The wrapped stream buffer is flushed if and only if a call was made to |
|
Return the allocator used to supply memory. |
|
Return the wrapped buffer supplied at construction. |
|
Locale access. |
|
Looking ahead into the stream. |
|
Entry point for imbue(). |
|
Alters the stream position. |
|
Alters the stream position. |
|
Entry points for derived buffer functions. |
|
Calls virtual sync function. |
|
Getting the next character. |
|
Call the |
|
Getting the next character. |
|
Entry point for xsgetn. |
|
Getting the next character. |
|
Pushing characters back into the input stream. |
|
Entry point for all single‐character output functions. |
|
Entry point for all single‐character output functions. |
|
Moving backwards in the input stream. |
|
Efficiently exchange the value of this object with the value of the specified |
Protected Member Functions
Name |
Description |
Access to the get area. |
|
Moving the read position. |
|
|
Changes translations. |
|
|
|
Tries to back up the input sequence. |
Access to the put area. |
|
Moving the write position. |
|
|
Alters the stream positions. |
|
Alters the stream positions. |
|
Manipulates the buffer. |
Setting the three read area pointers. |
|
Setting the three write area pointers. |
|
|
Investigating the data available. |
Request the wrapped streambuf flush on the next |
|
|
Fetches more data from the controlled sequence. |
|
Fetches more data from the controlled sequence. |
|
Multiple character extraction. |
|
Protected Data Members
Name |
Description |
Current locale setting. |
|
Start of get area. |
|
Current read area. |
|
End of get area. |
|
Start of put area. |
|
Current put area. |
|
End of put area. |