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 |
Move‐assign from the specified |
|
Atomically emit buffered characters to the wrapped stream buffer. |
|
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. |
|
Exchange the value of this object with |
Using Declarations
Name |
Description |
Return the currently imbued locale (inherited). |
|
Return how many characters are available in the get area (inherited). |
|
Imbue the stream buffer with a locale (inherited). |
|
Seek relative to a position in the sequence (inherited). |
|
Seek to an absolute position in the sequence (inherited). |
|
Associate a character buffer with this stream buffer (inherited). |
|
Synchronize the put and/or get area with the underlying sequence (inherited). |
|
Return the current get character and advance the get pointer (inherited). |
|
Return the current get character without advancing (inherited). |
|
Read a sequence of characters from the get area (inherited). |
|
Advance the get pointer and return the next character (inherited). |
|
Put a character back into the get area (inherited). |
|
Write a character to the put area (inherited). |
|
Write a sequence of characters to the put area (inherited). |
|
Move the get pointer back by one character (inherited). |
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 a 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. |
Protected Using Declarations
Name |
Description |
Return the start of the get area (inherited). |
|
Return the end of the get area (inherited). |
|
Return the end of the put area (inherited). |
|
Advance the get pointer by |
|
Return the current get pointer (inherited). |
|
Imbue this stream buffer with a locale (inherited). |
|
Assign from a base |
|
Put a character back into the get area, or fail (inherited). |
|
Return the start of the put area (inherited). |
|
Advance the put pointer by |
|
Return the current put pointer (inherited). |
|
Seek relative to a position in the controlled sequence (inherited). |
|
Seek to an absolute position in the controlled sequence (inherited). |
|
Set an external character buffer (inherited). |
|
Set the get area pointers (inherited). |
|
Set the put area pointers (inherited). |
|
Estimate how many characters can be extracted (inherited). |
|
Exchange this buffer with another |
|
Return the current get character and advance the get pointer (inherited). |
|
Return the current get character without advancing (inherited). |
|
Extract a sequence of characters from the get area (inherited). |