|
Source-highlight Library
|
A buffer for a line to be generated. More...
#include <linebuffer.h>

Public Types | |
| typedef std::set< std::string > | PostContents |
| Stores contents to be printed after the line. | |
Public Member Functions | |
| 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 |
Private Attributes | |
| ostringstream | buffer |
| the line contents | |
| PostContents | post |
| to be generated after the line | |
A buffer for a line to be generated.
|
inline |
|
inline |
|
inline |