A buffer for a line to be generated.
More...
#include <linebuffer.h>
|
typedef std::set< std::string > | PostContents |
| Stores contents to be printed after the line.
|
|
|
void | output (const std::string &s) |
| Puts something in the buffer.
|
|
void | output_post (const std::string &s) |
| Stores something to be generated after the line.
|
|
const std::string | getContents () const |
|
const PostContents & | getPostContents () const |
|
bool | empty () const |
|
|
ostringstream | buffer |
| the line contents
|
|
PostContents | post |
| to be generated after the line
|
|
A buffer for a line to be generated.
◆ empty()
bool srchilite::LineBuffer::empty |
( |
| ) |
const |
|
inline |
- Returns
- whether both the buffer and the post line contens are empty
◆ getContents()
const std::string srchilite::LineBuffer::getContents |
( |
| ) |
const |
|
inline |
- Returns
- the contents of the buffer
◆ getPostContents()
const PostContents & srchilite::LineBuffer::getPostContents |
( |
| ) |
const |
|
inline |
- Returns
- what to generated after the line
The documentation for this class was generated from the following file: