| Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for asio::basic_streambuf< Allocator >:

Public Types | |
| typedef implementation_defined | const_buffers_type |
| The type used to represent the get area as a list of buffers. | |
| typedef implementation_defined | mutable_buffers_type |
| The type used to represent the put area as a list of buffers. | |
Public Member Functions | |
| basic_streambuf (std::size_t max_size=(std::numeric_limits< std::size_t >::max)(), const Allocator &allocator=Allocator()) | |
| Construct a buffer with a specified maximum size. | |
| std::size_t | size () const |
| Return the size of the get area in characters. | |
| std::size_t | max_size () const |
| Return the maximum size of the buffer. | |
| const_buffers_type | data () const |
| Get a list of buffers that represents the get area. | |
| mutable_buffers_type | prepare (std::size_t size) |
| Get a list of buffers that represents the put area, with the given size. | |
| void | commit (std::size_t n) |
| Move the start of the put area by the specified number of characters. | |
| void | consume (std::size_t n) |
| Move the start of the get area by the specified number of characters. | |
| typedef implementation_defined asio::basic_streambuf< Allocator >::const_buffers_type |
The type used to represent the get area as a list of buffers.
| typedef implementation_defined asio::basic_streambuf< Allocator >::mutable_buffers_type |
The type used to represent the put area as a list of buffers.
| asio::basic_streambuf< Allocator >::basic_streambuf | ( | std::size_t | max_size = (std::numeric_limits<std::size_t>::max)(), |
|
| const Allocator & | allocator = Allocator() | |||
| ) | [explicit] |
Construct a buffer with a specified maximum size.
| std::size_t asio::basic_streambuf< Allocator >::size | ( | ) | const |
Return the size of the get area in characters.
| std::size_t asio::basic_streambuf< Allocator >::max_size | ( | ) | const |
Return the maximum size of the buffer.
| const_buffers_type asio::basic_streambuf< Allocator >::data | ( | ) | const |
Get a list of buffers that represents the get area.
| mutable_buffers_type asio::basic_streambuf< Allocator >::prepare | ( | std::size_t | size | ) |
Get a list of buffers that represents the put area, with the given size.
| void asio::basic_streambuf< Allocator >::commit | ( | std::size_t | n | ) |
Move the start of the put area by the specified number of characters.
| void asio::basic_streambuf< Allocator >::consume | ( | std::size_t | n | ) |
Move the start of the get area by the specified number of characters.