* Does the buffer have room without adding a new #OutputBuffer block? * @return \c true if room is available, else \c false. */
| 128 | * @return \c true if room is available, else \c false. |
| 129 | */ |
| 130 | bool BufferHasRoom() const |
| 131 | { |
| 132 | size_t num_blocks = this->output_buffer.size(); |
| 133 | return num_blocks > 0 && this->output_buffer[num_blocks - 1].HasRoom(); |
| 134 | } |
| 135 | |
| 136 | typedef std::vector<OutputBuffer> OutputBufferVector; ///< Vector type for output buffers. |
| 137 | OutputBufferVector output_buffer; ///< Vector of blocks containing the stored output. |