12 #include <boost/shared_ptr.hpp>
68 return (buffer.str().size() == 0 && post.size() == 0);
A buffer for a line to be generated.
Definition: linebuffer.h:21
const PostContents & getPostContents() const
Definition: linebuffer.h:60
ostringstream buffer
the line contents
Definition: linebuffer.h:27
void output_post(const std::string &s)
Stores something to be generated after the line.
Definition: linebuffer.h:46
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
std::set< std::string > PostContents
Stores contents to be printed after the line.
Definition: linebuffer.h:24
boost::shared_ptr< LineBuffer > LineBufferPtr
shared pointer for LineBuffer
Definition: linebuffer.h:73
bool empty() const
Definition: linebuffer.h:67
void output(const std::string &s)
Puts something in the buffer.
Definition: linebuffer.h:39
const std::string getContents() const
Definition: linebuffer.h:53
PostContents post
to be generated after the line
Definition: linebuffer.h:28