#include <Utilities/General/interface/DecoratedSB.h>
Public Types | |
typedef std::stringbuf | super |
Public Member Functions | |
DecoratedSB (std::streambuf *isb, const PRE &ipre, const POST &ipost) | |
Private Member Functions | |
virtual void | post (std::ostream &co) |
virtual void | pre (std::ostream &co) |
Private Attributes | |
POST | post_ |
PRE | pre_ |
Definition at line 31 of file DecoratedSB.h.
typedef std::stringbuf DecoratedSB< PRE, POST >::super |
DecoratedSB< PRE, POST >::DecoratedSB | ( | std::streambuf * | isb, | |
const PRE & | ipre, | |||
const POST & | ipost | |||
) | [inline] |
Definition at line 35 of file DecoratedSB.h.
00035 : 00036 BaseDecoratedSB(isb), pre_(ipre), post_(ipost){}
virtual void DecoratedSB< PRE, POST >::post | ( | std::ostream & | co | ) | [inline, private, virtual] |
Implements BaseDecoratedSB.
Definition at line 41 of file DecoratedSB.h.
References DecoratedSB< PRE, POST >::post_.
00041 { co<<post_;}
virtual void DecoratedSB< PRE, POST >::pre | ( | std::ostream & | co | ) | [inline, private, virtual] |
Implements BaseDecoratedSB.
Definition at line 40 of file DecoratedSB.h.
References DecoratedSB< PRE, POST >::pre_.
00040 { co<<pre_;}
POST DecoratedSB< PRE, POST >::post_ [private] |
PRE DecoratedSB< PRE, POST >::pre_ [private] |