C++ Complementary Library
An opaque container I/O resource is an I/O resource that reads and writes from/to a container that it owns.
The type of content referenced by this opaque container I/O resource.
The type of element of the content referenced by this opaque container I/O resource.
Constructs an opaque container I/O resource with the given buffer capacity and a default-constructed content object.
The content that this opaque container I/O resource will reference.
The capacity of the I/O buffer. If this is zero, the opaque container I/O resource is completely unbuffered.
Constructs an opaque container I/O resource with the given initial content and buffer capacity.
The content that this opaque container I/O resource will reference.
The capacity of the I/O buffer. If this is zero, the opaque container I/O resource is completely unbuffered.
Constructs an opaque container I/O resource with the given initial content and buffer capacity.
The content that this opaque container I/O resource will reference.
The capacity of the I/O buffer. If this is zero, the opaque container I/O resource is completely unbuffered.
Copy-constructs an opaque_container_io_resource from an existing one.
The opaque_container_io_resource to copy from.
Copy-assigns an opaque_container_io_resource into this one.
The opaque_container_io_resource to copy from.
Move-constructs an opaque_container_io_resource from an existing one.
The opaque_container_io_resource to move from.
Move-assigns an opaque_container_io_resource into this one.
The opaque_container_io_resource to move from.
Returns true if this opaque container I/O resource is at the end of its referenced content. Otherwise, returns false.
Returns the position this opaque container I/O resource is at, that is, the position at which read and write operations will take place next.
Sets the position of this opaque container I/O resource.
The new position of this seekable I/o resource.
The reference that the new position is relative to.
Returns a non-constant reference to the referenced content.
Returns a constant reference to the referenced content.
Reads byte_count bytes from this opaque container I/O resource and places them in the provided data array.
The array into which the read bytes will be placed.
The number of bytes to read from this I/O resource.
The kind of read request that is being issued to this I/O resource.
Writes byte_count bytes from the data array to this opaque container output resource.
The array of bytes that will be written to this output resource.
The number of bytes to write to this output resource.
Copyright © 2022-2025 Daniel T. McGinnis